security

security is a cursor rule for Cursor from fmflurry/harness-manifesto. It costs 0 tokens per session (370 once invoked), scanned A, original, MIT.

A set of application security rules for common web-development risks. It assigns secret scanning, dependency vulnerability checks, parameterized queries, and output encoding to the appropriate tools, while listing security checks that still need human or agent review.

In plain words
What is it for?
Use it when changing authentication, input handling, error responses, endpoints, dependencies, or startup configuration. It also provides a response process for a discovered security issue.
Why use it?
It prevents security guidance from duplicating checks that dedicated tools already perform. It keeps attention on areas such as access control, request forgery protection, rate limits, input validation, safe errors, and exposed-secret response.

Cursor rule for Cursor

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

Good fit Use it when changing authentication, input handling, error responses, endpoints, dependencies, or startup configuration. It also provides a response process for a discovered security issue.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/fmflurry/harness-manifesto/security
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/fmflurry/harness-manifesto

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/fmflurry/harness-manifesto/security"><img src="https://agentmods.dev/badge/rules/fmflurry/harness-manifesto/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 370 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.00000 $0.00370
Opus 5.5 $0.00000 $0.00148
Sonnet 5.5 $0.00000 $0.00074
Haiku 4.5 $0.00000 $0.00037

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

Security

Grade A, and why

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 15d 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.

plugins/fmflurry-harness/rules/security.mdc · 34 lines

What it actually says

Security Guidelines

A secret scanner owns hardcoded secrets. npm audit (or the stack equivalent) owns known vulnerable dependencies. Parameterized queries and the output encoder own SQL injection and XSS when the stack has them. Do not restate those checks in prose.

why-not-tooled: authorization, CSRF, rate limits, and what an error message may reveal are not one analyzer across stacks.

Checks the tools do not cover

Before a commit that changes auth, input handling, or error responses:

  • Authentication and authorization verified for the new path
  • CSRF protection enabled where the stack uses cookies
  • Rate limiting on new endpoints
  • Error messages don't leak sensitive data
  • User input is validated at the boundary
  • Required secrets come from the environment or a secret manager and are checked at startup
  • Lock files are committed (package-lock.json, yarn.lock, pnpm-lock.yaml). CI uses a frozen install (npm ci, yarn install --frozen-lockfile, pnpm install --frozen-lockfile). node_modules stays untracked
  • Any secret that may have been exposed is rotated

Security Response Protocol

If a security issue is found:

  1. STOP immediately
  2. Use security-reviewer agent
  3. Fix Important issues before continuing
  4. Rotate any exposed secrets
  5. Review the codebase for the same issue
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. 15d ago First seen · 34 lines · 0 tokens per session scan A f398c221e1aa

Subscribe to this mod's changes

security is a cursor rule published in the GitHub repository fmflurry/harness-manifesto (173 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 370 tokens. 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-11-15.

Related

security compared with cursor rules from other repositories

security next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
securityfmflurry/harness-manifestoCursor rule17311d agoMITA0Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor