T08 · Insecure Dependencies
- Location
SKILL.md:36- Finding
Unpinned Third-Party Repository and Dependency Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is for a real WeChat publishing workflow, but it asks the agent to run mutable third-party code and use account session cookies with insufficient scoping safeguards.
Install only if you trust the referenced GitHub publisher project and are comfortable letting an agent run npm code that can access your local environment and WeChat publishing session. Prefer pinning the repository and dependencies, running the workflow in a restricted workspace or container, and requiring confirmation before login, installation, file writes, and draft creation.
SKILL.md:36Unpinned Third-Party Repository and Dependency Execution
SKILL.md:98Shell Command Injection Through an Unquoted Configuration Path
The description includes broad trigger phrases like “发公众号” and especially “发微信,” which can overlap with ordinary conversation and cause the skill to activate in contexts the user did not intend. Because this skill can run shell commands, install dependencies, open browser-driven login flows, and publish content to a real WeChat draft account, accidental invocation could lead to unintended external actions and data handling.
The skill instructs use of npx playwright without pinning a specific version, which allows whatever version resolves at execution time to be installed or run. In an agent context that executes shell commands, this creates a supply-chain risk: a compromised upstream package, unexpected major-version change, or registry manipulation could alter behavior or execute unreviewed code on the host.