Your AI Agent Holds Your Keys. This Free Scanner Checks What It Can Touch
Your AI coding agent reads your code, runs your tools, and holds your keys. That access makes your machine a target, not just your code. Bitdefender Labs found 22 GitHub repos that hijack AI coding agents. The repos use instruction files, hooks, and MCP configs to run a hidden script. The script steals tokens, SSH keys, and cloud credentials. It then plants the same trap in the victim's other repos.
Pantry is a free scanner that checks what your machine exposes. Waffuru released it in November 2026 as open source. It is written in Rust and ships as one static binary. It runs on macOS, Linux, and Windows. The command is wpantry, and the current version is 0.8.0. It costs nothing, and its code carries the MIT license.
How it works
Pantry takes stock of your machine and your repos. It lists every runtime, package, app, and browser you have installed. It reads the lockfiles of every repo under your home folder. It checks those exact versions against open vulnerability data. It reports only what applies to your versions, and it names the version that fixes each issue. Its sources include OSV.dev, the GitHub Advisory Database, and the CISA list of flaws attackers exploit now.
An MCP server is a small program that gives an AI agent a new tool, such as a database or a browser. Pantry lists the MCP servers, plugins, and skills that Claude Code, Codex, Cursor, and Gemini CLI run. It finds code that a repo runs the moment you open it, such as hooks and editor tasks. It flags hidden instructions, such as invisible characters that smuggle orders to your agent. It also flags secrets in git history, malware patterns, and scripts that load with no check that the file is unchanged. It checks your machine settings too, from disk encryption to the firewall.
Try it in three commands
Install it with one command.
curl -fsSL https://waffuru.ai/pantry/install.sh | sh The script picks the build for your machine, checks its checksum, and installs it to ~/.local/bin. Then run wpantry scan. The scan changes nothing on your machine. Read the findings, then preview the safe fixes with wpantry fix --dry-run, or write one offline page with wpantry report --html. Apply them with wpantry fix when you agree with the plan.
Why a scanner that reads everything can still earn trust
A scanner that reads your whole machine must earn trust. Pantry sends only package names and versions to its data sources. File contents, paths, and secrets never leave your machine. It has no telemetry, and it has no AI inside it. The same machine gets the same answer every time. Every release is signed and hashed, and the installer refuses a download that fails its checks.
Honest limits
Pantry is new, and version 0.8.0 shows it. It scans only what sits on your machine, never a remote repo. Some checks need your own free key, such as the breach check and the WordPress check. It cannot see inside a vendor dashboard, so it flags the opening an attack used, not the payload itself. I installed it on a Linux test machine, and the installer confirmed version 0.8.0. I did not run a full scan there, so the scan results in this article come from the vendor page, not from my own run.
Verdict
If you run a coding agent, your agent setup is now part of your attack surface. Pantry gives you one free command to see that surface. Run the scan, read the list, and fix what it names. That is a small habit with a clear payoff: fewer silent openings on the machine that holds your keys.
Follow along
I test AI tools and build in public:
- GitHub: https://github.com/ovu-lab
- YouTube: https://youtube.com/@oVuCyber


