
Top AI Coding Agent security resources — August 2026
Adversa AI's monthly roundup of AI coding agent security resources for August 2026, covering 19 items across attack techniques, defenses, vulnerabilities, incidents, CISO guidance, and threat modeling. Highlights include a cross-vendor symlink/approval-bypass pattern (GhostApproval) in six coding assistants, two CVSS 9.8 zero-click RCEs in Cursor (DuneSlide), AWS Kiro rewriting its own MCP config after reading hidden web page text, GitHub Agentic Workflows leaking private repos via a public issue comment (GitLost), and a Claude Code agent wiping a production database via a misconfigured Prisma migration. The piece closes with a synthesis arguing approval prompts can't be trusted, repositories (READMEs, issues, skill files) must be treated as hostile input, and destructive operations need their own permission class with automated policy enforcement.
What it is
This August 2026 digest aggregates 19 distinct AI coding agent security resources, most already named in the catalog summary. But the page carries specific per-item mechanisms, benchmark numbers, and a named prior attack class the summary omits.
How it works
- MOSAIC: a CLI command composition attack where individually benign commands form a dangerous producer-consumer relation across a command trace that per-command safety checks never inspect. Reaches a 96.59% attack success rate against real coding agents on ordinary developer tasks.
- HalluSquatting: exploits agents hallucinating resource identifiers (skill/package names) that don't exist; attacker pre-registers those names so the hallucination resolves to attacker-hosted promptware. Hits 100% hallucination rate in skill-installation scenarios and is described as an untargeted "agentic botnet" with no victim selection.
- Setup-instruction weaponization: editing only a README or requirements file redirects an agent to untrusted registries/package names at install time; attacks planted in source were "missed almost everywhere" by existing checks.
- Friendly fire: a defensive code-review agent is persuaded by injections hidden in ordinary repo files to execute the very artifact it was asked to inspect — no hooks, skills, or MCP servers required, defeating the "we don't install third-party extensions" defense.
- Scanner bypass: a single malicious skill file passed all eight tested open-source skill scanners using encoding, homoglyph, paraphrase, and bundled-code techniques.
- GhostApproval context: explicitly stated to be the same bug class Adversa AI reported earlier in five other AI coding agents — this piece is independent confirmation plus additional vendor coverage, not a new discovery.
Preconditions / Affected
Applies broadly wherever agents install packages/skills from names they generate or resolve (HalluSquatting, setup-instruction attacks), where agents are given code-review/defensive tasks (Friendly fire), or where orgs rely on open-source skill scanners as a gate (scanner bypass).
What to do
The synthesis gives a concrete two-part control for the skill-naming problem specifically: an allowlist of sources the agent may resolve names against, backed by runtime detection (e.g., SkillGate) and an OS-level sandbox — explicitly instead of an agent-level denylist, since denylists are the thing HalluSquatting and the scanner bypass both defeated.
Caveats
Numbers (96.59%, 100% hallucination rate, 8/8 scanners bypassed) are as reported by each respective paper/post, not independently verified by Adversa AI.
Organisations named here
- CWE-451
- CWE-61
- DuneSlide
Technologies named here
- Cursor
- MOSAIC
- HalluSquatting
- AWS Kiro
- IssueTrojanBench
- SkillGate
- GitHub Agentic Workflows
- Claude Code
- Eight open source AI skill scanners
- Supabase
- Six top coding assistants
- Hugging Face
- Four agentic coding tools
- GitHub
- AWS
- Model Context Protocol
- Kiro
Techniques named here
- Symlink and approval bypass
- CLI command composition attack
- Adversarial skill/package name squatting
- Setup instruction weaponization
- Malicious issue request injection
- Defensive agent hijacking for RCE
- Agent data injection
- Cursor deeplink exploitation
- GitLost prompt injection via issue body
- DuneSlide zero-click prompt injection
- MCP config self-rewrite via hidden web text
- Skill scanner bypass
- Sandbox escape patterns
- SkillGate runtime detection
- Lifecycle-aware skill threat taxonomy
- GhostApproval
- GitLost
Related in AI Security
