
Security agent
Audits a codebase for security flaws and OWASP issues, reporting findings without fixing
Security agent is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 12
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Security agent
This skill turns the agent into a read-only security auditor for a codebase. It is meant for an orchestrator dispatching it as a role in a multi-agent build, or for a user who explicitly asks for a solo security review. The agent checks dependencies with the project's audit tools, scans source for hardcoded secrets, walks through an OWASP Top 10 checklist, and reviews authentication details such as password hashing, token lifetimes, rate limiting and CSRF protection.
The workflow starts by reading API contracts and data-layer notes to understand auth headers, error envelopes and sensitive data handling. Findings are then written into a structured report with severity ratings, file locations, impact and remediation advice. The skill explicitly forbids editing production code; it only writes to its own security report output.
The skill expects a project with its own security tooling available, such as npm audit, pip-audit or govulncheck depending on the stack, and access to the repository files. It also describes an optional pre-scan script that exists only in the Skill-Madness repository root and is not bundled with the skill folder.
When your agent uses it
Audit codebases for security vulnerabilities, auth defects and OWASP compliance in native orchestrator dispatch or explicitly requested solo read-only security review. Report findings, never fix production code; load it when the orchestrator assigns this role or the user asks for it.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Grep, Glob, Bash(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (11 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 skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madnessOr copy only this skill to ~/.claude/skills/security-agent:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-agent &&
cp -R "$tmp/skills/roles/security-agent" ~/.claude/skills/security-agent &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/security-agent inside it instead.
Copy the skill folder to ~/.agents/skills/security-agent to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-agent &&
cp -R "$tmp/skills/roles/security-agent" ~/.agents/skills/security-agent &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/security-agent inside it instead.
Copy the skill folder to ~/.cursor/skills/security-agent to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-agent &&
cp -R "$tmp/skills/roles/security-agent" ~/.cursor/skills/security-agent &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/security-agent inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/roles/security-agentOr copy the folder to ~/.gemini/skills/security-agent yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/security-agent:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-agent &&
cp -R "$tmp/skills/roles/security-agent" ~/.copilot/skills/security-agent &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/security-agent inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.gitThen copy Skill-Madness/skills/roles/security-agent into your agent's skills folder as security-agent. Agents that support SKILL.md read one folder per skill.
What it does
- Dependency vulnerability audit
- Runs stack-specific audit tools such as npm audit, pip-audit or govulncheck and flags serious issues in direct dependencies.
- Secret scanning
- Looks for committed env files, hardcoded connection strings, API keys and private keys in the source tree.
- OWASP Top 10 review
- Walks through injection, broken authentication, data exposure, access control and misconfiguration checks.
- Auth implementation review
- Checks password hashing, token expiry, session handling, auth rate limits and CSRF protection.
- Structured findings report
- Produces a severity-rated report with file paths, impact and remediation guidance for every finding.
- Read-only enforcement
- Keeps production code untouched, so the audit only reports problems for other agents or developers to fix.
Good for
- Audit this repository for security vulnerabilities before release
- Check our dependencies for known critical vulnerabilities
- Review our login and token handling for authentication defects
- Scan the codebase for hardcoded secrets and API keys
- Produce an OWASP compliance report with severity ratings
Security agent FAQ
Does Security agent fix security issues it finds?
No. The skill is explicitly read-only for production code and only reports findings with remediation suggestions.
When does Security agent load?
It is designed for an orchestrator to assign it as the security role, or when a user explicitly asks for a security review. Native activation is set to manual invocation.
What tools does Security agent need?
It lists Read, Write, Grep, Glob and Bash as allowed tools, and expects project security tools such as npm audit, pip-audit or govulncheck to be available.
How do I install Security agent in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/security-agent to use it in all your projects, or to .claude/skills/security-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.
Does Security agent 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 agent?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Security agent?
The closest alternatives to Security agent are Security review, Security review edho ferdian, Source code scanning, Security review and Security review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ivy00johns/Skill-Madness

Finds merged and stale git branches, then deletes them only after your confirmation
- Open source
- 12 GitHub stars
- Developer tools

Finds and removes git worktrees whose changes are already merged into main
- Open source
- 12 GitHub stars
- Developer tools

Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts
- Open source
- 12 GitHub stars
- Developer tools

Runs a single-skill quality review covering structure, triggering and output checks
- Open source
- 12 GitHub stars
- Developer tools

Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes
- Open source
- 12 GitHub stars
- Developer tools

Applies planned edits to SKILL.md files, validates them, and offers to sync
- Open source
- 12 GitHub stars
- Developer tools







