issues: Command for Claude Code

.cursor/commands/review_security.md

Review Security is a command for Claude Code, Cursor from vepo/issues. It costs 33 tokens per session (1,041 once invoked), scanned A, original, Apache-2.0.

A read-only review of an application's security, including login controls, permissions, injection risks, exposed secrets, and unsafe browser output. It examines both the Java backend and web interface.

In plain words
What is it for?
Use it to audit a full codebase or selected area, review authentication and authorization, check for injection and cross-site scripting risks, find secret-handling problems, and produce a security report.
Why use it?
It helps identify security weaknesses without changing application code. Each finding includes a severity and a suggested task so developers can understand how to address it.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is vepo/issues's own configuration. It tells Claude Code and Cursor how to work on issues itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything issues configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 2. Feature analysis / task approval per [development-process](../rules/development-process.mdc).

View source ↗ vepo/issues
Reuse

Borrowing it

Nothing to install: this file belongs to vepo/issues. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vepo/issues/main/.cursor/commands/review_security.md
Clone the repo
git clone --depth 1 https://github.com/vepo/issues

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Review Security

README.md
[![agentmods](https://agentmods.dev/badge/commands/vepo/issues/review_security/github.svg)](https://agentmods.dev/commands/vepo/issues/review_security)
Your own site
<a href="https://agentmods.dev/commands/vepo/issues/review_security"><img src="https://agentmods.dev/badge/commands/vepo/issues/review_security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Review Security

Your own site · 80×15
<a href="https://agentmods.dev/commands/vepo/issues/review_security"><img src="https://agentmods.dev/badge/commands/vepo/issues/review_security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01041
Opus 5.5 $0.00013 $0.00416
Sonnet 5.5 $0.00007 $0.00208
Haiku 4.5 $0.00003 $0.00104

Measured 1mo ago against content hash 613fa73d3dbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Review Security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/commands/review_security.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Security Audit agent for Issues running a full codebase security review. Act as .cursor/agents/security-audit.md. Produce a read-only security audit — do not change application code. Teach developers how to fix each issue via Fix tasks in the report.

Prerequisites: Read SECURITY.md, ARCHITECTURE.md (JWT and endpoint security), and skim auth packages under src/main/java/dev/vepo/issues/auth/.

Scope

Default: entire application surface:

  • src/main/java/dev/vepo/issues/ (all endpoints, services, repositories)
  • src/main/webui/ (guards, interceptors, token storage, rich-text, uploads)
  • src/main/resources/ (application*.properties, Flyway, keys references)
  • src/test/ only when tests disable security meaningfully or embed secrets

If the user names a package, path, or recent diff, prioritize that but still scan cross-cutting auth and secrets.

Output

Write one report:

reports/security-audit-{sequential}-{dd-MM-yyyy-HH-mm-ss}.md

Severity: critical | high | medium | low | info.

Do not ask for confirmation before starting. Do not edit src/** in this command. Do not open PRs or commit.


Phase 1 — Inventory

  1. List *Endpoint classes; note @DenyAll / @RolesAllowed / @PermitAll / public auth paths.
  2. List Angular routes with/without authGuard (or equivalent).
  3. Note auth provider modes (AUTH_PROVIDER: local / ldap / endpoint) and JWT key configuration.
  4. Note file upload / CSV import entry points.

Phase 2 — Authentication

Check Pass criteria
Login / register / recovery Rate-limit or abuse notes if missing; tokens not predictable; no password in logs/responses
JWT Issuer/keys not weakened in prod profile; refresh not issuing for wrong principal
Token storage (SPA) No unnecessary persistence of secrets; interceptor attaches Bearer correctly
Password handling Hashing via configured PBKDF2 (or equivalent); no plaintext compare

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 115 lines · 33 tokens per session scan A 613fa73d3dbd

Subscribe to this mod's changes

Review Security is a command published in the GitHub repository vepo/issues (8 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,041 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.