seo-gsc-diagnostics
Warn
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/gsc_diagnostics.pyusespickle.load()to deserialize local authentication tokens. This is an inherently unsafe operation because thepicklemodule is not secure against erroneous or maliciously constructed data. An attacker who can write a malicious payload to the token file (~/gsc_token.pklor the path inGSC_TOKEN_PATH) can achieve arbitrary code execution when the skill is run. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the Google Search Console API, such as search queries and page URLs.
- Ingestion points: The
query_gsc()function inscripts/gsc_diagnostics.pyfetches data from thesearchanalytics.queryendpoint, which includes user-controlled search queries. - Boundary markers: No explicit delimiters or instructions to ignore embedded commands are used when the agent processes or reports these queries.
- Capability inventory: The skill uses
Bash,Write,Glob,WebSearch, andReadtools, providing a wide surface for an injected command to interact with the environment. - Sanitization: The script does not sanitize or validate the content of the queries or URLs before printing them to standard output or writing them to the JSON output file.
Audit Metadata