Vet AI components (skills, rules files, MCP servers, plugins) on your own laptop, offline by default.
pip install unpick==0.6.0 Copy PIP instructions
unpick vets AI components on your own laptop before you trust them: agent skills (SKILL.md folders), IDE rules files, MCP servers and their tool descriptions, and Claude Code plugins and hooks. It is for people with no security team, no budget and no vendor accounts. It runs offline by default, and it is fully useful with nothing else installed.
To unpick a seam is to take it apart stitch by stitch and see what was sewn in. unpick does that to a Markdown file.
Who this protects: one person or a small team with no security staff, installing AI components that strangers wrote: skills, rules files, MCP servers, plugins and hooks.
What it assumes about the component: it may be hostile, and it may be written to look harmless to a human and to a scanner: hidden Unicode, setup steps that ask you to paste a command, tool descriptions that instruct the model, settings that switch off approvals or reroute your API traffic, and clean versions that turn malicious on a later update.
What it assumes about the tools: every scanner misses things and flags honest files, and any model can be talked out of a finding. So no single source decides, the judge is one witness, and every finding says when it is a false positive.
What it does not protect against: a compromised machine, a malicious agent runtime itself, attacks that only trigger outside a rehearsal, or anything already exfiltrated. It does not replace a sandbox or a runtime guard (see "What unpick does not do").
pipx install unpick or, from a clone, pipx install ..
Python 3.11 or later, on macOS, Linux or Windows 11 (PowerShell 7 or Windows PowerShell 5.1). Optional extras: pipx install '.[yara]' for YARA-X, '.[ui]' for the local web UI (phase 2), '.[watch]' for the watcher (phase 3), '.[tui]' for the home screen, '.[fallback]' for the fallback judge runtime (see below).
Then run unpick setup. It finds Claude Code, Codex CLI and Cursor on this machine, asks which to protect, how strict to be and whether to run the watcher at login, then shows every file it will change before it changes anything. --dry-run stops after showing the changes; unpick setup --undo removes all of it.
unpick on its own opens a home screen in the terminal (with the tui extra): which agents are protected, every add-on on this machine grouped by its worst finding, and recent watcher alerts. s runs setup, c checks something before you install it, i lists every add-on worst first, n shows integrations. Without the extra it prints the command list.
Integrations. unpick integrations lists every optional scanner and AI review provider, whether it is ready, and what it sends off your machine. unpick integrations connect jiffy asks for a Jiffy API key (create one at app.jiffylabs.ai/settings/api-keys), hidden as you type, and hands it to the Jiffy CLI through the environment; the CLI checks it and saves it for your user. unpick stores no keys. Hosted AI review reads the provider's key from your shell; unpick integrations names the variable for each one.
unpick report --html out.html puts the scan, judge opinions, a saved rehearsal, your decisions and (with --inventory) the inventory in one self-contained file that prints in black and white.
Before install. unpick check fetches into ~/.unpick/quarantine/ with nothing executed (git hooks, fsmonitor and submodules off; archives checked for path traversal, links and zip bombs; npm and PyPI downloads checked against the registry's digest), shows who made it, scans it, and --approve prints the install command (never runs it) and adds it to unpick.lock.json.
The hook is the control, the watcher is the backstop. unpick hook install claude-code (or codex, cursor; --dry-run shows the settings change first, uninstall removes it) runs check before an agent installs a skill, plugin or MCP server, or edits an MCP config, and blocks on unaccepted findings at or above --min-severity (default high). It fails closed on installs it cannot check (--fail-open at install, or UNPICK_HOOK_FAIL_OPEN=1, to allow them). Both choices are saved in the hook command. A plugin install you type yourself is not a tool call, so no hook sees it. unpick watch scans what lands in the agents' folders and notifies you; --print-service launchd|systemd|windows prints a run-at-login recipe.
First run in a box. unpick rehearse copies the component into a throwaway home holding only fake secrets, starts a disposable agent driven by the local Granite model inside Docker (no network, read-only root, all capabilities dropped, no new privileges, process limit), gives it a harmless task (--task), and records every file it opens, program it starts and connection it tries (strace inside the box, on every host OS). It needs Docker, unpick judges install fallback --online and unpick rehearse --build --online once. It is evidence, not proof: a component can behave differently outside the box, later, or only when a task triggers it. In testing, demo sample A did nothing when asked to summarise a README, and piped base64 into bash when asked to use the skill.
Also: unpick inventory lists every AI component already on this machine and in this project, unpick decide accept|reject|ask-author records what you concluded about a finding, and unpick demo writes the talk's demo kit. Every command takes --json and --no-color.
unpick ui opens a local web app on 127.0.0.1 (random port, localhost-only, per-launch token, strict CSP, no external assets, works with Wi-Fi off). It calls the same functions as the CLI; every screen exports the same JSON as --json and the same HTML as --html FILE. Screenshots at 1920x1080 are in docs/screenshots/ui/.
Exit codes for scan: 0 clean, 1 unaccepted findings, 2 error (including "nothing was scanned"), 3 a requested backend or judge was unavailable.
Three layers. Only the hook can stop an install. The skill and the rules snippet remind the agent. What each layer misses is in docs/research/ux-and-integration.md.
unpick hook install claude-code --dry-run unpick hook install claude-code After the Codex install, open /hooks in Codex and trust the new hook. That trust follows the command text, so a changed command has to be trusted again.
mkdir -p ~/.claude/skills && cp -R integrations/claude-code/skills/unpick ~/.claude/skills/unpick mkdir -p ~/.agents/skills && cp -R integrations/claude-code/skills/unpick ~/.agents/skills/unpick Rules snippet, once. Codex reads a repo AGENTS.md and ~/.codex/AGENTS.md on its own. Cursor treats AGENTS.md as rules. Claude Code, from version 2.1.277, reads ./AGENTS.md only when the working directory and its parents have no CLAUDE.md and no CLAUDE.local.md. If CLAUDE.md exists, put a line containing only @AGENTS.md at the top of it. A file that already has that line does not need a second one. cat integrations/AGENTS.md.snippet >> AGENTS.md A Claude cloud or Cowork session does not read ~/.claude/skills on this machine. A Cursor cloud agent does not load ~/.cursor/hooks.json, which is where unpick hook install cursor writes.
Like antivirus, unpick can take a flagged add-on out of your agent's reach without deleting it:
unpick recover (or --all when there is no single suspect; --since 2026-10-17 sets the window) runs the incident runbook in order:
It writes incident- .md, a plain-language summary you can hand to someone more technical.
If a credential stealer ran, rotation is not optional. unpick cannot undo exfiltration. Recovery means containment, rotation, and knowing what happened.
Every finding carries its rule id, its source (builtin, backend: , judge: or rehearse), a severity, the matched line with three lines of context, one sentence on why it fires and one on when it is a false positive. When several sources run, each finding says how many agreed. You record a decision; accepted findings stay quiet until the matched line changes.
Nothing leaves the machine unless you pass the flag in this table or say yes to a consent prompt. There is no telemetry, no auto-update and no version check.
Every other backend and judge runs locally: built-in checks, Cisco skill-scanner (static mode), Cisco mcp-scanner (YARA on a saved tools file, with LITELLM_LOCAL_MODEL_COST_MAP=True so litellm does not fetch its cost map), YARA-X, Apple Intelligence, Ollama, llama.cpp, LM Studio, MLX, Foundry Local and the fallback judge. Local judges only ever talk to loopback addresses; a non-loopback URL is refused.
unpick backends shows what is installed and the version each adapter was tested against. --boxed runs scanners in a no-network box: Anthropic sandbox-runtime if installed (pnpm add -g @anthropic-ai/sandbox-runtime, macOS and Linux), otherwise Docker with --network none and the target mounted read-only, otherwise it refuses.
A judge is one witness, never the jury (docs/JUDGES.md). unpick judges lists what was found. --judge auto picks the first on-device one, in this order: Apple Intelligence (macOS 26+, Apple silicon), Ollama, llama.cpp, LM Studio, MLX, any loopback OpenAI-compatible server, Foundry Local, then the fallback judge.
Fallback judge for Windows and Linux. When no other local model exists, unpick can use IBM Granite 4.1 3B (Apache-2.0), run in-process on CPU by llama-cpp-python. No weights ship with unpick. One opt-in command sets it up: unpick judges install fallback --online installs the llama-cpp-python runtime into unpick's own environment (a prebuilt CPU wheel on Windows x64 and Linux, no compiler needed; a source build on macOS, which needs the Xcode command line tools, because the published macOS wheels are corrupt), then downloads one pinned 2.1 GB GGUF file from IBM's Hugging Face repository and checks its SHA-256. A file that does not match is never loaded. Version 0.3.17 or later is required (CVE-2026-27940).
Be clear about what it is: on the adversarial corpus Granite was fooled on three of four files, once by obeying a planted "return an empty list" instruction. It is a witness of last resort, not a safety net.
Hosted judges (Claude Code CLI, Gemini CLI, an API key in your environment) are never used automatically. Codex CLI and Grok CLI are detected but never used as judges, because neither can be confirmed to run with zero tools.
UNVERIFIED items are listed in docs/VERIFIED.md and warned about at run time: the api judge tier's provider endpoints, LM Studio's default port, Foundry Local's structured output, and nine inventory locations.
Apache-2.0. The demo kit and adversarial corpus are CC0. Vendored test corpora keep their own licences (tests/fixtures/*/NOTICE.md and SOURCES.md).
All 2 files in this release have provenance metadata.
agent-skills ai mcp prompt-injection scanner security supply-chain
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




