Security And Hardening
penpot/penpot
Hardens code against vulnerabilities. An agent skill from penpot/penpot.
Reviews code for security vulnerabilities and guides secure implementation using OWASP Top 10:2025, ASVS 5.0, the OWASP Top 10 for LLM Applications (2026), and the OWASP Top 10 for Agentic…
$ npx skills add agamm/claude-code-owasp --skill owasp-security -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agamm/claude-code-owasp owasp-security --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/agamm/claude-code-owasp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/owasp-security .claude/skills/owasp-security && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "owasp-security" agent skill from https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-security into .claude/skills/owasp-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "owasp-security", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-securityType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agamm/claude-code-owasp --skill owasp-security -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agamm/claude-code-owasp owasp-security --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agamm/claude-code-owasp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/owasp-security .agents/skills/owasp-security && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "owasp-security" agent skill from https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-security into .agents/skills/owasp-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "owasp-security", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agamm/claude-code-owasp --skill owasp-security -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agamm/claude-code-owasp owasp-security --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agamm/claude-code-owasp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/owasp-security .cursor/skills/owasp-security && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "owasp-security" agent skill from https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-security into .cursor/skills/owasp-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "owasp-security", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agamm/claude-code-owasp.git --path .claude/skills/owasp-security--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agamm/claude-code-owasp --skill owasp-security -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agamm/claude-code-owasp owasp-security --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agamm/claude-code-owasp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/owasp-security .gemini/skills/owasp-security && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "owasp-security" agent skill from https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-security into .gemini/skills/owasp-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "owasp-security", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agamm/claude-code-owasp owasp-securityInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agamm/claude-code-owasp --skill owasp-security -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agamm/claude-code-owasp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/owasp-security .github/skills/owasp-security && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "owasp-security" agent skill from https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-security into .github/skills/owasp-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "owasp-security", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agamm/claude-code-owasp --skill owasp-security -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agamm/claude-code-owasp owasp-security --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agamm/claude-code-owasp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/owasp-security .opencode/skills/owasp-security && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "owasp-security" agent skill from https://github.com/agamm/claude-code-owasp/tree/main/.claude/skills/owasp-security into .opencode/skills/owasp-security/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "owasp-security", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
owasp-securityReviews code for security vulnerabilities and guides secure implementation using OWASP Top 10:2025, ASVS 5.0, the OWASP Top 10 for LLM Applications (2026), and the OWASP Top 10 for Agentic…
Owasp Security is an agent skill from agamm/claude-code-owasp. Reviews code for security vulnerabilities and guides secure implementation using OWASP Top 10:2025, ASVS 5.0, the OWASP Top 10 for LLM Applications (2026), and the OWASP Top 10 for Agentic Applications (2026). Use when reviewing code or a diff for security issues, implementing authentication, authorization, sessions, or cryptography, handling untrusted input, files, or URLs, hardening config, dependencies, or CI, or building LLM and AI agent features.
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `reference/config-and-supply-chain.md`, `reference/languages.md` and `reference/owasp-report.md`).
It sits in Security, covering Web application vulnerabilities. The repository describes itself as: Claude Code skill for OWASP security best practices (2025-2026). Includes Top 10:2025, ASVS 5.0, Agentic AI security, and 20+ language-specific security quirks. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8ac7965. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Owasp Security loads about 3.5k tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 1,669 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from agamm/claude-code-owasp at commit 8ac7965, republished under its MIT licence (© agamm). 1,669 words, ~3,509 tokens.
.claude/skills/owasp-security/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Apply these standards when writing or reviewing code. For a review, follow the workflow below.
Reference files (read the one the task needs, and only the section you need):
reference/review-checklist.md: coverage checklist for every Top 10 category, plus LLM and agent checks. Read during step 3 of a review.reference/languages.md: per-language pitfalls with unsafe/safe examples for 20+ languages. Read the section for the language under review.reference/config-and-supply-chain.md: A02 and A03 in Dockerfiles, Kubernetes, Terraform, framework config, security headers, lockfiles, and CI/CD. Read when the change touches config, IaC, dependencies, or pipelines.reference/owasp-report.md: attack vectors, mitigations, and worked examples for every Top 10:2025, ASVS 5.0, LLM Top 10, and Agentic item. About 1100 lines: jump to the section you need.Copy this checklist into your response and tick it off as you go:
Security Review Progress:
- [ ] Step 1: Map entry points and trust boundaries
- [ ] Step 2: Load the references this code needs
- [ ] Step 3: Sweep for candidate issues
- [ ] Step 4: Triage every candidate
- [ ] Step 5: Report findingsStep 1: Map entry points and trust boundaries. List where attacker-controlled data enters: routes and handlers, headers and cookies, uploads, webhooks, queue consumers, CLI arguments, third-party API responses, and anything an LLM reads or returns. Note where authentication and authorization are enforced; it is often centralized in middleware rather than per route.
Step 2: Load the references this code needs. The language section of languages.md;
config-and-supply-chain.md if config, IaC, dependencies, or CI changed; the LLM and Agentic
sections of owasp-report.md if the code calls a model or runs an agent.
Step 3: Sweep for candidate issues. Walk review-checklist.md for the categories the code
touches. For each candidate, trace the path from an entry point in step 1 to the sink.
Step 4: Triage every candidate with the rubric in "Before Reporting a Finding" below. Drop candidates that fail it, or downgrade them to defense-in-depth. If a candidate's reachability is unclear, go back to step 1 for that input before deciding.
Step 5: Report findings in the format below, highest severity first.
A pattern match is not a vulnerability. The most common failure mode in automated security review is reporting unreachable or already-mitigated code, which buries the real findings. Confirm all four before reporting:
middleware.ts, proxy.ts, Express/Django/Rails middleware, a base controller,
decorators) before flagging a route as missing authorization. Enforcement is often
centralized rather than per-route.Report severity by exploitability, not by pattern. State the concrete path (this input reaches this sink) and say so explicitly when a finding is theoretical or defense-in-depth rather than directly exploitable. If reachability can't be determined from the code available, say that instead of asserting either way.
One block per finding, highest severity first:
[SEVERITY] Title (CWE-###, OWASP A##:2025, LLM## Risk Name, ASI## Risk Name)
Location: path/to/file.ext:LINE
Path: <entry point> -> <intermediate hops> -> <sink>
Impact: who can trigger it, what they get, which trust boundary it crosses
Fix: the concrete change, with a code snippet when it isn't obvious
Confidence: Confirmed | Likely | Needs verification (say what you couldn't see)Write every LLM and ASI ID with its risk name, e.g. "LLM03 Excessive Agency". A bare LLM ID is ambiguous: the 2025 and 2026 editions use the same numbers for different risks.
| Severity | Meaning |
|---|---|
| Critical | Unauthenticated remote code execution, auth bypass, or mass data exposure |
| High | Authenticated exploitation crossing a trust boundary (IDOR into other tenants, SQLi behind login) |
| Medium | Needs unusual preconditions, or impact is limited to the attacker's own data |
| Low | Defense-in-depth gap with no demonstrated exploit path |
| Info | Hardening suggestion; say plainly that it is not a vulnerability |
If the review finds nothing exploitable, say so directly. Do not pad the report with Info items to look thorough; a long list is what makes real findings get ignored.
Three categories were renamed from 2021 and two are new (A03, A10). Use these names and numbers; much OWASP material online still cites the 2021 list.
| # | Category | Key Prevention |
|---|---|---|
| A01 | Broken Access Control (now includes SSRF) | Deny by default, enforce server-side, verify ownership |
| A02 | Security Misconfiguration | Harden configs, disable defaults, minimize features |
| A03 | Software Supply Chain Failures | Lock versions, verify integrity, audit dependencies |
| A04 | Cryptographic Failures | TLS 1.2+, AES-256-GCM, Argon2/bcrypt for passwords |
| A05 | Injection | Parameterized queries, input validation, safe APIs |
| A06 | Insecure Design | Threat model, rate limit, design security controls |
| A07 | Authentication Failures | MFA, check breached passwords, secure sessions |
| A08 | Software or Data Integrity Failures | Sign packages, SRI for CDN, safe serialization |
| A09 | Security Logging and Alerting Failures | Log security events, structured format, alerting |
| A10 | Mishandling of Exceptional Conditions | Fail-closed, hide internals, log with context |
For applications that call LLMs (chatbots, RAG, copilots, agents). The 2026 edition renumbered
the list; translate 2025 IDs with the table in owasp-report.md and cite 2026 IDs only.
| # | Risk | Key Mitigation |
|---|---|---|
| LLM01 | Prompt Injection | No complete fix exists. Fence untrusted content (including images, audio, tool output), keep privileges out of the model's reach, filter outputs |
| LLM02 | Sensitive Information Disclosure | Sanitize training/RAG data, strip PII from context, restrict what the model can retrieve per user |
| LLM03 | Excessive Agency | Minimize tools and permissions, require human approval for destructive actions, scope credentials per task |
| LLM04 | Supply Chain | Verify model provenance and signatures, vet third-party model hubs, lock model + adapter versions |
| LLM05 | Data and Model Poisoning | Validate training/fine-tuning sources, anomaly-detect on data ingestion, hold-out integrity tests |
| LLM06 | Unbounded Consumption | Rate-limit per user/key, cap tokens and tool calls per request, monitor cost, set hard timeouts |
| LLM07 | Misinformation | Cite sources, surface confidence, require grounding for high-stakes answers, disclose AI provenance |
| LLM08 | Hidden Context Exposure | Assume the system prompt, tool schemas, and other hidden context are extractable: no secrets there, and no authorization or policy that relies on them staying hidden |
| LLM09 | Vector and Embedding Weaknesses | Tenant-isolate vector stores, access-control on retrieval, sign or hash chunks against indirect prompt injection |
| LLM10 | Improper Output Handling | Treat all LLM output, including generated code, as untrusted input: validate, escape, or sandbox before any sink (SQL, shell, HTML, code, tool calls) |
For AI agent systems that plan, call tools, or keep memory:
| Risk | Description | Mitigation |
|---|---|---|
| ASI01: Agent Goal Hijack | Prompt injection alters agent objectives | Treat tool and retrieved content as data, goal boundaries, behavioral monitoring |
| ASI02: Tool Misuse & Exploitation | Tools used in unintended ways | Least privilege, fine-grained permissions, validate I/O |
| ASI03: Identity & Privilege Abuse | Delegated trust, inherited credentials, role chain exploits | Short-lived scoped tokens, identity verification |
| ASI04: Agentic Supply Chain Vulnerabilities | Compromised plugins/MCP servers | Verify signatures, sandbox, allowlist plugins |
| ASI05: Unexpected Code Execution | Unsafe code generation/execution | Sandbox execution, static analysis, human approval |
| ASI06: Memory & Context Poisoning | Corrupted RAG/context data | Validate stored content, segment by trust level |
| ASI07: Insecure Inter-Agent Communication | Spoofing/intercepting agent-to-agent messages | Authenticate, encrypt, verify message integrity |
| ASI08: Cascading Failures | Errors propagate across systems | Circuit breakers, graceful degradation, isolation |
| ASI09: Human-Agent Trust Exploitation | Over-trust in agents leveraged to manipulate users | Label AI content, user education, verification steps |
| ASI10: Rogue Agents | Compromised agents acting maliciously | Behavior monitoring, kill switches, anomaly detection |
ASVS 5.0 (May 2025) renumbered and reorganized every chapter. 4.0 requirement IDs do not
map to 5.0 — V2.1.1 meant "password length" in 4.0 and means something else now. Cite
5.0 IDs only. Levels are defined by share of requirements, not by application category:
| Level | Share | Intent |
|---|---|---|
| L1 | ~20% | Minimum bar; deliberately small to lower the barrier to entry |
| L2 | ~50% (≈70% cumulative) | What most applications should target |
| L3 | remaining ~30% | Highest assurance |
root/admin/sa (6.3.2)eval() and dynamic code execution (1.3.2)ASVS 5.0 has 92 L3 requirements; they are not enumerated here. Two worth knowing because they tighten an L2 requirement rather than adding a new one:
For an actual L3 assessment, work from the standard itself — see
reference/owasp-report.md for the chapter map.
© agamm, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in .claude/skills/owasp-security of agamm/claude-code-owasp.
Open the folder on GitHubat commit 8ac7965
Owasp Security next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Owasp Security this skillagamm/claude-code-owasp | 377 | — | ~3.5k | Automated safety check: Pass | MIT | |
| Security And Hardeningpenpot/penpot | 61k | 6 repos | ~4.7k | Automated safety check: Notes | MPL-2.0 | |
| Security Auditoreigent-ai/eigent | 15k | — | ~1.8k | Automated safety check: Notes | Apache-2.0 | |
| Security Reviewjewbetcha/opentrace | 116 | 18 repos | ~3.1k | Automated safety check: Notes | MIT | |
| Strix Code Vulnerability Scanusestrix/strix | 67k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Code Audit3stoneBrother/code-audit | 893 | 1 repos | ~2.7k | Automated safety check: Pass | None |
penpot/penpot
Hardens code against vulnerabilities. An agent skill from penpot/penpot.
eigent-ai/eigent
Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.
jewbetcha/opentrace
A skill your agent uses when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features.
usestrix/strix
Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.
3stoneBrother/code-audit
Professional code security audit skill covering 55+ vulnerability types.
usestrix/strix
Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.
Categories
Reviews code for security vulnerabilities and guides secure implementation using OWASP Top 10:2025, ASVS 5.0, the OWASP Top 10 for LLM Applications (2026), and the OWASP Top 10 for Agentic…. Owasp Security is an agent skill from agamm/claude-code-owasp.0, the OWASP Top 10 for LLM Applications (2026), and the OWASP Top 10 for Agentic Applications (2026).
Owasp Security fits situations like: A diff for security issues; implementing authentication; handling untrusted input; hardening config.
Run `npx skills add agamm/claude-code-owasp --skill owasp-security -a claude-code`. Or copy the skill folder (.claude/skills/owasp-security in agamm/claude-code-owasp) into .claude/skills/owasp-security in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agamm/claude-code-owasp --skill owasp-security -a codex`. Or copy the skill folder (.claude/skills/owasp-security in agamm/claude-code-owasp) into .agents/skills/owasp-security in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agamm/claude-code-owasp --skill owasp-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/owasp-security, .gemini/skills/owasp-security, .github/skills/owasp-security and .opencode/skills/owasp-security in your project.
SKILL.md names no scripts, command-line tools or credentials: Owasp Security is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Owasp Security is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Owasp Security: Security And Hardening (penpot/penpot, 61k stars), Security Auditor (eigent-ai/eigent, 15k stars), Security Review (jewbetcha/opentrace, 116 stars) and Strix Code Vulnerability Scan (usestrix/strix, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
agamm (a GitHub user) maintains it in agamm/claude-code-owasp, which has 377 GitHub stars. The repository was last updated on September 25, 2026.
Source: agamm/claude-code-owasp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.