baoyu-post-to-wechat

Fail

Audited by Snyk on Jun 23, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The prompt instructs the agent to prompt the user for WECHAT_APP_ID and WECHAT_APP_SECRET and then write those values verbatim into a .env file (and potentially embed them in commands), which requires the LLM to handle and output secrets directly.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.75). High likelihood: the runtime path scripts/md-to-wechat.ts downloads remote images referenced by outsider-controlled markdown (http(s)://... in ![](...)) via downloadFile() and then passes the resulting HTML/text through scripts/md/render.ts (marked) into the agent’s LLM context as readable prose (rendered HTML/metadata), enabling indirect prompt injection via remote content.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

Issues (3)

W007
HIGH

Insecure credential handling detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
HIGH
Analyzed
Jun 23, 2026, 01:51 AM
Issues
3
Security Audit — snyk — baoyu-post-to-wechat