tiangong-kb-report-search
Fail
Audited by Snyk on Aug 20, 2026
Risk Level: HIGH
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (high risk: 1.00). The skill explicitly allows/asks for api_key/report_api_key to be passed as JSON fields which are forwarded as CLI flags (and take precedence over env), meaning the agent would need to include secret values verbatim in generated commands/flags.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The workflow path takes outsider-authored JSON input (including arbitrary
querytext or fullrequest_filecontent) inreport_search.sh, then passes it tonpx @tiangong-ai/cli@latest research search --sources report --jsonvia--queryor--input, meaning the LLM ingests user-supplied free text at runtime.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 1.00). The wrapper defaults to running "npx @tiangong-ai/cli@latest" at runtime (seen in scripts/report_search.sh and SKILL.md), which fetches and executes remote npm package code that the skill relies on to perform searches.
Issues (3)
W007
HIGHInsecure credential handling detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata