remediation-and-severity
Once a finding is triaged, the deliverable is a *fix the reader can act on*. This reference defines the severity scale, the dependency-fix strategy, and the secret-rotation playbook.
$ npx -y skills add vanara-agents/skills --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Once a finding is triaged, the deliverable is a *fix the reader can act on*. This reference defines the severity scale, the dependency-fix strategy, and the secret-rotation playbook.
Agent definition
remediation-and-severity.mdRemediation and Severity
Once a finding is triaged, the deliverable is a *fix the reader can act on*. This reference defines the severity scale, the dependency-fix strategy, and the secret-rotation playbook.
Severity scale
Use a single normalized scale across all scan families so the report is comparable:
| Severity | Meaning | Default action | |---|---|---| | `critical` | Reachable RCE, auth bypass, or active secret leak | Block release; fix now | | `high` | Serious impact, exploitable with moderate effort | Fix before release | | `medium` | Real but constrained (limited reach or impact) | Schedule next sprint | | `low` | Minor / hardening | Backlog | | `info` | Awareness only | No action required |
Final severity = scanner severity **adjusted by reachability and impact** (see [triage-and-false-positives](triage-and-false-positives.md)). Always show your adjustment reasoning.
Dependency remediation strategy
For every vulnerable dependency, state the fix version and whether it's breaking:
1. **Prefer the minimal bump that clears the CVE.** If `1.2.3 -> 1.2.4` fixes it, recommend that, not the latest 3.x. 2. **Label breaking vs. non-breaking** by semver distance and changelog. Crossing a major is breaking until proven otherwise. 3. **Transitive deps:** if you don't own the dependency directly, fix via the parent bump, or a lockfile override / resolution (`overrides` in npm, `resolutions` in yarn/pnpm) — and flag overrides as a temporary measure, not a permanent pin. 4. **Group breaking upgrades separately** under *plan* with a migration-risk note. Never bundle a risky major bump into a "quick fix" list. 5. **No fix available?** Document the mitigation (disable the feature, add input validation, network isolation) and mark for monitoring.
Fix-now bucket -> non-breaking bumps that clear critical/high, reachable
Plan bucket -> breaking upgrades, lower-severity, or coordinated changes
Accept/monitor -> no fix yet, or risk-accepted with justification
Secret remediation — rotation, not removal
A committed secret is compromised the moment it lands in a shared repo. The fix is always:
1. **Rotate first.** Issue a new credential at the provider and revoke the old one. Until this is done, the secret is live regardless of repo state. 2. **Remove from code.** Replace with an env var or secret-manager reference. 3. **Purge from history** if required (history rewrite or, more often, treat as exposed and rely on rotation — rewriting shared history is disruptive and incomplete if the repo was cloned/forked). 4. **Add prevention.** A pre-commit secret hook and a `.gitignore` entry so it doesn't recur.
> "Deleted the key in the latest commit" is **not** remediation. The credential is still valid at the > provider and still present in every prior commit, clone, and CI cache.
Writing the remediation line
Each finding's recommendation should be copy-pasteable and unambiguous:
lodash 4.17.15 -> 4.17.21 | high | non-breaking | prototype-pollution CVE-2020-8203, reachable in util/merge.js
AWS key in config/old.env | critical | rotate | revoke in IAM, replace with env var, add pre-commit hook
debug=true in prod config | medium | config | set debug=false; leaks stack traces to clients
Tie remediation effort to severity so the reader can plan: a *fix now* of ten non-breaking bumps is an afternoon; one breaking major in *plan* may be a sprint. Make that tradeoff visible.
Read more
Remediation and Severity
Once a finding is triaged, the deliverable is a *fix the reader can act on*. This reference defines the severity scale, the dependency-fix strategy, and the secret-rotation playbook.
Severity scale
Use a single normalized scale across all scan families so the report is comparable:
| Severity | Meaning | Default action | |---|---|---| | `critical` | Reachable RCE, auth bypass, or active secret leak | Block release; fix now | | `high` | Serious impact, exploitable with moderate effort | Fix before release | | `medium` | Real but constrained (limited reach or impact) | Schedule next sprint | | `low` | Minor / hardening | Backlog | | `info` | Awareness only | No action required |
Final severity = scanner severity **adjusted by reachability and impact** (see [triage-and-false-positives](triage-and-false-positives.md)). Always show your adjustment reasoning.
Dependency remediation strategy
For every vulnerable dependency, state the fix version and whether it's breaking:
1. **Prefer the minimal bump that clears the CVE.** If `1.2.3 -> 1.2.4` fixes it, recommend that, not the latest 3.x. 2. **Label breaking vs. non-breaking** by semver distance and changelog. Crossing a major is breaking until proven otherwise. 3. **Transitive deps:** if you don't own the dependency directly, fix via the parent bump, or a lockfile override / resolution (`overrides` in npm, `resolutions` in yarn/pnpm) — and flag overrides as a temporary measure, not a permanent pin. 4. **Group breaking upgrades separately** under *plan* with a migration-risk note. Never bundle a risky major bump into a "quick fix" list. 5. **No fix available?** Document the mitigation (disable the feature, add input validation, network isolation) and mark for monitoring.
Fix-now bucket -> non-breaking bumps that clear critical/high, reachable Plan bucket -> breaking upgrades, lower-severity, or coordinated changes Accept/monitor -> no fix yet, or risk-accepted with justification
Secret remediation — rotation, not removal
A committed secret is compromised the moment it lands in a shared repo. The fix is always:
1. **Rotate first.** Issue a new credential at the provider and revoke the old one. Until this is done, the secret is live regardless of repo state. 2. **Remove from code.** Replace with an env var or secret-manager reference. 3. **Purge from history** if required (history rewrite or, more often, treat as exposed and rely on rotation — rewriting shared history is disruptive and incomplete if the repo was cloned/forked). 4. **Add prevention.** A pre-commit secret hook and a `.gitignore` entry so it doesn't recur.
> "Deleted the key in the latest commit" is **not** remediation. The credential is still valid at the > provider and still present in every prior commit, clone, and CI cache.
Writing the remediation line
Each finding's recommendation should be copy-pasteable and unambiguous:
lodash 4.17.15 -> 4.17.21 | high | non-breaking | prototype-pollution CVE-2020-8203, reachable in util/merge.js AWS key in config/old.env | critical | rotate | revoke in IAM, replace with env var, add pre-commit hook debug=true in prod config | medium | config | set debug=false; leaks stack traces to clients
Tie remediation effort to severity so the reader can plan: a *fix now* of ten non-breaking bumps is an afternoon; one breaking major in *plan* may be a sprint. Make that tradeoff visible.
🐒 Free agents, skills & packs for Claude Code One subscription. An army of Claude Code agents. 30 production-grade agents, skills, and packs for Claude Code — free, Apache-2.0, install with one command.
Repo: vanara-agents/skills
Other agents on vanara-agents-skills.
- AGENT
Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing status codes, pagination, filtering, error envelopes, versioning, and idempotency. Produces a reviewable API contract plus an OpenAPI snippet, not
Open agent - review-notes
This shows how the api-designer agent reviews a flawed draft. Findings are severity-ranked so the implementer fixes the contract-breakers first. Severity legend: **CRITICAL** (breaks clients / data risk), **HIGH** (real bug or inconsistency), **MEDIUM** (maintainability),
Open agent - contract-and-openapi
The contract is the deliverable. Express it as an **OpenAPI 3.1** document so it is human-readable *and* machine-checkable. This reference covers how to structure that document and what `scripts/lint-openapi.mjs` enforces.
Open agent - design-checklist
Run through this before declaring an API contract done. It is ordered the way you should *design*: resources first, cross-cutting rules last. Every box is a place real APIs go wrong in production.
Open agent - versioning-and-evolution
APIs are forever once published: a consumer you've never met may depend on any field you expose. Design so you can **add without breaking**, and version explicitly when you must break.
Open agent - pr-comment-template
Copy-paste templates for leaving review comments. Keep each comment to one finding: an anchor, the problem, and the fix.
Open agent

