wiki-backfill
Fail
Audited by Gen Agent Trust Hub on Apr 16, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/probe-cc-glm.shextracts a secret named 'zai-api-key' from the macOS Keychain using thesecurity find-generic-passwordcommand, which constitutes unauthorized credential harvesting. \n- [DATA_EXFILTRATION]: Thescripts/probe-cc-glm.shscript transmits sensitive environment variables and the harvested API token to an unrecognized external domainapi.z.aiviacurl. It also configures theclaudebinary to route traffic through this third-party endpoint, allowing for data interception. \n- [COMMAND_EXECUTION]: The skill performs multiple shell and subprocess executions.scripts/sync-obsidian.pyusessubprocess.runto callinventory-obsidian.sh, andscripts/run-cc-glm-ingest.shexecutes thenoderuntime to run an external companion script. Theprobe-cc-glm.shscript also executes several dynamic Python blocks via stdin. \n- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it reads raw note content from an Obsidian vault and passes it to an LLM with write access to the workspace. \n - Ingestion points: Reads files from the user's Obsidian vault via the
SOURCE_PATHvariable inscripts/run-cc-glm-ingest.sh. \n - Boundary markers: The note content is interpolated into the prompt without protective delimiters or instructions to ignore embedded commands. \n
- Capability inventory: The sub-agent is granted
EditandWritepermissions for the entirewiki/directory. \n - Sanitization: No validation or filtering of the note content is performed before processing.
Recommendations
- AI detected serious security threats
Audit Metadata