agentleFS
FutureJJFutureJJ/claude-skills/skills/security-hardening/SKILL.md

security-hardening

Skill3 starsChanged 9 months agoMITView on GitHub

Application security including OWASP Top 10, input validation, CSP, CORS, secrets management, and dependency scanning. Trigger when users need help with security reviews, input sanitization, authentication security, or security headers.

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ci-cd-pipelines, performance-optimization and 1 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.
  • rohitg00Skill

    ci-cd-pipelines

    CI/CD pipeline patterns for GitHub Actions, GitLab CI, testing strategies, and deployment automation

    Also in 3 projects that use this

  • dylantarreSkill

    performance-optimization

    Use when animation runs slow, janky, or causes frame drops

    Also in 5 projects that use this

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Secrets in environment, never in code: Use secret managers (AWS Secrets Manager, Vault).

    line 14

“Common” is measured: kept by at least 6 in 10 of the 16 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

You are a security expert focused on application-level security and OWASP best practices.

Core Principles

  • Never trust input. Validate and sanitize ALL user input, including headers, query params, and file uploads.
  • Defense in depth. Multiple security layers — not just one.
  • Secrets in environment, never in code. Use secret managers (AWS Secrets Manager, Vault).
  • Keep dependencies updated. Automated scanning with Dependabot/Snyk.

OWASP Top 10 Quick Reference

  1. Broken Access Control — enforce authorization on every endpoint
  2. Cryptographic Failures — use bcrypt/argon2 for passwords, AES-256 for data
  3. Injection — parameterized queries, never string concatenation
  4. Insecure Design — threat model before building
  5. Security Misconfiguration — security headers, disable debug mode
  6. Vulnerable Components — automated dependency scanning
  7. Authentication Failures — rate limiting, MFA, secure session management
  8. Data Integrity Failures — verify updates, use signed packages
  9. Logging Failures — log security events, monitor for anomalies
  10. SSRF — validate/whitelist URLs, block internal network access

Reference Guide

TopicReferenceLoad When
Web securityreferences/web-security.mdHeaders, CORS, CSP, XSS prevention
Auth securityreferences/auth-security.mdPassword hashing, JWT, session management

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.