Repository navigation
Releases
agentprint 0.1.1
agentprint 0.1.1: Windows, native plugins, 14 more agents, hidden keys, and a guard that reads the scripts your agent runs.
Install: uvx agentprint (PyPI) or npx agentprint-cli (npm). Docs: https://adighatakdas-cloud.github.io/agentprint/
Catches more
- Keys hidden from ordinary scanners: split across strings, behind invisible characters, continued across lines, inside YAML block scalars, in base64 (long and short), and empty-quote splits inside words or JSON strings. Plain matches still win, every hidden copy is masked in output, and
fixnever rewrites a hidden key (it goes to "Needs you"). - 27 more key formats, publishing tokens first: npm, PyPI, GitLab, Docker Hub, Hugging Face, Groq, OpenRouter, xAI, Perplexity, Replicate, Supabase, Cloudflare, DigitalOcean, Linear, Notion, Shopify, Atlassian, Postman, SendGrid, Doppler, 1Password, Google OAuth, plus Slack app tokens; DeepSeek, Twilio, Discord and Telegram only next to their name.
- Obvious placeholders such as
ghp_xxxx…orxoxb-your-bot-tokenare not reported. - 14 more agents scanned in full: Cline, Claude Desktop, Kilo Code, Zed, Goose, Aider, Continue, Qwen Code, Crush, Kiro, Factory Droid, Augment, Amp and Junie. Their databases are read strictly read-only.
- The publish and push guard now reads commands the way the shell does: variables,
eval,bash -c, here-documents, wrappers that pass their arguments on, shell scripts, make and just recipes,npm versionhooks and inline code (python -c,node -e). A publish or push it sees but cannot fully account for is "could not check" (a warning, a block in strict mode), never a silent pass; ordinary commands stay quiet. Some forms stay out of its sight (listed in the docs), which is whatagentprint protectand strict mode are for. An external red-team's bypasses (evalof a variable, a publish assembled insidepython -c) are now regression tests. - AP010 flags risky agent extensions: hidden or bidi characters in instructions, piped remote installs, base64 that decodes to shell, and instructions that read a credential and send it out. AP011 flags MCP servers launched without a pinned version. Both cover the skills, rules, commands, hooks and plugins of all 24 agents.
Fixes more
- A block no longer repeats a key typed into the command (this was in 0.1.0 too), and text from project config is masked the same way.
fixwrites the environment reference each agent documents in place of an MCP key (VS Code, Qwen Code, Amp, Factory Droid, Augment, Kilo Code, Crush, Claude Code).- A locked or unreadable file is named in a "not checked" line instead of being skipped silently.
Fits in more places
agentprint protect: an opt-in safety net at git and npm themselves. A pre-push hook checks the commits actually being pushed and an npmprepublishOnlystep checks the package, so a publish or push hidden from the agent (ineval, built inside Python) is still caught. Shared files fail open for teammates unless you choose strict.protectkeeps no copy ofpackage.json, only the few pieces it replaced and checksums, and--undorestores the file byte for byte.- Native plugins and extensions for Claude Code, Codex, Copilot CLI, Gemini CLI, Cursor, Antigravity and Hermes, as an alternative to
agentprint install.agentprint statustells you when a plugin is really enabled, and when agentprint is armed twice. - Windows (now a required CI platform):
installadds the MCP server and the note (hooks on Windows come in a later release;agentprint statussays so); AP008 and the permission lock read real Windows access lists (lock with the built-in icacls, exact undo); safe writes and UTF-8 I/O; Windows runs in CI on every change. - Project config (
.agentprint.toml/[tool.agentprint]) with ignore rules, and a baseline of accepted findings that never stores a key. A key that would ship always blocks, a project can't accept findings in your home folder, and badges signed by agentprint ignore project config. - Strict mode (
AGENTPRINT_STRICT=1,guard --strict,install --strict,protect --strict): a publish or push agentprint can't check is blocked instead of allowed with a warning, and if agentprint itself can't start, every layer (hook, plugin, git, npm) blocks too. Default mode never stops your work because agentprint is missing. - A pre-push hook for pre-commit, plus lefthook and husky snippets, that check what is actually being pushed and let teammates without agentprint push. A prepared listing file for the official MCP registry.
Proof
- A public benchmark against gitleaks and trufflehog on a labelled corpus, scored the same way for every tool, with plain and hidden recall shown separately and its limits stated. On its 195 cases agentprint finds 118 of 118 keys (69 of 69 plain, 49 of 49 hidden) with 7 false positives among 77 look-alikes; gitleaks finds 63 (54 plain, 9 hidden, 14 false positives) and trufflehog 63 (53 plain, 10 hidden, 0 false positives). The hidden-key rows test what agentprint was built to catch, so they favour it.
- Property-based tests on the riskiest code and weekly mutation testing.
- A 60-second agent-in-the-loop demo: a simulated agent, real agentprint output.
Release commit: 4ae24ae6156c29743dc1fcadf48a10a489a4f4e4 (use it as --signer-digest when verifying a badge signed by agentprint's own workflow).
agentprint 0.1.0
The first release of agentprint: the security check your AI coding agent runs for you.
Install: uvx agentprint (PyPI) or npx agentprint-cli (npm). Docs: https://adighatakdas-cloud.github.io/agentprint/
Highlights
agentprint scansweeps your machine and project for keys in AI agents' history and settings, risky permissions and hooks, and agent files other users can read.agentprint fixturns BLOCK into CLEAR. It masks leaked keys in place (keeping no copy), moves Claude Code MCP keys to environment references, adds exact ignore lines and locks file permissions. It leaves you only what needs a human, such as rotating keys.agentprint packpreflights what your npm or PyPI package would publish. That includes AP009, which flags what would let an AI rebuild your source in closed-source packages.agentprint installarms Claude Code, Codex, Cursor, Gemini CLI, Windsurf, Devin, OpenCode, Copilot, Hermes and Antigravity with a tripwire beforenpm publish,uv publishandgit push, plus an MCP server and a short brief.- A GitHub Action, a pre-commit hook, and a verifiable CLEAR badge.
- Offline by design: no telemetry, no account, and keys are always shown masked.
Release commit: 0c7fe3396d4ef4a73e94d9c126d65300319a6441 (use it as --signer-digest when verifying a badge signed by agentprint's own workflow).