T08 · Insecure Dependencies
- Location
SKILL.md:127- Finding
Unpinned and Unaudited Executable Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 127
Vulnerability Type: Supply-chain risk from an unpinned third-party package
Risk Level: MediumVulnerable Code
markdown 1. 安装:`pip install md-exporter`Technical Analysis
The Skill instructs the Agent to install
md-exporterfrom pip's configured package index without specifying an exact version, verifying a cryptographic hash, or identifying a trusted source repository.A Python package can execute package-controlled build or installation logic. The installed package also supplies the
markdown-exporterexecutable used throughout the Skill. Because the package implementation is not included in the audited project, neither its conversion behavior nor its side effects can be verified from the available source.This creates a mutable supply-chain trust boundary: future executions can resolve package content that differs from what the Skill author originally tested. Exploitation would require the package, one of its transitive dependencies, or the configured package index to be compromised, replaced, or otherwise attacker-controlled. The audit did not establish that the current package is malicious.
Attack Path
- An attacker compromises the
md-exporterpackage, a transitive dependency, or the package source used by the Agent. - The Agent follows the Skill instruction and runs
pip install md-exporter. - Pip resolves and installs attacker-controlled or unexpectedly modified content.
- Package-controlled installation logic or the installed executable runs with the Agent's operating-system privileges.
- Malicious code can access files, credentials, network resources, and output locations available to that account, including Markdown documents supplied for conversion.
Impact Assessment
Successful exploitation could result in arbitrary code execution with the privileges of the account running pip or invoking
markdown-exporter. The accessible scope would ...[truncated 365 chars]- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Pin
md-exporterto a reviewed, exact version rather than using an unconstrained package name. - Use a lock file with cryptographic hashes and install with pip's
--require-hashesoption. - Document the authoritative source repository and verify package provenance or signatures where supported.
- Review and lock all transitive dependencies.
- Prefer including or vendoring the reviewed implementation so its effective behavior is part of the audit scope.
- Install and execute the converter in an isolated, least-privileged environment with only required input and output directories mounted.
- Disable unnecessary network access while processing documents.
- Avoid running pip or the converter as an administrator or root user.
- Pin
