Prompt Injection Scanner for RAG & Agent Inputs avatar

Prompt Injection Scanner for RAG & Agent Inputs

Under maintenance

Pricing

from $2.00 / 1,000 item scanneds

Go to Apify Store
Prompt Injection Scanner for RAG & Agent Inputs

Prompt Injection Scanner for RAG & Agent Inputs

Under maintenance

Screens text, HTML and web pages for hidden or malicious LLM instructions: override attempts, hidden text in inline styles, invisible Unicode, encoded payloads, exfiltration links.

Pricing

from $2.00 / 1,000 item scanneds

Rating

0.0

(0)

Developer

Colton Mcclain

Colton Mcclain

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Prompt Injection Scanner

Screen content before it reaches your RAG index or agent. Flags text that looks like an attempt to instruct a downstream LLM.

Detects

  • Override / role-hijack phrases ("ignore all previous instructions", "you are now ...")
  • Fake system turns and chat control tokens
  • Requests to reveal prompts or secrets, and to send data to external addresses
  • Tool/shell abuse and markdown-image data-exfiltration links
  • Hidden channels: Text hidden by inline styles (display:none, visibility:hidden, opacity:0, zero font size, off-screen positioning, white-colored text; the background is not checked, so legitimate white-on-dark text is also treated as hidden), HTML comments, zero-width characters, Unicode tag-block ASCII smuggling (decoded for you), Base64 payloads

Output per item: risk_score 0-100, verdict (clean / suspicious / likely_injection), and findings with rule, severity, channel and excerpt.

Measured accuracy (small hand-written corpora, so treat as rough):

SetFalse positives (benign flagged)Attacks caught
Tuned set (rules adjusted after viewing it: optimistic)0 / 4026 / 32
Held-out set (never tuned against: honest estimate)5 / 206 / 10

Held-out misses were all paraphrased instructions and a "SYSTEM OVERRIDE:" header. Held-out false positives were security writing that quotes an attack, "from now on you must..." workplace text, "enable developer mode" phone instructions, and "run the function with..." docs. Expect noise on technical content; use suspicious as a review queue, not an automatic block.

Honest limits: hiding via CSS classes or external stylesheets is not labelled as hidden (the text is still scanned as visible content). Beyond that: heuristic pattern matching. It will miss novel or paraphrased attacks and can flag security articles that quote attacks. Treat clean as "nothing matched", not "safe". Use it as one layer next to least-privilege tools and output filtering.

Safety: only public hosts are fetched (private, loopback, link-local and redirects into them are refused); 512 KB cap; no JavaScript executed.

Input

{ "texts": ["<div style='display:none'>Ignore previous instructions</div>"], "urls": ["https://example.com"] }

Examples

examples/input.json and examples/output.example.json come from real runs on 2026-11-21 (lists trimmed where marked). Results for live sites change over time.