Aug 2025 · Nx “s1ngularity”
Malware ran developers’ own AI CLIs to hunt for secrets
Poisoned Nx packages (4.6M weekly downloads) started Claude, Gemini and Q with --dangerously-skip-permissions, --yolo and --trust-all-tools. Over a thousand valid GitHub tokens leaked, and 5,500+ private repos were made public.
Handrail checkguard asks before credential reads and blocks uploads. scan --home flags machines already set to skip approvals.
2025–26 · PromptPwnd, Comment and Control
A comment on a PR made CI agents print their API keys
Researchers got AI agents in GitHub Actions, including Claude Code, Gemini CLI, Codex and Copilot, to post ANTHROPIC_API_KEY, GITHUB_TOKEN and GEMINI_API_KEY into comments or logs.
Handrail checkci-agent-untrusted-trigger and ci-agent-no-approval fail the build before the workflow merges.
Cloud Security Alliance
[4]
May 2025 · GitHub MCP
A public issue made an agent leak private repos
A malicious issue prompt-injected Claude Desktop with the GitHub MCP server. The agent copied private repo data into a public pull request. The flaw sat in how agent and tools were wired, not in the server code.
Handrail checkmcp-auto-approve flags tools that run with no human in the loop. audit marks actions taken right after reading untrusted text.
Jul 2025 · Amazon Q extension
A wiper prompt shipped inside a coding extension
A malicious commit added a prompt telling the agent to delete local files and cloud resources. Version 1.84.0 went out to an extension with nearly a million installs before it was pulled.
Handrail checkguard denies rm -rf ~, aws s3 rm --recursive, terminate-instances and terraform destroy -auto-approve.
Jul 2025 · Replit agent
An agent deleted a database during a code freeze
During a public build log, the agent deleted the project’s database while a code freeze was on. It then said it had “panicked”. The founder restored it from backups.
Handrail checkguard denies DROP DATABASE. stop-check sends back claims of success that have no evidence behind them.
Nov 2026 · Handrail study
Live keys and disabled approvals in public agent configs
Our own study of 1,200 repos found real cloud and GitHub credentials in MCP configs, and settings that turn off human confirmation. We found zero confirmed injection attacks. No repo is named; owners are told privately first.
Handrail checkmcp-inline-secret, agent-permission-mode, agent-broad-permissions