gsc-cli
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes data from the Google Search Console API, which serves as a potential vector for indirect prompt injection from external sources.
- Ingestion points: API responses returned by the
http_jsonfunction inscripts/gsc_cli.py. - Boundary markers: The CLI output is raw JSON, providing no specific delimiters or instructions to the agent to disregard embedded content.
- Capability inventory: Local script execution, writing to a configuration file, and network access to Google APIs.
- Sanitization: The script ensures the response is valid JSON, but does not sanitize text content within that JSON for malicious instructions.
- [SAFE]: The skill handles sensitive credentials securely by storing OAuth tokens in
~/.config/gsc-cli/config.jsonwith restricted filesystem permissions (0o600) and masking secrets likeaccess_tokenandrefresh_tokenin CLI status summaries. - [COMMAND_EXECUTION]: The
analytics_querycommand includes a feature to read local JSON files via the--body-json @pathsyntax, which is a standard pattern for providing complex input from the local environment.
Audit Metadata