T08 · Insecure Dependencies
- Location
SKILL.md:35- Finding
Unpinned Third-Party Dependencies and Mutable Model Artifacts
- Content
View full analysis
Vulnerability Details
File Locations:
SKILL.md:35-48README.md:18-31package.json:22-26
Vulnerability Type: Supply-chain exposure caused by unpinned software dependencies and model artifacts
Risk Level: MediumVulnerable Code
SKILL.md:35-48:bash pipx install piper-tts sudo apt install ffmpeg # or equivalentbash # Create voice directory mkdir -p ~/.local/share/piper/voices/en_GB # Download models via HuggingFace CLI cd ~/.local/share/piper/voices/en_GB hf download jgkawell/jarvis en/en_GB/jarvis/high/jarvis-high.onnx --local-dir . hf download jgkawell/jarvis en/en_GB/jarvis/high/jarvis-high.onnx.json --local-dir . # Optional: medium quality model hf download jgkawell/jarvis en/en_GB/jarvis/medium/jarvis-medium.onnx --local-dir . hf download jgkawell/jarvis en/en_GB/jarvis/medium/jarvis-medium.onnx.json --local-dir .README.md:18-31:bash pipx install piper-tts sudo apt install ffmpeg # or equivalentbash # Create voice directory mkdir -p ~/.local/share/piper/voices/en_GB # Download models (via HuggingFace) cd ~/.local/share/piper/voices/en_GB hf download jgkawell/jarvis en/en_GB/jarvis/high/jarvis-high.onnx --local-dir . hf download jgkawell/jarvis en/en_GB/jarvis/high/jarvis-high.onnx.json --local-dir . hf download jgkawell/jarvis en/en_GB/jarvis/medium/jarvis-medium.onnx --local-dir . hf download jgkawell/jarvis en/en_GB/jarvis/medium/jarvis-medium.onnx.json --local-dir .package.json:22-26:json "peerDependencies": { "piper-tts": ">=1.0.0", "ffmpeg": ">=4.0" },Technical Analysis
The installation instructions do not pin
piper-ttsto an exact version. The package metadata similarly permits any future version satisfying>=1.0.0, while FFmpeg permits any version satisfying>=4.0. The Hugging Face downloads identify repository paths but do not specify an immut ...[truncated 2639 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
piper-ttsto a reviewed exact version rather than installing the latest available release. - Replace broad
package.jsonranges with exact, tested versions or document that these entries are informational system prerequisites rather than installable npm peer dependencies. - Pin every Hugging Face download to an immutable repository commit using the CLI revision option.
- Publish expected SHA-256 checksums for every ONNX and JSON artifact and require verification before use.
- Maintain a versioned manifest containing artifact source, immutable revision, size, and digest.
- Use trusted package indexes and operating-system repositories explicitly, and avoid adding unverified mirrors.
- Test upgrades in an isolated environment before changing pinned versions or model revisions.
- Document a controlled update process that includes provenance review, checksum updates, vulnerability scanning, and rollback instructions.
- Run TTS processing with least privilege and restrict network, filesystem, and device access where practical.
- Pin
