Borrowing it
Nothing to install: this file belongs to vinayaklatthe/microsoft-security-agent-toolkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vinayaklatthe/microsoft-security-agent-toolkit/main/.cursorrulesgit clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-agent-toolkitWrote 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/vinayaklatthe/microsoft-security-agent-toolkit/cursorrules)<a href="https://agentmods.dev/rules/vinayaklatthe/microsoft-security-agent-toolkit/cursorrules"><img src="https://agentmods.dev/badge/rules/vinayaklatthe/microsoft-security-agent-toolkit/cursorrules/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.
<a href="https://agentmods.dev/rules/vinayaklatthe/microsoft-security-agent-toolkit/cursorrules"><img src="https://agentmods.dev/badge/rules/vinayaklatthe/microsoft-security-agent-toolkit/cursorrules.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00308 | $0.00308 |
| Opus 5.5 | $0.00123 | $0.00123 |
| Sonnet 5.5 | $0.00062 | $0.00062 |
| Haiku 4.5 | $0.00031 | $0.00031 |
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 1mo 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.
What it actually says
microsoft-security-agent-toolkit — agent rules
Read HANDOFF.md first. It is the single source of truth for design decisions, conventions, tool surface, and open work.
Hard rules
- Never log or commit tenant secrets.
.envstays gitignored. - Every write tool requires
confirm: true+ separate write-app registration (seedocs/permissions-required.md). - Skills only declare
tools_required; they do not bundle this toolkit. - Defensive / governance content only — no offensive (red-team) tooling.
- No live-tenant calls in tests, demos, samples — use synthetic data.
Conventions
- Branch off
main, PR intomain. One server / snippet pack / demo per PR. - Conventional-commit-ish messages with
Co-authored-by: Copilot <[email protected]>when AI-assisted. - KQL files require the header in
kql-snippets/README.md. - MCP server READMEs follow the contract in
HANDOFF.md.
Pairs with
microsoft-security-skills v0.2.0, 88 skills. Tool ID renames must update INTEGRATIONS.md in both repos simultaneously.
Where to start
Topmost unchecked item from HANDOFF.md "Open work". Phase 1 = sentinel-mcp implementation.
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.
- 1mo ago First seen · 27 lines · 308 tokens per session scan A 2d055c8a10fe
cursorrules is a cursor rule published in the GitHub repository vinayaklatthe/microsoft-security-agent-toolkit (2 stars, last pushed 4mo ago), licensed MIT. It adds 308 tokens to every session, about $0.0012 per session on Opus 5.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
bootstrap-alwayson
Minimal always-required LLM fixes.
orchestrate
Apply the Workflow Orchestration methodology for complex, multi-step tasks — plan-first approach, subagent strategy, self-improvement loo...
agdr
Agent Decision Records - enforces structured documentation of technical decisions before implementation.
controllers
Remember: Controllers are just the translation layer between HTTP and your application. Keep them simple and let other layers handle complexity.
performance
Remember: Premature optimization is the root of all evil. Profile first, optimize what matters, and keep solutions maintainable.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.