axguard-preship
Skill18 starsChanged 3 months agoMITView on GitHub
Pre-ship security review checklist for the current repository. Use for focused release reviews covering auth, SQL/injection/SSTI, path, SSRF, XSS, uploads, GraphQL, crypto, secrets, cloud, supply chain, debug, and agent risks when a full /axguard-audit is not requested.
- Pipes a download into a shell
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-agent-securitySkill
- ai-application-securitySkill
- api-securitySkill
- attack-surface-mappingSkill
- authentication-analysisSkill
- authorization-analysisSkill
- axguard-auditSkill
- axguard-csoSkill
- axguard-knowledgeSkill
- axguard-remediateSkill
- axguard-reportSkill
- axguard-securitySkill
- axguard-triageSkill
- cloud-securitySkill
- command-injectionSkill
- configuration-securitySkill
- deserialization-securitySkill
- file-upload-securitySkill
- graphql-securitySkill
- jwt-securitySkill
- mcp-securitySkill
- oauth-securitySkill
- path-traversalSkill
- prompt-injectionSkill
- prototype-pollutionSkill
- secrets-detectionSkill
- security-architecture-reviewSkill
- security-remediationSkill
- security-triageSkill
- session-securitySkill
- sql-injectionSkill
- ssrf-analysisSkill
- ssti-analysisSkill
- supply-chain-securitySkill
- threat-modelingSkill
- websocket-securitySkill
- xss-analysisSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Run when CLI available:
- Distinctive: line 23
Verify each high/critical lead (source → sink → missing control).
- Distinctive: line 62
Keep: missing control on a reachable ship path, even if “exploit steps” are incomplete — state impact + fix.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AXguard — Pre-ship Review
Ship-blocking review. Prefer real bugs over volume. Defensive static review only.
Load axguard-knowledge when a class needs root-cause / fix depth.
Workflow
- Map surface: routes, APIs, auth boundaries, outbound HTTP, file/exec sinks, HTML sinks, upload handlers, GraphQL, CI/cloud, agent tools, debug flags.
- Run when CLI available:
axguard scan .
# shareable reports:
axguard audit . --out-dir .findings/axguard- Verify each high/critical lead (source → sink → missing control).
- Report only issues you can defend with file:line.
Priority (ship blockers first)
| # | Class | CWE / OWASP | Static sniff |
| 1 | AuthZ / IDOR | CWE-639, A01 | get-by-id without ownership/tenant |
| 2 | RCE / cmd / deser / eval | CWE-78/94/502, A03 | shell=True, pickle, eval, unserialize |
| 3 | SQLi / SSTI | CWE-89/1336 | string-built SQL; render_template_string |
| 4 | SSRF (esp. metadata) | CWE-918, A10 | variable URL → fetch/requests; 169.254.169.254 |
| 5 | Secrets in tree/artifacts | CWE-798 | AWS keys, PEM, PATs, hardcoded API secrets |
| 6 | Path traversal / LFI | CWE-22/98 | open(join), sendFile(user), include($var) |
| 7 | XSS on high-value pages | CWE-79 | innerHTML / dangerouslySetInnerHTML + user data |
| 8 | JWT / CSRF footguns | CWE-347/352 | alg=none, decode w/o verify, csrf=False |
| 9 | Upload RCE path | CWE-434 | original filename; multer.any; webroot writes |
| 10 | Crypto / TLS misuse | CWE-321/328/295 | hard-coded keys, MD5 passwords, verify=False |
| 11 | CORS / cloud ACL | CWE-942/284 | * + credentials; public-read buckets |
| 12 | GraphQL exposure | CWE-200/352 | prod introspection; CSRF off |
| 13 | Supply / CI | CWE-494/506 | curl|sh; extra-index; shady postinstall |
| 14 | Debug in prod path | CWE-489/209 | DEBUG=True; stack traces; open actuators |
| 15 | Agent tool abuse | LLM01/LLM06 | exec model output; unrestricted shell tool |
Fast pass (15–30 min)
- Auth on every object-id route; admin gated
- No string-built SQL / shell / pickle on request data
- Outbound URL allowlisted if user-influenced
- No secrets in source, images, or CI logs
- Client sinks not fed raw user HTML
- Uploads renamed + type-checked + non-executable storage
- Prod: DEBUG off, introspection off, TLS verify on
- Agent tools allowlisted; no blind shell-from-LLM
- Lockfiles present; no curl|sh install in ship path
False-positive discipline
Drop: tests/fixtures (unless those ship), constant-only sinks, verified mitigations on the same path, docs examples that never build.
Keep: missing control on a reachable ship path, even if “exploit steps” are incomplete — state impact + fix.
Output format
Title:
Severity:
CWE / OWASP:
Location:
Why it matters:
Evidence:
Fix:
Ship blocker? (Y/N)End with: blocker count, non-blocker count, recommended next (/axguard-triage, /axguard-fix, or full /axguard-audit).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

