AcePaste Ingress
v0.11.1Checks what AI agents read (pages, files, MCP tools) for hidden prompt injections; refuses or flags.
Every command runs as npx @acepaste/ingress , or as ingress after npm install -g @acepaste/ingress. Full documentation: https://github.com/sugarcypher/acepasteINGRESS On a sealed test of 1,002 attacks it had never seen (Hidden Injection Bench held-out-v2, scored once), Ingress 0.11.0 caught 60.1% of attacks and 63.8% of truly hidden ones, with 0 false alarms on 1,002 benign items (0.10.0: 35.5% and 28.1%, 4.8% false alarms). It misses most plainly visible injections (BIPIA: 0.02%) and some hidden techniques (script-injected text, MCP tool parameter descriptions).
Summary extracted from the README.
@acepaste/ingress-mcp
Checks what your AI agent reads for hidden instructions before it reads it. A local gate in front of your agent's web fetch: it compares what a person would see with what the model would receive, refuses or holds pages that hide instructions from people, and keeps a hash-chained receipt for every decision (signed when you configure a key). Runs locally, no telemetry. It catches many hidden injections, not all: see Results and limits.

What it is, in plain words: prompt injection is when someone plants instructions in what an AI agent reads (a web page, a file, an MCP tool description) and hopes the agent treats them as orders. The worst versions are hidden from people: white-on-white text, off-screen text, HTML comments, invisible Unicode. Ingress is built to catch what people can't see; plainly visible injections mostly get through, and it misses some hidden techniques too. Use it alongside model-side defenses and least-privilege tools. For people who build or run AI agents and MCP tools.
- Checks web pages for hidden instructions: invisible Unicode, CSS-hidden or same-colour text, payloads in attributes, comments, SVG or
srcdoc, and pages that show bots something different.ingress https://example.com - Shows you what your agent sees:
ingress showwrites one HTML page with what a person sees beside what the agent receives, hidden text highlighted.ingress show https://example.com --open - Checks files and knowledge bases:
ingress filescanfinds hidden text in PDFs, Word, Excel, PowerPoint and images;ingress corpusscanchecks a whole RAG folder and moves hostile files aside.ingress corpusscan ./docs --quarantine ./held - Checks your MCP servers:
ingress mcpscanfinds poisoned tool descriptions, look-alike tool names and tools that changed since you pinned them.ingress mcpscan --connect - Gates repos for coding agents:
ingress reposcanand a GitHub Action flag Trojan Source Unicode, instructions hidden in markdown, poisoned AGENTS.md files and risky install scripts.ingress reposcan --diff origin/main - Catches data leaving in links and images:
ingress outcheckreads a model's reply for data hidden in image URLs, links and subdomains before it is rendered; the action broker does the same for tool calls.ingress outcheck --safe < reply.md - Checks packages before install:
ingress pkgcheckcatches made-up package names, lookalikes of popular ones and brand-new packages with install scripts.ingress pkgcheck npm left-pad - Checks your own APIs:
ingress apiscanlooks for exposed files, open CORS, missing auth, leaked keys and responses an agent would obey, with safe read-only requests.ingress apiscan https://api.example.com - Keeps a receipt for every verdict, and asks a person before risky actions: hash-chained receipts, signed with ECDSA P-256 when a key is set, record what your agent read and what Ingress decided; once outside content is read, side-effecting tool calls need human approval.
- Quarantines sources: block a host and see everything it already delivered.
- Runs on your machine: MCP server, CLI and library, or HTTP service. No telemetry (PRIVACY.md).
Every command runs as npx @acepaste/ingress <command>, or as ingress <command> after npm install -g @acepaste/ingress.
Full documentation: https://github.com/sugarcypher/acepasteINGRESS
Results and limits
On a sealed test of 1,002 attacks it had never seen (Hidden Injection Bench held-out-v2, scored once), Ingress 0.11.0 caught 60.1% of attacks and 63.8% of truly hidden ones, with 0 false alarms on 1,002 benign items (0.10.0: 35.5% and 28.1%, 4.8% false alarms). It misses most plainly visible injections (BIPIA: 0.02%) and some hidden techniques (script-injected text, MCP tool parameter descriptions). Use it alongside model-side defenses and least-privilege tools. Details: docs/HIB-RESULTS-fixes.md.
AcePaste Ingress as a Model Context Protocol server. Put it in front of an agent's web access: pages it rates hostile are refused and never reach the model; every verdict leaves a hash-chained receipt, signed when a key is set.
{
"mcpServers": {
"acepaste-ingress": {
"command": "npx",
"args": ["-y", "@acepaste/ingress-mcp"],
"env": { "INGRESS_SANDBOX": "off" }
}
}
}
Tools: ingress_fetch(url, override?), ingress_scan(content, source?, contentType?, override?), ingress_status(), ingress_instructions(root), ingress_verify_receipt(receipt).
Environment: INGRESS_SIGNING_KEY, INGRESS_HOSTILE, INGRESS_SUSPECT, INGRESS_CLOAKING=0, INGRESS_SANDBOX=off|escalate|always, INGRESS_POLICY=path, INGRESS_LOG=path.
Full documentation: https://github.com/sugarcypher/acepasteINGRESS