T08 · Insecure Dependencies
- Location
SKILL.md:4- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 4
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable code:
yaml metadata: {"clawdbot":{"emoji":"📄","requires":{"bins":["nano-pdf"]},"install":[{"id":"uv","kind":"uv","package":"nano-pdf","bins":["nano-pdf"],"label":"Install nano-pdf (uv)"}]}}Technical Analysis
The installation configuration retrieves the third-party
nano-pdfpackage from PyPI throughuvwithout specifying an exact version or an expected artifact hash. Consequently, the installed package may change independently of this skill's reviewed contents.The dependency's implementation is not included in the audited project, which contains only
SKILL.mdand_meta.json. Its installation-time and runtime behavior therefore cannot be verified from the available source. If the upstream account, package, release process, or package repository were compromised, a malicious release could be selected during a subsequent installation.Attack Path
- An attacker compromises the upstream package publisher, release pipeline, or package-distribution channel.
- The attacker publishes a malicious version of
nano-pdf. - A user installs this skill's requirement through the unpinned
uvpackage declaration. - Dependency resolution selects the attacker-controlled release.
- Malicious package installation or runtime logic executes under the privileges of the user or agent invoking the package.
This attack path depends on an upstream supply-chain compromise; no direct evidence of malicious behavior in the current
nano-pdfpackage was present in the audited files.Impact Assessment
A compromised dependency could execute code with the permissions of the installing or invoking account. Depending on those permissions, potential effects include reading or modifying accessible files, altering PDF inputs or outputs, accessing environment-provided cr ...[truncated 206 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
nano-pdfto a specific, reviewed version instead of allowing unconstrained resolution. - Use a lockfile or installation mechanism that verifies cryptographic hashes for the expected distribution artifacts.
- Verify the package publisher, source repository, release provenance, and signatures where available.
- Review the pinned dependency and its transitive dependencies before deployment.
- Perform installation and execution in a sandbox or minimally privileged environment with restricted filesystem, credential, and network access.
- Establish a controlled dependency-update process that requires security review before changing the pinned version or hashes.
- Pin
