# Security

> Security is an open-source agent skill for security. Guides the agent through security code reviews using a vulnerability taxonomy. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/sorah/config/tree/master/claude/marketplace/plugins/sorah-guides/skills/security
- **Repository:** https://github.com/sorah/config
- **GitHub stars:** 31
- **License:** MIT
- **Skill name:** security
- **Collection:** https://github.com/sorah/config
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent a structured checklist of common vulnerability classes to check during code reviews and security audits. It covers injection, cross-site scripting, cross-site request forgery, authentication and authorization flaws, cryptographic weaknesses, information disclosure and insecure deserialization, plus domain topics such as race conditions, OAuth 2.0 and OpenID Connect pitfalls, session handling and timing attacks.

The guide also sets a review method: read the actual code and follow the call chain, analyze each change against the listed classes, check how new code interacts with existing code, and confirm mitigations as well as flaws. It includes a severity scale from informational to critical. Project-specific security policies are meant to take precedence over the guidance.

The skill is a single SKILL.md with no scripts. It is written as reference guidance for the agent's own reasoning rather than automated tooling, and it names no required tools or languages beyond the code under review.

## When your agent uses it

> This skill should be used when reviewing code for security vulnerabilities, performing security audits, or when the user asks about "security review", "vulnerability", "XSS", "CSRF", "injection", "race conditions", "OAuth security", "OIDC pitfalls", "timing attacks", or "access control". Provides a comprehensive vulnerability taxonomy and review methodology.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/security)
- [License: MIT](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/security)

## Features

- **Vulnerability class taxonomy:** Covers injection, XSS, CSRF, auth and authorization flaws, cryptography and deserialization issues.
- **OAuth and OIDC pitfalls:** Lists common mistakes in OAuth 2.0 and OpenID Connect flows, such as redirect URI and token validation gaps.
- **Race condition checks:** Highlights TOCTOU bugs and missing concurrency control on shared resources.
- **Timing attack guidance:** Calls for constant-time comparison of secrets and avoiding observable timing differences in logins.
- **Review methodology:** Sets steps for reading the full call chain and verifying both mitigations and weaknesses.
- **Severity classification:** Provides a five-level scale from informational to critical for grading findings.

## Good for

- Review a pull request for injection or XSS risks
- Audit an authentication flow for OAuth or OIDC mistakes
- Check a login endpoint for timing attack exposure
- Assess access control on a multi-tenant API
- Rate the severity of findings from a security review

## Install

### Claude Code

This skill ships in the `sorah-guides` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add sorah/config
/plugin install sorah-guides@sorah-marketplace
```

Or copy only this skill to `~/.claude/skills/security`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/security" ~/.claude/skills/security &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/security` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/security` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/security" ~/.agents/skills/security &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/security` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/security` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/security" ~/.cursor/skills/security &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/security` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/sorah/config.git --path claude/marketplace/plugins/sorah-guides/skills/security
```

Or copy the folder to `~/.gemini/skills/security` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/security`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/security" ~/.copilot/skills/security &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/security` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/sorah/config.git
```

Then copy `config/claude/marketplace/plugins/sorah-guides/skills/security` into your agent's skills folder as `security`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Security trigger?

It is meant to be used when reviewing code for security vulnerabilities, performing security audits, or when the user raises topics such as XSS, CSRF, injection, race conditions, OAuth security, OIDC pitfalls, timing attacks or access control.

### Does Security run any scripts or need extra files?

No. The skill consists of a single SKILL.md file with no scripts or reference files.

### Does project security policy override it?

Yes. The guide states that project-specific security policies such as CLAUDE.md or security docs always take priority over this guidance.

### How do I install Security in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/security to use it in all your projects, or to .claude/skills/security in one project. Or install the sorah-guides plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-guides@sorah-marketplace.

### Does Security 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?

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?

The closest alternatives to Security are Security review, Security and hardening, Security and hardening, Security agent and Security review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Security and hardening](https://ai-powered.com/skills/security-and-hardening-ajyadav013-2): Security and hardening is an open-source agent skill for security.
- [Security and hardening](https://ai-powered.com/skills/security-and-hardening): Security and hardening is an open-source agent skill for security.
- [Security agent](https://ai-powered.com/skills/security-agent): Security agent is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review): Security review is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-nabwinsaud): Security review is an open-source agent skill for security.
- [Source code scanning](https://ai-powered.com/skills/source-code-scanning): Source code scanning is an open-source agent skill for security.
- [Client side](https://ai-powered.com/skills/client-side): Client side is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/security-sorah
