heldkeys
github.com/hugomn/heldkeys- Category
- Cybersecurity
- Rank
- No. 2060Tools index
Previous survey · No. 1980 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Security & Identity
- Interfaces
- CLI
- GitHub
- 8 stars
- Latest release
- v0.3.0
- Date
About
heldkeys is a command-line tool that lists the credentials an AI agent could reach if a prompt injection hijacked it, on a laptop, in a sandbox or in CI. It also flags risky AI agent steps in GitHub Actions workflows, such as agents on triggers anyone can fire. It reports only fingerprints of known token formats and never prints secret values, so the output is safe to share.
At a glance
heldkeys inventories credential sources and other sensitive capabilities visible to a local process or agent sandbox. It is worth using if you want to check what a coding agent can reach before giving it broader work.
Good fit
Developers comparing a normal shell with a restricted agent environment.
Consider something else when
Skip it as a replacement for credential isolation or as a complete inventory of every secret an agent could discover.
Start here
Use a disposable environment with a fake credential marker. Run the inventory from inside that environment and check whether it identifies the source without showing the fake value.
Cost and requirements
The MIT-licensed scanner documents Linux and macOS binaries. It reads local configuration and environment information. Review findings before sharing them because they can reveal paths and services.
Limits to know
The result depends on the environment and detectors used. An empty report cannot establish that an agent has no sensitive access.
Related work
- Secret Guard (complement)
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.