T08 · Insecure Dependencies
- Location
SKILL.md:19- Finding
Unpinned Third-Party Package Installation and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 19–27
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code
bash pip install screenshot-stitcher screenshot-stitcher --helpbash python -m pip install screenshot-stitcher screenshot-stitcher --helpTechnical Analysis
The skill directs the agent to install
screenshot-stitcherfrom PyPI without pinning an exact version or verifying package hashes. As a result, the installed implementation may change independently of this reviewed skill. Package-controlled code may run during installation, and the subsequent CLI invocation executes package-controlled runtime code.The external package source is not included in this project, so its behavior cannot be verified from the audited artifact. In particular, the claim that screenshot processing is exclusively local cannot be validated against the dependency implementation.
This is a supply-chain exposure rather than evidence that the named package is currently malicious. Exploitation would require the upstream package, its publisher account, or the relevant package-distribution path to be compromised or otherwise serve an unsafe release.
Attack Path
- An attacker compromises the package publisher, distribution account, release process, or another relevant supply-chain component.
- The attacker publishes a malicious or modified release under the expected package name.
- An agent follows
SKILL.mdand runs the unpinnedpip install screenshot-stitchercommand. - The package manager resolves the attacker-controlled release because no exact version or integrity hash is required.
- Package-controlled code executes during installation or when the agent invokes
screenshot-stitcher. - The malicious implementation accesses data available to the process, potentially including screenshots, filenames, environment variables, and other files access ...[truncated 765 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to a specifically reviewed version, for example with an exact
==constraint. - Provide a lockfile or requirements file containing trusted cryptographic hashes, and install with hash verification enabled.
- Record the verified package publisher, source repository, release artifact, and expected checksum.
- Prefer including or vendoring the reviewed CLI source so its behavior can be audited with the skill.
- Install the package in a dedicated virtual environment rather than modifying a shared Python environment.
- Run image processing with least privilege, restricting filesystem and network access where practical.
- Revalidate the dependency and its integrity metadata before updating the pinned version.
- Pin the dependency to a specifically reviewed version, for example with an exact
