Back to skill

Security audit

antigravity-cli

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because its installation instructions pipe a downloaded script directly into Bash without a verification step; the scanners report no evidence of malicious intent.

Consider not installing until you can verify the installer through a trusted signed package or an independently confirmed download. The scan covered all eight listed components, but the verdict remains suspicious because the installation command could run unverified code with your permissions.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

External Script Fetching

High
Category
Supply Chain
Confidence
95% confidence
Finding

The command pipes a mutable remote script directly into Bash, allowing its contents to execute without prior review or independent authenticity verification. This is a legitimate installation use case, not evidence of malicious intent, but compromise of the installer distribution could lead to arbitrary code execution with the user's privileges.

Content

Scanner excerpt · references/cli-usage.md (reported line 58)May include surrounding context.

Mac/Linux:

bash
curl -fsSL https://antigravity.google/cli/install.sh | bash

Windows PowerShell:

Chaining Abuse

High
Category
Tool Misuse
Confidence
92% confidence
Finding

The pipeline connects network-supplied content directly to a command interpreter, crossing a trust boundary without an intervening verification step. This is the same underlying download-and-execute vulnerability identified by SC2, not evidence of a separate malicious chaining scheme.

Content

Scanner excerpt · references/cli-usage.md (reported line 58)May include surrounding context.

Mac/Linux:

bash
curl -fsSL https://antigravity.google/cli/install.sh | bash

Windows PowerShell:

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
85% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/cli-usage.md (reported line 31)May include surrounding context.

md
| `--disable-slash-commands`       |       | Disable slash command and skill expansion in print mode                       |
| `--project` / `--new-project`    |       | Project ID or create a new project for the current CLI session                |
| `--sandbox`                      |       | Run with terminal sandbox restrictions enabled                                |
| `--dangerously-skip-permissions` |       | Auto-approve all tool requests without prompting                              |
| `--add-dir <path>`               |       | Add a workspace directory; repeatable                                         |
| `--log-file <path>`              |       | Override log file location                                                    |

Installation instructions execute downloaded scripts without a safety warning.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The installation examples execute remotely downloaded code without an inspection step, integrity verification, or warning about the trust involved. Although installation guidance is appropriate for this skill and the URLs use HTTPS, a compromised distribution endpoint could supply code that runs with the invoking user's permissions.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
85% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/security-permissions.md (reported line 9)May include surrounding context.

md
- `deny`: block immediately.
- `ask`: pause and request explicit approval.
- `allow`: auto-approve.

Precedence is strict: `deny` wins over `ask`, and `ask` wins over `allow`.