T08 · Insecure Dependencies
Warning
- Location
- README.md:15
- Finding
- Unpinned Executable Installer and Mutable Remote Source<![CDATA[ ## Vulnerability Details **File Location**: `README.md:15-17` **Vulnerability Type**: Supply-chain exposure through unpinned executable tooling and mutable remote content **Risk Level**: Medium ### Vulnerable Code ```bash npx skills add https://github.com/ReahPlatform/skills ``` ### Technical Analysis The installation command invokes `npx skills` without an exact package version and obtains Skill content from a GitHub repository without pinning it to an immutable commit or signed release. Both resolved components can consequently change after this audit: 1. `npx` may retrieve and execute a different version of the `skills` package. 2. The GitHub repository URL may resolve to modified Skill instructions or scripts. This creates unnecessary supply-chain risk for the installation of a small, static Skill bundle. The effective installation payload is not reproducibly bound to the code that was reviewed. ### Attack Path 1. An attacker compromises the resolved npm package, its publisher account, the associated package-distribution path, or the referenced GitHub repository. 2. The attacker publishes altered installer logic or malicious Skill content. 3. A user follows the documented Quick Start command. 4. `npx` retrieves and executes the mutable installer package. 5. The installer retrieves the mutable repository content. 6. Attacker-controlled code may execute with the invoking user's privileges, or modified Skill instructions and scripts may be installed into the agent environment. ### Impact Assessment Successful exploitation could permit code execution under the privileges of the user running the installation command. It could also install altered Skill content that later gains access to Reah access keys or card-related workflows. The finding does not establish that the current package or repository is malicious; the vulnerability is the absence of immutable version and integrity controls. ]]>
- Remediation
- <![CDATA[ ## Remediation Suggestions - Pin the npm installer package to an exact, reviewed version. - Pin the GitHub source to a verified commit hash or signed release tag rather than a mutable repository reference. - Publish and verify cryptographic integrity hashes for distributed Skill files. - Prefer a non-executing installation mechanism that copies reviewed local files instead of running remotely resolved package code. - Document the expected package version, source commit, and verification procedure. - Use signed releases and enforce protected publishing workflows for both npm and repository artifacts. ]]>
