# Security review

> Security review is an open-source agent skill for security. Walks a code diff through entry points, OWASP checks and security scanners. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Nabwinsaud/forgeline/tree/main/skills/security-review
- **Repository:** https://github.com/nabwinsaud/forgeline
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** security-review
- **Collection:** https://github.com/Nabwinsaud/forgeline
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill directs the agent to review a code change as an attacker would, treating HTTP input, uploads, webhooks and third-party API data as untrusted. For each new or modified entry point it checks authentication, object-level authorization and input validation, then traces inputs to sensitive sinks such as SQL, shell, filesystem, outbound HTTP, HTML, redirects and logs, using a table of safe patterns.

The workflow also covers a pass over the OWASP Top 10, web-specific checks for XSS, CSRF, cookie flags and CORS, and a secrets review for hardcoded or committed credentials. It lists scanner commands for Go, Node, Python and any language, including gosec, govulncheck, npm audit, pip-audit, bandit, semgrep and gitleaks, and asks the agent to confirm each scanner hit by reading the code rather than trusting it.

Findings are graded by a fixed severity rubric from critical to low, with blocking status per level, and reported in a structured JSON format that includes an exploit sketch for high-severity issues. The skill tells the agent to reason from code and local tests only and never to run exploits against shared or deployed environments. It is a markdown procedure with no bundled scripts; the scanners must be installed separately.

## When your agent uses it

> Security review procedure for a diff - walk every entry point from authn/authz through input to dangerous sinks, run an OWASP Top 10 pass, run scanners (gosec, govulncheck, npm audit, pip-audit, semgrep, gitleaks) and grade findings by a fixed severity rubric. Use when reviewing or hardening code that handles input, auth, secrets, files, URLs or dependencies.

## What it can access

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

- [Instructions only, no scripts](https://github.com/Nabwinsaud/forgeline/tree/HEAD/skills/security-review)
- [License: MIT](https://github.com/Nabwinsaud/forgeline/tree/HEAD/skills/security-review)

## Features

- **Entry-point walkthrough:** Checks each added or changed route, handler, job or webhook for authentication, authorization and input validation.
- **Sink tracing:** Follows user input to SQL, shell, filesystem, HTTP, HTML, redirect and log sinks with recommended safe patterns.
- **OWASP Top 10 pass:** Reviews the diff against the OWASP Top 10 categories, including injection, access control and SSRF.
- **Web-specific checks:** Covers XSS, CSRF, session cookie flags and CORS configuration in web code.
- **Secrets review:** Looks for keys, tokens and credentials committed to code, fixtures, env files or frontend bundles.
- **Scanner commands:** Lists gosec, govulncheck, npm audit, pip-audit, bandit, semgrep and gitleaks invocations per language.
- **Severity rubric:** Grades findings from critical to low with fixed blocking status and a structured report format.

## Good for

- Review a pull request that adds a new API endpoint for security issues
- Check a change that handles file uploads or user-supplied URLs
- Audit authentication and authorization logic in a diff
- Run dependency and secret scanners on a repository before release
- Harden code that stores or reads secrets and tokens

## Install

### Claude Code

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

```sh
/plugin marketplace add Nabwinsaud/forgeline
/plugin install forgeline@forgeline
```

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

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

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-review &&
cp -R "$tmp/skills/security-review" ~/.agents/skills/security-review &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-review &&
cp -R "$tmp/skills/security-review" ~/.cursor/skills/security-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/security-review` 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/Nabwinsaud/forgeline.git --path skills/security-review
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-review &&
cp -R "$tmp/skills/security-review" ~/.copilot/skills/security-review &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git
```

Then copy `forgeline/skills/security-review` into your agent's skills folder as `security-review`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

The procedure runs the scanners it lists, such as gosec, govulncheck, npm audit, pip-audit, bandit, semgrep and gitleaks, so those tools must be available where the repo is checked. The skill itself is a single SKILL.md file with no bundled scripts.

### When does the skill trigger?

It is meant for reviewing or hardening code that handles input, auth, secrets, files, URLs or dependencies.

### Does Security review run exploits against my deployed app?

No. The skill tells the agent to reason from code and local tests only and never run exploits against shared or deployed environments.

### How are findings reported?

Each finding gets a severity from critical to low, a file and line, the issue, an exploit sketch for high and above, and a suggested fix, in a JSON format.

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

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

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

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 review?

The closest alternatives to Security review are Security review, Security review edho ferdian, Source code scanning, Go security audit 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 review edho ferdian](https://ai-powered.com/skills/security-review-edho-ferdian): Security review edho ferdian 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.
- [Go security audit](https://ai-powered.com/skills/go-security-audit): Go security audit 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-ramboz): Security review is an open-source agent skill for security.
- [Gha security review](https://ai-powered.com/skills/gha-security-review): Gha security review is an open-source agent skill for security.
- [Security audit](https://ai-powered.com/skills/security-audit): Security audit is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/security-review-nabwinsaud
