T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:68
- Finding
- Unpinned Third-Party SDK Installation Creates a Supply-Chain Risk## Vulnerability Details **File Location**: `SKILL.md`, lines 68–69 **Vulnerability Type**: `T08: Insecure Dependencies` **Risk Level**: Medium **Code Snippet**: ```markdown - **Python SDK**: `pip install kevros` - **TypeScript SDK**: `npm install @kevros/agentkit` ``` ### Technical Analysis The installation instructions use mutable package names without version constraints, integrity hashes, or lockfiles. Consequently, package managers may resolve a different release each time the instructions are followed. The installed package contents and transitive dependencies are not present in the audited project and therefore could not be reviewed. In addition, the Python example imports `kevros_governance`, while the installation instruction identifies the distribution as `kevros`. This may be legitimate, but the project provides no publisher verification or source reference that establishes the relationship between these names. Package installation can execute dependency-controlled setup or lifecycle behavior. If the package, publisher account, registry namespace, or a transitive dependency is compromised, an attacker could distribute code that executes during installation or later when the SDK is imported. ### Attack Path 1. An attacker compromises the package publisher, registry namespace, release process, or an unpinned transitive dependency. 2. The attacker publishes a malicious release under the package name or dependency tree referenced by the Skill. 3. A user follows the documented `pip install kevros` or `npm install @kevros/agentkit` instruction. 4. The package manager resolves the attacker-controlled release because no reviewed version or integrity hash is specified. 5. Malicious setup, lifecycle, import-time, or runtime code executes in the user's environment. ### Impact Assessment Successful exploitation could execute arbitrary code with the privileges of the account performing the installation or running th ...[truncated 305 chars]
- Remediation
- ## Remediation Suggestions - Pin each SDK to a specifically reviewed version rather than installing the latest available release. - Provide lockfiles and cryptographic integrity verification, such as Python hash-checked requirements and npm lockfile integrity metadata. - Document and verify the official registry publisher, package repository, signing process, and release provenance. - Clarify the relationship between the `kevros` Python distribution and the `kevros_governance` import namespace. - Pin and routinely audit transitive dependencies. - Prefer reproducible builds and signed release artifacts. - Recommend installation in an isolated, least-privileged environment without access to production secrets.
