T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Third-Party Packages Are Downloaded and Executed
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 15–17, 56, 63–67, 112–117, and 238–239
Vulnerability Type: Unpinned executable dependencies and unsafe supply-chain trust
Risk Level: MediumVulnerable Code
SKILL.md, lines 15–17:bash npx hyperframes tts "Text here" --voice af_nova --output narration.wav npx hyperframes tts script.txt --voice bf_emma --output narration.wav npx hyperframes tts --listSKILL.md, line 56:bash pip install kokoro-onnx soundfileSKILL.md, lines 63–67:bash npx hyperframes transcribe audio.mp3 npx hyperframes transcribe video.mp4 --model small --language es npx hyperframes transcribe subtitles.srt npx hyperframes transcribe subtitles.vtt npx hyperframes transcribe openai-response.jsonSKILL.md, lines 112–117:bash npx hyperframes remove-background subject.mp4 -o transparent.webm npx hyperframes remove-background subject.mp4 -o transparent.mov npx hyperframes remove-background portrait.jpg -o cutout.png npx hyperframes remove-background subject.mp4 -o subject.webm \ --background-output plate.webm npx hyperframes remove-background subject.mp4 -o transparent.webm --device cpu npx hyperframes remove-background --infoSKILL.md, lines 238–239:bash npx hyperframes tts script.txt --voice af_heart --output narration.wav npx hyperframes transcribe narration.wavTechnical Analysis
The Skill repeatedly instructs users or agents to execute
hyperframesthroughnpxwithout specifying an audited package version. If the package is absent locally,npxcan retrieve a currently available registry release and execute its lifecycle and application code with the invoking user's privileges.The Python dependencies
kokoro-onnxandsoundfileare also installed without version constraints or cryptographic hashes. The project contains no lockfile, dependency manifest with integrity meta ...[truncated 2111 chars]- Remediation
View remediation
Remediation Suggestions
-
Pin
hyperframesto a specific audited version in every command, such as:bash npx --yes hyperframes@1.2.3 tts "Text here" --voice af_nova --output narration.wav -
Maintain an npm lockfile containing package versions and integrity metadata. Prefer a reviewed local installation invoked through a package script rather than downloading executable code ad hoc on every use.
-
Pin Python dependencies in a requirements file:
text kokoro-onnx==AUDITED_VERSION soundfile==AUDITED_VERSION -
Generate and enforce cryptographic hashes for Python dependencies, then install them with hash verification:
bash python -m pip install --require-hashes -r requirements.txt -
Review and pin transitive dependencies where feasible. Update versions through a controlled process that includes source review, vulnerability scanning, and functional testing.
-
Document the approved npm and Python package indexes. Prevent fallback to untrusted mirrors and avoid adding dependency sources based on untrusted input.
-
Publish checksums and trusted download origins for the machine-learning model files downloaded on first use, and verify those checksums before loading the models.
-
Run media-processing dependencies in a least-privileged environment or container with restricted filesystem access, no unnecessary credentials, and limited outbound network connectivity.
-
