security-remediation
Skill18 starsChanged 3 months agoMITView on GitHub
Apply minimal defensive patches for confirmed findings and verify with re-audit — post-triage only.
- Pipes a download into a shell
2 other projects use a version of this.
Adopted by
Most recently taken up by
- aws-solutions/konductortheir own version, first seen Sep 23, 2026
- mehuldil/ai_sdlc_platformtheir own version, first seen Apr 24, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- aws-solutions/konductor★ 9same name
- mehuldil/ai_sdlc_platform★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
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-preshipSkill
- 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-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
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
After /axguard-triage (or equivalent) produced a Keep list
- Very specific: line 38
When the user asks to patch AXguard-confirmed bugs
- Distinctive: line 66
Add or adjust tests that treat malicious strings as data, not as instructions to exploit third parties.
- Distinctive: line 79
Do not “fix” by:
- Distinctive: line 104
Update report with fixed vs open counts.
- Distinctive: line 125
No exploit procedures included.
≈ “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
Security Remediation
Purpose
Drive confirmed-finding fixes: minimal diffs, critical first, then prove the issue is gone via re-scan and targeted review. Complements orchestration skill axguard-remediate / /axguard-fix.
When to Use
- After
/axguard-triage(or equivalent) produced a Keep list - When the user asks to patch AXguard-confirmed bugs
- Hotfix for secrets, RCE sinks, auth bypass
When Not to Use
- Fixing untriaged scanner noise (triage first)
- Adding exploit PoCs “to demonstrate” the bug
- Broad refactors unrelated to the confirmed sink
Security Concepts
Remediation closes the missing control on a validated source→sink path: parameterize, authorize, allowlist, remove secret, disable debug, constrain agent tools. Prefer the smallest change that removes exploitability without inventing new surfaces.
Threat Model
Bad remediation risks:
- Cosmetic fixes that leave the sink reachable.
- New bugs from rushed patches (e.g. broken auth checks).
- Secret “removed” from file but not rotated / still in git history.
Analysis Workflow
- Input: Keep list from
security-triage/axguard-triagewith locations and confidence. - Order: critical → high → medium; secrets and RCE first.
- For each item, open the domain skill (e.g.
sql-injection,secrets-detection,ai-agent-security) and apply its Remediation guidance. - Patch minimally: bind parameters, add authZ, allowlist hosts, load secrets from a manager, remove
shell=True, pin deps, etc. - For secrets: rotate at provider first, then remove from tree/history as needed; never paste live secrets into chat.
- Add or adjust tests that treat malicious strings as data, not as instructions to exploit third parties.
- Re-run
axguard audit/ relevant/axguard-*command; record delta (fixed / remaining / new). - Hand residual issues back to triage or
/axguard-report.
Evidence Requirements
- Finding ID + pre-fix evidence pointer
- Patch locations (files)
- Post-fix scan result
- For secrets: rotation confirmation (without secret values)
False Positive Controls
Do not “fix” by:
- Deleting the rule or blanketing
# nosecwithout justifying safety - Moving vulnerable code to an unscanned path
- Marking resolved while the sink remains
Remediation
Pattern catalog (defensive):
| Class | Prefer |
| SQLi | Bound parameters; allowlist identifiers |
| SSRF | Allowlist hosts; block link-local/metadata |
| Secrets | Rotate + env/secret manager |
| XSS | Context-aware encoding / safe APIs |
| Agent/MCP | Typed tools; no exec of model text |
| Supply | Pin + verify; drop curl|sh |
| Debug | Force safe prod defaults |
Verification
axguard auditclean for that rule id (or explained residual).- Manual confirmation the data flow no longer reaches an unsafe sink.
- Regression tests green.
- Update report with fixed vs open counts.
Related Skills
Orchestration: axguard-remediate, axguard-triage, axguard-audit, axguard-report.
Domain skills supply per-class fix patterns.
Framework Mapping
Operational skill — inherit CWE/OWASP IDs from the finding’s domain skill when reporting.
References
- AXGuard
axguard-remediate/SKILL.md - https://owasp.org/www-project-cheat-sheets/ (methodology; no large verbatim copies)
- Remediation sections in the domain skills
Research Provenance
Primary: AXGuard remediate/fix orchestration and domain skill remediations (2026-09-15).
Secondary: OWASP CheatSheetSeries methodology themes (CC-BY-SA-4.0; no sheet dumps).
No exploit procedures included.
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.

