T08 · Insecure Dependencies
- Location
SKILL.md:27- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 27–31
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Mediummarkdown ## Setup ```bash pip install agent-lifecycle-protocoltext ### Technical Analysis The Skill directs users or agents to install `agent-lifecycle-protocol` from the default Python package index without specifying an exact version or validating an integrity hash. The dependency's source code is not included in the audited project, so its installation behavior, build hooks, imported code, and security claims cannot be verified from the available artifact. Because no version constraint is present, the command resolves whichever release is current at installation time. A compromised maintainer account, malicious future release, or compromised distribution infrastructure could therefore change the code executed after this Skill has already been reviewed. Package installation may execute dependency-controlled build or installation logic, while subsequent imports execute package initialization and application code. ### Attack Path 1. An attacker compromises the package publication channel or causes a malicious release of `agent-lifecycle-protocol` to be published. 2. A user or autonomous agent follows the documented setup command. 3. `pip` resolves and downloads the attacker-controlled release because the Skill neither pins a reviewed version nor requires hashes. 4. Dependency-controlled installation or build logic executes during installation, where applicable. 5. The documented Python imports and lifecycle operations subsequently execute the installed package's code. 6. Malicious code operates with the permissions and accessible resources of the Python or `pip` process. ### Impact Assessment Successful exploitation could allow arbitrary code execution with the invoking user's privileges. The resulting scope may include reading or modifying files accessible to that ...[truncated 339 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to an explicitly reviewed version, such as
agent-lifecycle-protocol==X.Y.Z. - Require cryptographic hashes through a locked requirements file and install with
pip install --require-hashes -r requirements.txt. - Include or link to verifiable source corresponding exactly to the pinned release and retain the audit record for that version.
- Review the package, its transitive dependencies, and any PEP 517 build backend or installation hooks before deployment.
- Prefer prebuilt, verified artifacts from a controlled internal registry; restrict dependency updates to a reviewed release process.
- Install and execute the package in a least-privileged virtual environment or sandbox with restricted filesystem, credential, and network access.
- Update the security disclosure so its claims are scoped to a specifically audited package version and can be independently verified.
- Pin the dependency to an explicitly reviewed version, such as
