Skip to content
Skills Library
Security · Building & coding

security-remediation

/security-remediation

Fix confirmed security vulnerabilities safely — test-first, minimal, root-cause fixes that preserve functionality, with re-scans and before/after comparison. Use after an audit when the user asks to correct findings.

Licence
MIT
Last repository change
07.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Fix confirmed security vulnerabilities safely — test-first, minimal, root-cause fixes that preserve functionality, with re-scans and before/after comparison. Use after an audit when the user asks to correct findings.

Original author description

Fix confirmed security vulnerabilities safely — test-first, minimal, root-cause fixes that preserve functionality, with re-scans and before/after comparison. Use after an audit when the user asks to correct findings.

How it works

  1. Objectives
  2. Steps
  3. Security rules
  4. Validation criteria
Original SKILL.md headings · 45 lines, 346 words
SKILL.md preview
---
name: security-remediation
description: Fix confirmed security vulnerabilities safely — test-first, minimal, root-cause fixes that preserve functionality, with re-scans and before/after comparison. Use after an audit when the user asks to correct findings.
---

# Security remediation

Part of saas-blind-security — created and maintained by IbrahimCodeur.

## Objectives

- Remove the vulnerability at its root, prove it with a test, and break nothing else.
- Keep every unresolved issue visible.

## Steps

1. **Select** findings to fix with the user (by severity and effort). Confirm each is `CONFIRMED`; if not,
   verify first.
2. **Explain before changing**: problem, proposed fix, files affected, risks, rollback. Ask for approval on
   significant changes (auth flows, migrations, dependency majors, payment logic, deletions).
3. **Understand dependencies**: callers, tests, configuration, other tenants/roles affected. Search for the
   same pattern elsewhere — fix the class of bug, not one instance.
4. **Write a failing test** reproducing the vulnerability (unit, feature/integration or E2E). Examples:
   cross-tenant read returns 404; SQLi payload treated as data; forged webhook rejected; XSS payload escaped.
5. **Apply the minimal correct fix** using framework mechanisms (bindings, policies, validation, escaping,
   signature verification, CSPRNG, adaptive hashing). No unrelated refactors.
6. **Dependency fixes**: upgrade to the first fixed version compatible with constraints; read the changelog;
   run the full test suite; for majors, ask first.
7. **Run**: the new test, the full test suite, linters, and the scanners that reported the issue
   (`$SBS/scripts/security-check.sh --report`). Compare `findings.json` before/after.
8. **Check for regressions and new issues**: error messages, logging of sensitive data, performance of new
   queries, other roles' access.
9. **Document**: update the remediation plan (status, commit, test name), keep unfixed items with reason/owner.

## Security rules

- Never delete, skip or weaken tests, scanners, CI checks, auth/authorization, CSRF, validation or TLS checks
  to make something pass.
- Never add suppressions (`nosemgrep`, `.snyk` ignore, ZAP IGNORE) without a written justification approved
  by the user.
- Never mark an issue fixed without a passing verification.
- One logical fix per commit; message references the finding ID (e.g. `fix(SBS-004): scope invoice lookup by tenant`).

## Validation criteria

- [ ] A test fails before and passes after each fix.
- [ ] Full test suite passes; re-scan shows the finding gone and no new HIGH/CRITICAL.
- [ ] Remediation plan updated; open items still listed.

Versions

RepositoryScoreLicence
This page · IbrahimCodeur/saas-blind-security100MIT
aws-solutions/konductor100Apache-2.0

Database snapshot: 13.11.2026 · package version b464101fdc02 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95snyk-fix
    Complete security remediation workflow. Scans code for vulnerabilities using Snyk, fixes them, validates the fix, and optionally creates a PR. Supports both single-issue and batch mode for multiple vulnerabilities. Use this skill when: - User asks to fix security vulnerabilities…
  • 100security-audit
    Audit code and dependencies for security vulnerabilities. Use when reviewing PRs, checking dependencies, preparing for deployment, or when user mentions security, vulnerabilities, or audit.
  • 100remediation-validator
    Re-runs targeted scans after fixes to confirm vulnerabilities are resolved and detect regressions. Use for 'verify a fix', 'validate remediation', 'did my fix work', 're-scan after fixing', 'check for regressions after the patch'.
  • 100security-specialist
    Runs security audits on codebases — full scans, diff reviews, threat models, vulnerability triage, remediation guidance, and finding tracking. Activate when the user says "security scan", "audit this repo", "review this PR for security", "threat model", "triage vulnerabilities",…
  • 100owasp-top-10-web-vulnerabilities-remediation
    Use this skill when identify, remediate, and defend against the current OWASP Top 10 web application vulnerabilities.
  • 90security-fix-finding
    Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.