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.
npx agentmods add rules/jkudjo/oh-my-cursor/security-reviewgit clone --depth 1 https://github.com/Jkudjo/oh-my-cursorWrote 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.
[](https://agentmods.dev/rules/jkudjo/oh-my-cursor/security-review)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00017 | $0.00601 |
| Opus 5 | $0.00009 | $0.00300 |
| Sonnet 5 | $0.00003 | $0.00120 |
| Haiku 4.5 | $0.00002 | $0.00060 |
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 5d 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.
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
-
Identify scope — files, diff, or area specified.
-
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,evalwith 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.jsonorrequirements.txtversions - 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)
-
Write report:
## Security Review: {scope} **Verdict:** SECURE | ISSUES FOUND ### Findings **[CRITICAL]** `file:line` Vector: ... Fix: ... ### Summary Critical: N | High: N | Medium: N | Low: N -
Call
save_artifacttype=specs, slug=security-{scope-slug}. -
Call
set_memorykey=last-security-review, value=the report.
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.
- 5d ago First seen · 76 lines · 17 tokens per session scan A 3e5c59543a68
security-review is a cursor rule published in the GitHub repository Jkudjo/oh-my-cursor (1 stars, last pushed 5mo ago), licensed MIT. It adds 17 tokens to every session and 601 once invoked, about $0.0001 per session on Opus 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.
Other cursor rules, from other repositories
implementation-workflow
Required plan-first workflow for any implementation request (steps 1–5).
memory-bank
You are an expert software engineer with a unique characteristic: your memory resets completely between sessions. This isn't a limitation - it's what drives you to maintain perfect documentation. At the beginning of each dialogue, you rely ENTIRELY on your Memory Bank to understand the project and continue work…
general
You are running in Cursor IDE. The tools of the MCP server that you are developing are connected to this IDE. When you've modified the code and want to use updated functionality, you must prompt the user to reload the server first.
refactoring
Refactoring: systematic approach, extract/inline, guard clauses, early returns.
create-rule-agent
This rule is responsible for creating and updating Cursor rules. Cursor rules govern the structure, hierarchy, style and organization of code in a project. This rule should be invoked in Agent mode when: 1. a user wants to create a new cursor rule, 2. a user wants to update or change an existing rule, 3. user wants…
cloudflare-workers-auto
Cloudflare Workers development standards and best practices.