AccuroAI
Book a demo

Free tool · Runs in your browser

Agent Instruction File Scanner

Paste a CLAUDE.md, AGENTS.md, Cursor rules file or system prompt. See plaintext secrets, hidden text, injection-style instructions and over-broad permissions, line by line. Nothing you paste leaves your browser.

Private by design. The scan runs in this page. Your file, its excerpts, URLs and any tokens in it are never sent to us.
Where these files live
  • Claude Code: CLAUDE.md in the repository or ~/.claude/CLAUDE.md; permissions in .claude/settings.json
  • Cross-tool agents: AGENTS.md in the repository root or a subfolder
  • Cursor: .cursor/rules/*.mdc, or the older .cursorrules
  • GitHub Copilot: .github/copilot-instructions.md
  • Gemini CLI: GEMINI.md
  • Your own assistant or agent: its system prompt

Why these files matter: instruction files are an attack surface, because every agent that opens the repository reads them as instructions.

What this checks, and what it cannot

It checks for

  • Plaintext API keys, tokens, passwords and connection strings, shown masked
  • Hidden content: zero-width, bidirectional and Unicode tag characters, HTML comments, and instructions inside link titles or image alt text
  • Injection-style wording: ignore other instructions, hide actions from the user, act without asking
  • Instructions to send secrets, environment variables or files to an outside address
  • Downloads piped into a shell, and URLs the agent is told to fetch and obey
  • Skipped permission prompts, allow-all wildcards and auto-approve settings
  • Destructive commands, disabled tests or hooks, unpinned installs and MCP servers added by URL

It cannot

  • Prove a file is safe. A clean result means no known pattern matched
  • Understand intent. An attack phrased in a new way can pass, and an odd but harmless line can be flagged
  • See other files the agent reads, such as nested rule files, memory files, tool descriptions or web pages
  • Tell you how a model or agent behaves when it is attacked at run time

The last point is what red teaming is for. AccuroAI AI Red Teaming (Beta, hosted, available by demo) runs automated attacks against models and agents and maps findings to the OWASP LLM Top 10, the OWASP Agentic Top 10 and MITRE ATLAS. This scanner is a separate, static check and not part of that product. For the method, see how to red team AI agents.

Agents also read MCP config files. Check those with the free MCP Config Scanner.

Questions

Is my file uploaded anywhere?

No. The scan runs entirely in your browser. If you ask for the PDF report, we receive only a summary: the kind of file, how many findings of each type and severity, and the line count. The file text, excerpts, URLs and secrets never leave your device.

Which files can it scan?

Any text file an AI coding agent reads as instructions: CLAUDE.md, AGENTS.md, Cursor rules (.cursor/rules/*.mdc or .cursorrules), .github/copilot-instructions.md, GEMINI.md and a Claude Code settings.json permissions block. You can also paste a system prompt for an assistant or agent you are building.

What does it look for?

Plaintext secrets, hidden content (zero-width, bidirectional and Unicode tag characters, HTML comments, instructions tucked into link titles or image alt text), injection-style wording such as "ignore previous instructions" or "do not tell the user", instructions to send data out, downloads piped into a shell, skipped permission prompts and auto-approve settings, destructive commands, disabled safeguards, unpinned installs, MCP servers added by URL and rules loaded from outside the repository.

Does a clean result mean the file is safe?

No. This is a static pattern check. It catches known risky wording and characters, and it will miss an instruction that is phrased in a way it has not seen. It also cannot tell what an agent will actually do with the file. Treat a clean result as "nothing obvious", and keep instruction files under code review like any other code.

Why did a harmless line get flagged?

The scanner reads patterns, not intent. A rule that only describes a danger, such as "never force-push to main", is skipped, but unusual phrasing can still trip a check. Each finding shows the line and the reason so you can dismiss it quickly.

How is this different from AccuroAI AI Red Teaming?

This free scanner reads one file and matches patterns. AccuroAI AI Red Teaming is a separate hosted product, currently in Beta, that runs automated attacks against AI models and agents and maps findings to the OWASP LLM Top 10, the OWASP Agentic Top 10 and MITRE ATLAS. It is available by demo.

AI Red Teaming · Beta
A file check shows the wording. A red team shows the behavior.

AccuroAI AI Red Teaming runs automated attacks against your AI models and agents and reports what got through. Hosted, and available by demo.

Book a demoScan your MCP config

Fully automated · Findings mapped to OWASP LLM Top 10, OWASP Agentic Top 10 and MITRE ATLAS