cd /news/ai-safety/a-real-prompt-injection-case-and-the… · home topics ai-safety article
[ARTICLE · art-31477] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=· neutral

A real prompt-injection case — and the blind spot it exposed in my own scanner

A developer documented a blind spot in their own prompt-injection scanner after studying a real-world case where GitLab Duo was manipulated via hidden instructions in project content. The scanner, which checks for system-prompt leakage as readable strings, fails to detect encoded or obfuscated leaks such as those using Unicode smuggling or Base16 encoding. The developer added an explicit warning to the tool rather than claiming coverage it does not have.

read1 min views1 publishedJun 17, 2026

There's a documented real-world case worth learning from: in 2025, researchers at Legit Security showed GitLab Duo could be steered by instructions hidden inside ordinary project content. Part of what made it work was concealment — payloads obscured with tricks like Unicode smuggling and Base16 encoding so they wouldn't be obvious to a human or a naive text filter. GitLab patched it (tracked as duo-ui!52).

I bring it up because it lines up with a blind spot I just documented in my own scanner. My tool checks for Category-1 system-prompt leakage as readable strings. If a leak is base64'd, split across tokens, spaced out, or otherwise transformed, my deterministic substring matcher doesn't see it. Rather than imply coverage I don't have, I added an explicit warning to the scan output and --canary help: encoded/split leaks are not detected.

The honest framing: catching the plain, verbatim case is real and testable. Catching every encoded variant is not something a deterministic matcher does — and pretending otherwise would defeat the purpose.

The scanner (and the limitation itself) is open source: https://github.com/ghkfuddl1327-wq/rojaprove

── more in #ai-safety 4 stories · sorted by recency
── more on @legit security 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-real-prompt-inject…] indexed:0 read:1min 2026-06-17 ·