cursorrules

An agent role for scanning an authorised network to find open ports, running services, software versions, operating-system clues, and possible known vulnerabilities. It uses tools such as nmap when available, with simpler fallbacks for some checks.

In plain words
What is it for?
Use it during a web security assessment to scan discovered hosts, identify services, record versions, and assess exposed network services.
Why use it?
It turns a broad infrastructure check into a defined sequence of network and service tests, including TCP, UDP, and vulnerability-script checks.

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/lucasrocha179/mcp-vault-reader/cursorrules
Clone the repo
git clone --depth 1 https://github.com/LucasRocha179/mcp-vault-reader

Made for: Cursor.

Per session 259 This file is loaded in full into every session.
When invoked 259 The same file — it is already loaded in full.
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.00259 $0.00259
Opus 5 $0.00130 $0.00130
Sonnet 5 $0.00052 $0.00052
Haiku 4.5 $0.00026 $0.00026

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

Security

Grade A, and why

cursorrules 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 2d 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.

.cursorrules · 15 lines

What it actually says

Cursor rules for mcp-vault-reader

Please refer to the official Agent Guidelines in .agents/AGENTS.md for complete rules.

Quick Style Guide

  1. Strict TypeScript: No implicit any. Use Type Guards to validate untyped/unknown outputs.
  2. Atomic Index Swapping: Reindex in memory to a temporary variable and assign it to the active map at the very end to prevent serving incomplete states during syncs.
  3. No Terminal Prompts in Git: Set process.env.GIT_TERMINAL_PROMPT = '0' for all git commands to prevent silent process hanging.
  4. Wikilink Proximity Resolution: Prioritize folder proximity when resolving wikilinks with duplicate note titles.
  5. No console.log on Stdio: Use the logMessage() helper from src/logging.ts for safe logging without breaking MCP stdio transport.
  6. Explicit Errors: Always use factories from src/error-handler.ts.
  7. Semantic Naming: Avoid generic names like data, tmp, res. Use descriptive names like vaultConfig, notePath.

Always run npm run build and npx eslint src to validate your changes before completing a task.

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. 2d ago First seen · 15 lines · 259 tokens per session scan A 578e9ec56721

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository LucasRocha179/mcp-vault-reader (2 stars, last pushed 2mo ago), licensed MIT. It adds 259 tokens to every session, about $0.0013 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.