agentleFS
tanbopptanbopp/ai-development-framework/.agents/skills/security-hardening/SKILL.md

security-hardening

Skill1 starsChanged 19 days agoMITView on GitHub

Enforces the OWASP Top 10 security checklist (input validation, server-side auth/IDOR checks, secrets hygiene, XSS sanitization, injection prevention) before delivery or commit. Use in Phase 7 (Audit) and pre-commit.

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use data-engineering, observability and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • travisjneumanSkill

    data-engineering

    ETL/ELT pipelines, data warehousing (BigQuery, Snowflake, Redshift), stream processing (Kafka, Spark Streaming), orchestration (Airflow, Dagster, Prefect), dbt transformations, and data lake architecture. Use when building data pipelines, designing warehouse schemas, or implementing real-time data processing.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 6 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 5 projects that use this

  • barisariburnuSkill

    performance-optimization

    Complete performance optimization guide for Next.js applications including frontend, backend, database, caching, and general optimization strategies. Use when improving performance, reducing bundle size, optimizing queries, or implementing caching.

    Also in 6 projects that use this

  • GitHubSkill

    accessibility-audit

    Audits actual components and routes against applicable WCAG 2.2 A/AA criteria using consumer-owned design-system evidence and repository tools. Use when asked for an accessibility audit, a11y check, keyboard or focus review, contrast check, or screen-reader verification.

    Also in 4 projects that use this

  • jarosser06Skill

    test-strategy

    Plans pytest test strategies for Drift's 90%+ coverage requirement using coverage analysis, edge case identification, and test suite design. Use when determining what tests to write, analyzing coverage gaps, or planning test strategies.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 0

    Distinctive

    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
  1. Very specific:

    Read .agents/skills/security-hardening/references/owasp-checklist.md and …

    line 14
  2. Very specific:

    If semgrep-mcp is available, run it as a supplementary static scan (sast-scanner) and resolve all findings before passing.

    line 16

“Common” is measured: kept by at least 6 in 10 of the 28 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Security Hardening

Trigger

Phase 7 (Audit) and before running git commit (paired with code-quality-gate and optional semgrep-mcp).

Process

  1. Read .agents/skills/security-hardening/references/owasp-checklist.md and .agents/skills/security-hardening/references/secure-coding-rules.md (Project CodeGuard baseline) on-demand for full trust-boundary validation, IDOR checks, cryptography, secrets hygiene, supply chain, and header safety rules.
  2. Audit all application routes, handlers, Server Actions, database calls, UI templates, and configuration against every item in references/owasp-checklist.md, references/secure-coding-rules.md, and docs/project/THREAT_MODEL.md.
  3. If semgrep-mcp is available, run it as a supplementary static scan (sast-scanner) and resolve all findings before passing.
  4. Reject delivery or commit until every security issue has been remediated and verified.

Output Contract

A pass/fail OWASP security audit report listing verified controls and any file:line findings resolved before delivery or commit.

Checklist

  • Read .agents/skills/security-hardening/references/owasp-checklist.md and references/secure-coding-rules.md
  • All trust-boundary inputs validated with strict schema checks
  • Server-side auth and ownership checks verified on every protected route/action
  • Zero hardcoded secrets, raw SQL/HTML interpolation, or leaked error traces

Prohibitions

  • Trusting client-supplied user IDs, roles, or prices without server verification.
  • Disabling CORS, TLS, auth checks, or validation to make a test pass.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.