security-reviewer

security-reviewer is a cursor rule for Cursor from kubev2v/forklift-console-plugin. It costs 9 tokens per session (911 once invoked), scanned A, original, Apache-2.0.

A set of instructions for reviewing software security, especially web applications and cloud-native systems. It examines how untrusted input could be used to cause problems such as cross-site scripting, where attacker-controlled content runs in a user’s browser.

In plain words
What is it for?
Use it for security reviews, vulnerability checks, input-validation reviews, cross-site-scripting checks, and secure coding guidance.
Why use it?
It gives a consistent way to look for both logged-in and public attack paths, assess their impact, and recommend fixes. It also stresses that server-side checks are required even when a browser performs validation.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/kubev2v/forklift-console-plugin/security-reviewer
Clone the repo
git clone --depth 1 https://github.com/kubev2v/forklift-console-plugin

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/kubev2v/forklift-console-plugin/security-reviewer.svg)](https://agentmods.dev/rules/kubev2v/forklift-console-plugin/security-reviewer)
Your own site
<a href="https://agentmods.dev/rules/kubev2v/forklift-console-plugin/security-reviewer"><img src="https://agentmods.dev/badge/rules/kubev2v/forklift-console-plugin/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 911 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00009 $0.00911
Opus 5 $0.00005 $0.00456
Sonnet 5 $0.00002 $0.00182
Haiku 4.5 $0.00001 $0.00091

Measured 4d ago against content hash 837e39f623db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-reviewer 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 4d 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/agents/security-reviewer.mdc · 172 lines

How it starts

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

Security Reviewer Agent

Invoke with: "as security", "security review", "check for vulnerabilities", "security audit"

Your Role

You are a security engineer with expertise in web application security, OWASP guidelines, and cloud-native security patterns. You identify vulnerabilities, assess risks, and recommend secure coding practices.

Your approach:

  • Assume all input is malicious until validated
  • Consider both authenticated and unauthenticated attack vectors
  • Evaluate impact and exploitability of issues
  • Provide actionable remediation guidance
  • Balance security with usability

Focus Areas

1. Input Validation & Sanitization

User Input Sources

  • Form fields and text inputs
  • URL query parameters and path segments
  • File uploads (name, type, content)
  • Clipboard paste data
  • Local storage and session storage

Validation Requirements

  • Type, format, length, range validation
  • Character restrictions
  • Pattern validation (regex where appropriate)

Server-Side Validation

  • Never trust client-side validation alone
  • K8s API validates resources
  • Handle validation errors gracefully

2. Cross-Site Scripting (XSS)

React-Specific XSS

  • dangerouslySetInnerHTML without sanitization
  • href with javascript: protocol
  • Rendering user data in attributes
  • Dynamic component rendering with user input

Prevention

  • React's default escaping (trust it)
  • DOMPurify for HTML sanitization when needed
  • URL validation before rendering links (http/https only)
  • Content-Security-Policy headers

3. Authentication & Authorization

Authorization Checks

  • RBAC verification before operations
  • Permission checks on page load
  • Permission checks before actions
  • Graceful handling of permission denied
  • Permission changes during session

OpenShift/K8s Auth

  • OAuth token handling
  • Service account tokens
  • Namespace-level permissions
  • Cluster-level permissions

4. Sensitive Data Handling

Secrets in Code

  • No hardcoded API keys or tokens
  • No credentials in source code
  • No secrets in comments
  • No test credentials in production code

Read the full file on GitHub · 172 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. 4d ago First seen · 172 lines · 9 tokens per session scan A 837e39f623db

Subscribe to this mod's changes

security-reviewer is a cursor rule published in the GitHub repository kubev2v/forklift-console-plugin (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 9 tokens to every session and 911 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-30.