T08 · Insecure Dependencies
Warning
- Location
- README.md:68
- Finding
- Unpinned npx-Based Installation Uses Mutable Third-Party Sources## Vulnerability Details **File Location**: `README.md:68` **Vulnerability Type**: Supply-chain exposure through an unpinned package runner and mutable repository reference **Risk Level**: Medium ### Vulnerable Code ```bash npx skills add AntreasAntoniou/argus-skill ``` ### Technical Analysis The documented installation command invokes `npx` without pinning the `skills` package to a reviewed version. Depending on the local npm environment, `npx` can retrieve and execute the currently published package from the configured npm registry. The Skill source is also identified only by a mutable repository name, without an immutable commit hash, signed release, or integrity digest. Consequently, the code installed by this command can differ from the code covered by this audit. This is a supply-chain weakness rather than evidence that the current dependency or repository is malicious. Exploitation requires compromise or malicious control of the npm package, package-maintainer account, configured package registry, or referenced repository. ### Attack Path 1. An attacker compromises a maintainer account, the `skills` npm package, its dependency chain, the configured npm registry, or the referenced Skill repository. 2. The attacker publishes a modified package or changes the repository content resolved by the mutable reference. 3. A user follows the documented `npx skills add AntreasAntoniou/argus-skill` command. 4. `npx` retrieves and runs the current installer package, which then installs content not represented by the audited project snapshot. 5. Malicious installer logic or Skill content executes under the invoking user's account or is loaded by the user's Agent harness. ### Impact Assessment Exploited installation code would normally inherit the permissions of the user running `npx`. Depending on the host environment, this could permit access to that user's files, Agent configuration, environment variables, credentials av ...[truncated 348 chars]
- Remediation
- ## Remediation Suggestions - Pin the package runner to an explicitly reviewed version, for example by using `npx skills@<exact-version>`. - Pin the Skill source to an immutable commit hash or cryptographically signed release rather than a mutable repository head. - Publish and document expected integrity hashes for release artifacts. - Recommend inspecting the resolved package and Skill source before installation. - Use lockfiles and registry allowlists where the installation environment supports them. - Avoid recommending elevated execution and explicitly state that the installer must run as an unprivileged user. - Provide a verified offline installation method for security-sensitive environments.
