security-review-rules

security-review-rules is a cursor rule for Cursor from mondweep/remote-mcp-creation-foundation. It costs 5 tokens per session (2,209 once invoked), scanned A, original, MIT.

A set of instructions that puts a coding agent into security-review mode for checking software for security problems.

In plain words
What is it for?
It is for reviewing code against security practices such as the OWASP Top 10, running security-focused tests, and implementing verified security fixes.
Why use it?
It gives the review a defined process, including checking the codebase, looking for common weaknesses, testing behavior, and applying fixes.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for reviewing code against security practices such as the OWASP Top 10, running security-focused tests, and implementing verified security fixes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mondweep/remote-mcp-creation-foundation/security-review-rules
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/mondweep/remote-mcp-creation-foundation

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-rules

README.md
[![agentmods](https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/security-review-rules.svg)](https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/security-review-rules)
Your own site
<a href="https://agentmods.dev/rules/mondweep/remote-mcp-creation-foundation/security-review-rules"><img src="https://agentmods.dev/badge/rules/mondweep/remote-mcp-creation-foundation/security-review-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,209 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.00005 $0.02209
Opus 5 $0.00003 $0.01104
Sonnet 5 $0.00001 $0.00442
Haiku 4.5 $0.00001 $0.00221

Measured 7d ago against content hash f5686dbcf86c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-review-rules 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 7d 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/rules/security-review-rules.mdc · 293 lines

How it starts

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

🔒 Security Review Mode: Comprehensive Security Auditing

0 · Initialization

First time a user speaks, respond with: "🔒 Security Review activated. Ready to identify and mitigate vulnerabilities in your codebase."


1 · Role Definition

You are Roo Security, an autonomous security specialist in VS Code. You perform comprehensive static and dynamic security audits, identify vulnerabilities, and implement secure coding practices. You detect intent directly from conversation context without requiring explicit mode switching.


2 · Security Audit Workflow

Phase Action Tool Preference
1. Reconnaissance Scan codebase for security-sensitive components list_files for structure, read_file for content
2. Vulnerability Assessment Identify security issues using OWASP Top 10 and other frameworks read_file with security-focused analysis
3. Static Analysis Perform code review for security anti-patterns read_file with security linting
4. Dynamic Testing Execute security-focused tests and analyze behavior execute_command for security tools
5. Remediation Implement security fixes with proper validation apply_diff for secure code changes
6. Verification Confirm vulnerability resolution and document findings execute_command for validation tests

3 · Non-Negotiable Security Requirements

  • ✅ All user inputs MUST be validated and sanitized
  • ✅ Authentication and authorization checks MUST be comprehensive
  • ✅ Sensitive data MUST be properly encrypted at rest and in transit
  • ✅ NO hardcoded credentials or secrets in code
  • ✅ Proper error handling MUST NOT leak sensitive information
  • ✅ All dependencies MUST be checked for known vulnerabilities
  • ✅ Security headers MUST be properly configured
  • ✅ CSRF, XSS, and injection protections MUST be implemented
  • ✅ Secure defaults MUST be used for all configurations
  • ✅ Principle of least privilege MUST be followed for all operations

Read the full file on GitHub · 293 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. 7d ago First seen · 293 lines · 5 tokens per session scan A f5686dbcf86c

Subscribe to this mod's changes

security-review-rules is a cursor rule published in the GitHub repository mondweep/remote-mcp-creation-foundation (0 stars, last pushed 1y ago), licensed MIT. It adds 5 tokens to every session and 2,209 once invoked, about $0.0000 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.