security-review

security-review is a cursor rule for Cursor from Jkudjo/oh-my-cursor. It costs 17 tokens per session (601 once invoked), scanned A, original, MIT.

A security-audit rule based on common web risks, including the OWASP Top 10, which is a widely used list of serious web-application vulnerabilities. It checks areas such as injection, login permissions, secrets, input validation, and data exposure.

In plain words
What is it for?
Use it to inspect code or a change set for issues such as unsafe database or shell commands, missing access checks, exposed keys, weak input checks, and insecure file uploads.
Why use it?
It helps find security weaknesses before software that handles accounts, user data, or outside input is released.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to inspect code or a change set for issues such as unsafe database or shell commands, missing access checks, exposed keys, weak input checks, and insecure file uploads.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jkudjo/oh-my-cursor/security-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Jkudjo/oh-my-cursor

Made for: 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 security-review

README.md
[![agentmods](https://agentmods.dev/badge/rules/jkudjo/oh-my-cursor/security-review/github.svg)](https://agentmods.dev/rules/jkudjo/oh-my-cursor/security-review)
Your own site
<a href="https://agentmods.dev/rules/jkudjo/oh-my-cursor/security-review"><img src="https://agentmods.dev/badge/rules/jkudjo/oh-my-cursor/security-review/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 security-review

Your own site · 80×15
<a href="https://agentmods.dev/rules/jkudjo/oh-my-cursor/security-review"><img src="https://agentmods.dev/badge/rules/jkudjo/oh-my-cursor/security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 601 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.00017 $0.00601
Opus 5.5 $0.00007 $0.00240
Sonnet 5.5 $0.00003 $0.00120
Haiku 4.5 $0.00002 $0.00060

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

Security

Grade A, and why

security-review 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 3mo 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.

rules/security-review.mdc · 76 lines

How it starts

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

@security-review

Trigger: Before shipping anything that handles auth, user data, or external input.

Protocol

  1. Identify scope — files, diff, or area specified.

  2. Audit each category. For every finding: file:line, severity, attack vector, fix.

    Injection (CRITICAL if found)

    • SQL: string concatenation in queries, missing parameterization
    • Command: exec, spawn, eval with user-controlled input
    • HTML/template: unescaped user input rendered in HTML

    Authentication & Authorization (CRITICAL/HIGH)

    • Missing auth checks on sensitive routes
    • JWT: algorithm confusion, missing expiry, weak secrets
    • IDOR: object fetched by ID without ownership check
    • Privilege escalation paths

    Secrets (CRITICAL if found)

    • Hardcoded API keys, passwords, tokens in source
    • Secrets in environment variable names logged or exposed
    • Check git history for previously committed secrets

    Input Validation (HIGH)

    • User-controlled input reaching filesystem, DB, or shell without validation
    • Missing type/length/format checks at system boundaries
    • File upload without type or size validation

    Data Exposure (HIGH/MEDIUM)

    • Sensitive fields (passwords, tokens, PII) in API responses or logs
    • Stack traces or internal paths in error messages
    • Overly verbose error responses

    Dependencies (HIGH/MEDIUM)

    • Known CVEs — check package.json or requirements.txt versions
    • Loose version pins (*, latest, ^major)
    • Suspicious package names (typosquatting)

    Web (MEDIUM)

    • Missing CSRF protection on state-changing endpoints
    • XSS: unescaped output, dangerouslySetInnerHTML
    • Missing security headers (CSP, HSTS, X-Frame-Options)
  3. Write report:

    ## Security Review: {scope}
    
    **Verdict:** SECURE | ISSUES FOUND
    
    ### Findings
    
    **[CRITICAL]** `file:line`
    Vector: ...
    Fix: ...
    
    ### Summary
    Critical: N | High: N | Medium: N | Low: N
    
  4. Call save_artifact type=specs, slug=security-{scope-slug}.

  5. Call set_memory key=last-security-review, value=the report.

Read the full file on GitHub · 76 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. 3mo ago First seen · 76 lines · 17 tokens per session scan A 3e5c59543a68

Subscribe to this mod's changes

security-review is a cursor rule published in the GitHub repository Jkudjo/oh-my-cursor (1 stars, last pushed 17d ago), licensed MIT. It adds 17 tokens to every session and 601 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.

Related

security-review compared with cursor rules from other repositories

security-review next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-reviewJkudjo/oh-my-cursorCursor rule117d agoMITA17Cursor
ask-firstjaansokk/cursor_toolsCursor rule110d agoMITA42Cursor
include-specsjaansokk/cursor_toolsCursor rule110d agoMITA57Cursor
create-rule-agentusrrname/cursorrulesCursor rule117mo agoISCA3,429Cursor
cloudflare-workers-autousrrname/cursorrulesCursor rule117mo agoISCA0Cursor
changelog-generator-manualusrrname/cursorrulesCursor rule117mo agoISCA0Cursor
vue3-typescript-autousrrname/cursorrulesCursor rule117mo agoISCA0Cursor