roli-lpci/little-canary

Sacrificial LLM instances as behavioral probes for prompt injection detection

41
/ 100
Emerging

Combines structural pattern detection (regex + encoding-aware decode checks) with behavioral analysis via a small sacrificial LLM probe that runs at temperature=0 to detect compromise signals like persona adoption or instruction leakage. Supports both local Ollama models and OpenAI-compatible cloud APIs (MiniMax, Groq, Together, etc.), offering three detection modes (block, advisory, full) that integrate directly into existing LLM apps with ~250ms latency overhead and optional LLM-based verdict classification.

Available on PyPI.

Maintenance 13 / 25
Adoption 10 / 25
Maturity 18 / 25
Community 0 / 25

How are scores calculated?

Stars

7

Forks

Language

Python

License

Apache-2.0

Last pushed

Mar 09, 2026

Monthly downloads

382

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/roli-lpci/little-canary"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.