
Security and hardening
Gives your coding agent a checklist to find and fix security flaws in code
Security and hardening is an open-source agent skill for security. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 13
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Security and hardening
This skill guides an AI coding agent through reviewing and hardening an implementation for security weaknesses. It walks through per-class rules covering injection, broken authentication, XSS, access control, misconfiguration, sensitive data exposure, CSRF and outbound TLS, and sets three tiers of behaviour: rules to always follow, changes that need human approval, and things never to do.
Beyond the rules, it includes a pre-commit style review checklist, a verification list to run after security-relevant changes, and a set of red flags to look for. Code patterns and deeper practices are split into reference files that the agent loads only when needed, covering schema validation, file upload and archive safety, ReDoS, dependency audit triage and SBOM generation, and guardrails for LLM features.
The skill assumes a Python-style web stack with a typed validation framework, an ORM and optional multi-tenant scoping, and it points to companion rule files that the surrounding project is expected to provide. It ships no scripts; its work is guidance and review carried out by the agent.
When your agent uses it
Find and fix vulnerabilities in code — input handling, auth, data storage, integrations. Use when asked to harden, secure, or security-review an implementation. Not for STRIDE enumeration (use threat-model) or a DAST scan (use zap-vapt-scanning).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 10 files (68 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kitOr copy only this skill to ~/.claude/skills/security-and-hardening:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-and-hardening &&
cp -R "$tmp/skills/security-and-hardening" ~/.claude/skills/security-and-hardening &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/security-and-hardening inside it instead.
Copy the skill folder to ~/.agents/skills/security-and-hardening to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-and-hardening &&
cp -R "$tmp/skills/security-and-hardening" ~/.agents/skills/security-and-hardening &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/security-and-hardening inside it instead.
Copy the skill folder to ~/.cursor/skills/security-and-hardening to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-and-hardening &&
cp -R "$tmp/skills/security-and-hardening" ~/.cursor/skills/security-and-hardening &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/security-and-hardening inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ajyadav013/claude-kit.git --path skills/security-and-hardeningOr copy the folder to ~/.gemini/skills/security-and-hardening yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/security-and-hardening:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-and-hardening &&
cp -R "$tmp/skills/security-and-hardening" ~/.copilot/skills/security-and-hardening &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/security-and-hardening inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ajyadav013/claude-kit.gitThen copy claude-kit/skills/security-and-hardening into your agent's skills folder as security-and-hardening. Agents that support SKILL.md read one folder per skill.
What it does
- Three-tier security rules
- Lists practices to always follow, changes needing human approval, and actions never to take.
- Per-class OWASP guidance
- Gives one rule for each OWASP Top 10 class, with deeper patterns in linked reference files.
- Input and upload hardening
- Covers schema validation at the boundary, file upload checks, archive extraction and ReDoS defenses.
- Dependency audit triage
- Explains how to prioritise CVE findings by severity and reachability and document deferrals.
- Security review checklist
- Provides a checklist for authentication, authorization, input, data, logging and infrastructure.
- LLM feature guardrails
- Offers opt-in input and output guardrails for AI features that call a model.
Good for
- Review my login endpoint for security weaknesses
- Harden the file upload handler against malicious archives
- Check my API for missing authorization on tenant data
- Audit my dependencies and triage the vulnerabilities found
- Make sure my cookies and CORS settings are secure
Security and hardening FAQ
Does Security and hardening run any scripts or tools?
No scripts are included. The skill gives the agent rules, checklists and reference patterns to apply during a review.
When does Security and hardening trigger?
It is meant for requests to harden, secure or security-review an implementation. It excludes STRIDE threat enumeration and DAST scanning, which belong to other skills.
Does Security and hardening cover AI or LLM features?
Yes, as an opt-in section covering prompt injection screening, output handling and tool least-privilege for features that call a model.
How do I install Security and hardening in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/security-and-hardening to use it in all your projects, or to .claude/skills/security-and-hardening in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.
Does Security and hardening run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Security and hardening?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Security and hardening?
The closest alternatives to Security and hardening are Security review, Security and hardening, Security review edho ferdian, Security review and Security.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ajyadav013/claude-kit

Guides an agent through pytest, async fixtures and security-regression tests for FastAPI
- Open source
- 13 GitHub stars
- Developer tools

Lets your agent inspect and debug live browser pages via Chrome DevTools MCP
- Open source
- 13 GitHub stars
- Browser automation

Runs concurrent load and stress tests against API endpoints to find latency and throughput
- Open source
- 13 GitHub stars
- Developer tools

Lets an agent click through a feature in a real browser and check how it behaves
- Open source
- 13 GitHub stars
- Developer tools

Runs quick health checks on backend, frontend and login to catch obvious breakage
- Open source
- 13 GitHub stars
- Developer tools

Guides an agent through red-green-refactor, bug reproduction tests and test pyramid
- Open source
- 13 GitHub stars
- Developer tools





