T08 · Insecure Dependencies
Warning
- Location
- README.md:80
- Finding
- Mutable and Unpinned Installation Chain## Vulnerability Details **File Location**: `README.md:80-84` **Vulnerability Type**: Supply-chain exposure through an unpinned executable installer and mutable repository reference **Risk Level**: Medium ### Vulnerable Code ```sh npx skills add AntreasAntoniou/agent-orchestra ``` ### Technical Analysis The documented installation procedure invokes `npx` without pinning the `skills` package to a reviewed version. Depending on the local npm configuration and cache, `npx` may retrieve and execute the latest available version of that package. The Skill is also identified by a repository owner and repository name without a commit hash, signed release, immutable tag, or integrity digest. Consequently, the effective installation chain contains two mutable components: 1. The executable `skills` package resolved by `npx`. 2. The repository content retrieved by that installer. The repository itself does not contain an embedded malicious installer, and the audit found no evidence that the current upstream content is malicious. The vulnerability is that the documented command does not ensure that users receive the same code that was audited. ### Attack Path 1. An attacker compromises the npm package, package publisher account, repository account, or another relevant upstream distribution component. 2. The attacker publishes a modified installer or changes the repository content resolved by the unpinned reference. 3. A user follows the documented `npx skills add AntreasAntoniou/agent-orchestra` instruction. 4. `npx` downloads and executes the mutable installer, which then retrieves mutable Skill content. 5. Attacker-controlled installation logic or Skill instructions run with the permissions of the invoking user or agent host. ### Impact Assessment Successful exploitation could install attacker-controlled Skill instructions or execute malicious installer behavior with the invoking user's permissions. Depending on the host ...[truncated 353 chars]
- Remediation
- ## Remediation Suggestions 1. Pin the executable installer to an audited version, for example by using an explicit npm package version. 2. Pin the Skill source to an immutable commit hash or cryptographically verified release. 3. Publish expected SHA-256 digests for release artifacts and document how users can verify them before installation. 4. Prefer signed tags or release attestations where the distribution platform supports them. 5. Provide a non-executing manual installation alternative that downloads a fixed archive, verifies its digest, and then copies the reviewed files. 6. Document the exact installer version and repository revision tested by maintainers. 7. Avoid presenting mutable branch references as equivalent to reviewed releases.
