little-canary
Use when you need to screen inbound untrusted text before it reaches a primary model — detecting prompt injection by its behavioral effect on a sacrificial…
Skill by hermes-labs-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hermes-labs-ai-little-canary
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/little-canary
What's inside
- Skill name
little-canary- Description
- Use when you need to screen inbound untrusted text before it reaches a primary model — detecting prompt injection by its behavioral effect on a sacrificial canary model, not just pattern matching — and want a block/flag/pass routing decision plus explicit behavioral-coverage state. Inbound preflight sensor, not a guarantee.
- License
- Apache-2.0
- Compatibility
- Requires Python 3.9+; installs via `pip install little-canary` or runs standalone via `uvx little-canary`. Live demo mode needs a local Ollama instance; replay mode needs no network.
- Instructions
- 78 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# little-canary little-canary detects prompt injection by its effect on a sacrificial canary model, not just pattern matching: untrusted input hits a powerless model first, a behavioral check reads the residue, and it returns block, flag, or pass before your primary model acts. Inbound preflight sensor, not a guarantee. ## Use it for - Screening inbound untrusted text before it reaches a main model - Combining structural pattern checks with sacrificial-canary behavior checks - Getting a routing decision (block/flag/pass) plus an explicit behavioral-coverage state (`REPLAY`, `LIVE`, `MOCK`, `STATIC_ONLY`) - Running a local HTTP detection server in front of an agent's input path ## Do not use it for - A guarantee that prompt injection is impossible - A replacement for runtime containment controls - A benchmark suite ## Quickstart ```bash pip install little-canary little-canary demo --replay ``` Or without installing, via [uv](https://docs.astral.sh/uv/): ```bash uvx little-canary demo --replay ``` Real output (no packaged replay fixture admitted in this environment): ``` RUN_KIND REPLAY MODEL_CALL no — recorded output CANARY NOT EXERCISED THIS RUN EGRESS none REPLAY UNAVAILABLE DETAIL no admitted replay fixture is packaged ``` Live contrast against a local Ollama backend: ```bash uvx little-canary demo --live --backend ollama --model qwen2.5:1.5b ``` ## Output shape - `demo --replay`: verifies analyzer behavior only when admitted response bytes are packaged; otherwise exits `REPLAY UNAVAILABLE` — unavailable replay is never evidence that input is safe - `demo --live`: exercises the fixed synthetic contrast against loopback Ollama and binds the result to one backend, model digest, runtime, and configuration - `serve`: persistent HTTP detection server; returns a verdict object with safety, degradation, canary/analysis status, summary, risk, and optional advisory text - `--json`: emits the stable `little-canary-demo/v1` schema ## Common gotchas - `REPLAY` verifies analyzer behavior only when admitted response bytes are packaged; an unavailable replay result must not be read as "input is safe." - Replay never calls a model — it is bytes-in, verdict-out. - Remote backends receive raw input; a configured judge receives raw input plus canary output. ## More Full docs and CLI reference: https://github.com/hermes-labs-ai/little-canary
From hermes-labs-ai/little-canary, Apache-2.0.
Compare and alternatives
Featured in
Signals
- Stars
- 41
- Forks
- 9
- Open issues
- 1
- Last commit (this folder)
- Sep 24, 2026 (1 month ago)
- Last release
- Oct 20, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/hermes-labs-ai/little-canary
- Website
- littlecanary.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hermes-labs-ai
- 0.783score
lintlang
hermes-labs-ai
Lint AI agent instruction files (SKILL.md, CLAUDE.md, AGENTS.md, GEMINI.md), tool definitions, system prompts, and agent configs with the deterministic…
SkillAFreshness: A★ 143Claude Code +9 - 0.783score
lintlang-release
hermes-labs-ai
Prepare, verify, publish, resume, or dry-run a LintLang release from merged main.
SkillAFreshness: A★ 143Claude Code +9 - 0.783score
lintlang-audit
hermes-labs-ai
Audit a named AI agent config, system prompt, tool-definition or instruction file (YAML, JSON, Markdown, text, or Python) with the released LintLang CLI, on…
SkillAFreshness: A★ 143Claude Code +9 - 0.783score
lintlang-audit
hermes-labs-ai
Audit a named AI agent config, system prompt, tool definition, or instruction file (YAML, JSON, Markdown, text, or Python) with the released LintLang CLI in…
SkillAFreshness: A★ 143Claude Code +9 - 0.783score
lintlang
hermes-labs-ai
Use when writing or reviewing AI agent configs, system prompts, or tool definitions (JSON/YAML/Python) and you need to catch ambiguous tool descriptions…
SkillAFreshness: A★ 143Claude Code +9 - 0.645score
Fidelis Memory
hermes-labs-ai
Recall locally stored agent memories through an MCP-compatible host.
ConnectorAFreshness: ALocal★ 24↓ 66/wkClaude Code +5
Cite this page
little-canary skill. Agent Mart. https://agentmart.dev/skills/hermes-labs-ai-little-canary (last updated 2026-10-24)