Skip to content

v0.25.0 — security release

Choose a tag to compare

@yuting0624 yuting0624 released this 24 Aug 05:05
· 39 commits to master since this release

Security release for GHSA-hwv2-vjgj-8rcv (CVSS 8.6), reported privately by @Valkyness.

Update if you use the antigravity-delegate subagent against content you do not fully control.

/plugin marketplace update antigravity-for-claude-code
/reload-plugins

hooks/validate-delegate-bash.sh is the only control on what that subagent may run via Bash. It authenticated a command by name, not identity, in two ways:

  • it reduced the first token to its basename, so ./agy-delegate out of a cloned repository was authorised — untrusted repository content being the exact prompt-injection source the threat model names;
  • it allowed a pipeline from git/cat/echo/printf without looking at their arguments. git -c alias.x='!cmd', --exec-path=, -c core.pager= and --ext-cmd= each execute arbitrary commands, and cat file | agy-delegate - sent any file or $VAR to the external model.

A wrapper must now be a bare name, and no pipeline is accepted at all. Nothing depended on it: the subagent's own contract already said the gate blocks everything but the wrapper, and commands/review.md's git diff | agy-delegate - runs as the main Claude, which this hook never gated.

agy-media now prints what --yolo --dir exposes before it runs.

298 tests, 13 new — every proof from the advisory, each verified to fail against the unfixed gate. Also closes code-scanning alert #1, which CodeMender raised independently against the same code.

Full detail: CHANGELOG.