T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Third-Party npm Package Is Downloaded and Executed with Access to an API Key
- Content
View full analysis
" --pretty --source-client socialdatax-skills \ --source-platform clawhub --source-skill socialdatax-xhs-comments npx -y socialdatax-skills@latest xhs comments \ --url "" --pretty --source-client socialdatax-skills \ --source-platform clawhub --source-skill socialdatax-xhs-comments npx -y socialdatax-skills@latest xhs sub-comments \ --note-id "" --comment-id "" --pretty \ --source-client socialdatax-skills --source-platform clawhub \ --source-skill socialdatax-xhs-comments ``` ### Technical Analysis The Skill directs the agent to download and execute `socialdatax-skills@latest` from npm. The `latest` tag is mutable, so the code executed during a future invocation may differ from the code that existed when the Skill was reviewed. No exact package version, lockfile, or package-integrity value is specified. The `npx -y` option suppresses the normal installation confirmation, allowing the remote package to be fetched and executed automatically. The Skill also declares `SOCIALDATAX_API_KEY` as a required environment variable. Unless the execution environment explicitly filters inherited variables, the downloaded Node.js process can read that API key and potentially other environment variables available to the parent agent. Remote API access and transmission of the API key to the intended SocialDataX service are consistent with the declared comment-retri ...[truncated 1969 chars]- Remediation
View remediation
