T08 · Insecure Dependencies
- Location
SKILL.md:82- Finding
Unpinned npm Package Is Downloaded and Executed Without Verification
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:82-98; additional usage appears inSKILL.md:134-135andREADME.md:42-51
Vulnerability Type: Unverified third-party dependency execution
Risk Level: HighVulnerable Code
markdown ## Setup and verification The skill only teaches the agent how to use the tool. The actual CLI is the npm package `chrome-devtools-axi`; source repo: https://github.com/kunchenguid/chrome-devtools-axi Prefer `npx` for one-off use so the CLI is installed on demand: ```bash npx -y chrome-devtools-axi --help npx -y chrome-devtools-axiUse a global install only when repeated shell use matters:
bash npm install -g chrome-devtools-axi chrome-devtools-axi --helptext The same unsafe execution pattern is also presented in `README.md`: ```bash npx -y chrome-devtools-axi --help npx -y chrome-devtools-axi open https://example.comOr install globally for repeated shell use:
bash npm install -g chrome-devtools-axi chrome-devtools-axi --helpTechnical Analysis
The documented commands download and execute the current npm release of
chrome-devtools-axiwithout specifying an exact reviewed version, integrity hash, lockfile, or package provenance requirement. The-yoption suppresses the normal installation confirmation, increasing the likelihood that an agent will execute newly retrieved package code automatically.This repository contains only documentation and does not include the package implementation. Consequently, the package behavior, installation scripts, transitive dependencies, and future releases cannot be validated from the audited artifact. A compromised npm account, malicious new release, dependency compromise, or registry-resolution attack could therefore change the effective executable payload after this Skill has been reviewed.
Browser automation makes the exposure particularly significant. The external p ...[truncated 1935 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to an exact reviewed version, for example
npx chrome-devtools-axi@X.Y.Z, rather than resolving the mutable latest release. - Verify the package's published integrity digest, provenance, and publisher identity before execution.
- Maintain a lockfile for repeatable installation where the deployment model permits it.
- Remove
-yfrom first-time execution so installation requires explicit user approval. - Disable or carefully review npm lifecycle scripts where possible.
- Perform first execution in a sandbox with restricted filesystem, environment, and network access.
- Do not expose authenticated browser profiles, DevTools endpoints, or secret-bearing
CHROME_DEVTOOLS_AXI_WS_HEADERSuntil the installed package version has been verified. - Document a reviewed version and an update procedure requiring security review before changing it.
- Pin the CLI to an exact reviewed version, for example
