Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

security-and-hardening

Skill by sickn33

Security and Hardening is a skill that guides an AI assistant through security-first development for web applications. It is for developers who handle user input, authentication, data storage, or external integrations.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install security-and-hardening

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/security-and-hardening ~/.claude/skills/security-and-hardening

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install security-and-hardening in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Security and Hardening is an agent skill, defined in a SKILL.md file, that tells an AI assistant to treat every external input as hostile and every authorization check as mandatory. It starts with a threat model: mapping trust boundaries, naming assets, running a STRIDE review, and writing abuse cases next to use cases. It then gives prevention patterns for injection, broken authentication, XSS, access control, security misconfiguration, sensitive data exposure, SSRF, input validation, and file uploads.

The skill sets clear rules, such as parameterizing database queries, hashing passwords, using httpOnly and secure cookies, and never committing secrets. Its code blocks are independent sketches rather than a complete tested server, so the source asks users to review code before running it. It is aimed at developers building features that accept untrusted data, manage sessions, or call third-party services. The source is licensed under MIT and comes from a community repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Threat modelingMaps trust boundaries and runs a STRIDE review before adding security controls.
  • Input validationShows schema validation at route handlers with an allowlist of accepted fields.
  • Injection preventionShows parameterized queries and ORM input instead of string concatenation.
  • Password and session setupCovers bcrypt hashing and secure session cookie settings with rotation and revocation.
  • XSS preventionCovers framework auto-escaping and sanitizing HTML with DOMPurify when HTML must render.
  • Access control checksShows ownership checks on resource updates so users cannot change other users' data.
  • SSRF defensesShows URL validation and private IP checks for server fetches driven by user input.
  • File upload safetyShows restricting upload types and sizes at the server boundary.

Try asking

  • Threat model my new file upload feature and list the abuse cases
  • Review this Express route for injection and broken access control
  • Check my session cookie and password hashing setup for security issues

Good to know

  • Code blocks are independent sketches, not a complete tested server.
  • A passing scanner or checklist is not treated as security certification.
  • The SSRF example still has a DNS rebinding gap and is not a complete defense.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/security-and-hardening/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md22 KB
  • references/security-checklist.md821 B

Alternatives to security-and-hardening

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

security-and-hardening: common questions

What does the security-and-hardening skill do?

It guides an AI assistant through threat modeling and prevention patterns for common web vulnerabilities. It covers input validation, authentication, XSS, access control, and SSRF.

Is the code in this skill ready to run?

No. The source says the code blocks are independent sketches with missing application imports and adapters. It asks users to review executable code before running it.

Who is this skill for?

It is for developers building features that accept untrusted data, manage user sessions, or interact with third-party services. The source says it applies to user input, authentication, data storage, and external integrations.

How do I install security-and-hardening?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is security-and-hardening free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is security-and-hardening safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to security-and-hardening?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

security-and-hardening Install

Add to stack

Loading.