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.
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-hardeningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/security-and-hardening ~/.gemini/antigravity-cli/skills/security-and-hardeningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install security-and-hardening in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
