ClawAudit verdict
tokenrouter-image-generator
tokenrouter-images
Image generation client that reads PBD_TOKENROUTER_API_KEY and sends prompts to the TokenRouter API; straightforward API client with transparent credential and network use matching its stated purpose.
⚠ Flagged for review — coarse, uncorroborated signal, not a confirmed exploit. Review the config yourself before installing.
Automated static analysis — not a human review. ClawAudit flags capabilities, not confirmed intent, and can produce false positives. Disagree with this verdict? Use Dispute below.
Findings (6)
Possible hardcoded credential
SKILL.md · prose · downgraded · API_KEY="sk-xxx...
Attempts to modify skills or system prompts
scripts/generate_image.py · prose · downgraded · edit instructions
Instruction-prose smuggling shape detected: collects a sensitive target ("API key") and emits it outward ("paste"). Phrased as prose with no trigger tokens — a semantic prompt-injection / data-exfil pattern the syntactic scanners can't see. Final tier capped at Caution; review the instructions before installing.
SKILL.md · 1. Tell the user they need a TokenRouter API key. 2. Direct them to open: **https://www.tokenrouter.com** 3. Walk them through the steps: - Register or sign in
Accesses OpenClaw config/secrets directly
SKILL.md · prose · downgraded · ~/.openclaw/openclaw.json
Accesses shell history/config
SKILL.md · prose · downgraded · ~/.zshrc
Python os.environ.get — reads environment variable
scripts/generate_image.py · prose · downgraded · os.environ.get(
Permissions & capabilities
No declared permissions — minimal attack surface.
credential_access Is this flag fair?
Thanks — recorded.