Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Security Remediation

BSecurity

Apply minimal defensive patches for confirmed findings and verify with re-audit — post-triage only.

15 stars
0 votes
0 copies
0 views
Added 9/22/2026
securitygoshellsqlgitapisecurity

Works with

apimcp

Security Analysis

B75/100
criticalPipes output to a shell interpreter

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add awarexone/AXguard --skill security-remediation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Remediation?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Security Remediation
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/awarexone-security-remediation/badge)](https://www.skillsdirectory.com/skills/awarexone-security-remediation)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: security-remediation
description: Apply minimal defensive patches for confirmed findings and verify with re-audit — post-triage only.
version: "1.0.0"
author: AwareXone
license: MIT
domain: operations
subcategory: remediation
tags: [remediation, patch, verification, re-audit]
frameworks:
  cwe: []
  owasp_top10: []
  owasp_api_top10: []
  owasp_llm_top10: []
  owasp_wstg: []
  owasp_asvs: []
  mitre_attack: []
  mitre_atlas: []
  nist_csf: []
  nist_ai_rmf: []
related_skills: [security-triage, axguard-remediate, axguard-triage, axguard-audit]
related_commands: [/axguard-fix, /axguard-triage, /axguard-audit, /axguard-report]
related_rules: []
references:
  - https://owasp.org/www-project-cheat-sheets/
last_reviewed: "2026-09-15"
---

# 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:

1. Cosmetic fixes that leave the sink reachable.
2. New bugs from rushed patches (e.g. broken auth checks).
3. Secret “removed” from file but not rotated / still in git history.

## Analysis Workflow

1. Input: Keep list from `security-triage` / `axguard-triage` with locations and confidence.
2. Order: critical → high → medium; secrets and RCE first.
3. For each item, open the domain skill (e.g. `sql-injection`, `secrets-detection`, `ai-agent-security`) and apply its Remediation guidance.
4. Patch minimally: bind parameters, add authZ, allowlist hosts, load secrets from a manager, remove `shell=True`, pin deps, etc.
5. For secrets: **rotate at provider first**, then remove from tree/history as needed; never paste live secrets into chat.
6. Add or adjust tests that treat malicious strings as **data**, not as instructions to exploit third parties.
7. Re-run `axguard audit` / relevant `/axguard-*` command; record delta (fixed / remaining / new).
8. 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 `# nosec` without 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

1. `axguard audit` clean for that rule id (or explained residual).
2. Manual confirmation the data flow no longer reaches an unsafe sink.
3. Regression tests green.
4. 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.

Attribution

awarexoneawarexone
View sourceMore from awarexone →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Springboot Security

Java Spring Boot 服务中关于身份验证/授权、验证、CSRF、密钥、标头、速率限制和依赖安全的 Spring Security 最佳实践。

2456590 votes

Security Review

Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.

2456590 votes

Paperclip Task Bridge

Create, comment on, update, and list Paperclip tasks from Hermes using scoped Paperclip API credentials.

805540 votes

Summarize Status

Write a short, colloquial summary for a Paperclip summary slot: open with the 1–3 specific, concrete actions the reader needs to take right now to unblock the work, then a brief plain-language status, streaming progress as it works.

805540 votes

Paperclip Evals

Choose, inspect, validate, and report Paperclip Runner or Product E2E evaluations while preserving evidence, provenance, cost, and failure classification.

805540 votes
View all in security →