pruna-skills
- Type
- Plugin
- Scanned
- Nov 17, 2026
- Version
- 1a69de9103de
- Files read
- 209
Pruna Skills is a suite of markdown guides and playbooks that teach AI coding agents how to generate and edit images, video, and audio using the Pruna AI and Replicate APIs along with local curl and ffmpeg commands. The main risks are that its file-download pattern forwards your Pruna API key across HTTP redirects to other hosts, and its video-editing guide instructs the agent to install unpinned third-party skills from GitHub and npm at runtime.
What it can reach
- Secrets
- Reads PRUNA_API_KEY and REPLICATE_API_TOKEN from environment variables to authenticate paid media generation requests.
- Network
- Uploads local images, video, and audio and sends prompts and scripts to api.pruna.ai and api.replicate.com (including Google Gemini TTS, MiniMax Music 2.5, Stability AI Stable Audio, and WhisperX), and downloads generated outputs.
- Files
- Reads local reference media for upload and writes or overwrites generated images, audio, video clips, subtitle files, and plan/manifest JSON files on disk.
- Shell commands
- Instructs the host coding agent to run local curl, ffmpeg, ffprobe, and npx commands for API calls, media assembly, and skill or HyperFrames execution.
Findings
-
MediumPruna API key forwarded across HTTP redirects during file download
skills/guides/pruna-api/references/pruna-api.md:12
The download instructions tell the agent to run curl with both -L (follow redirects) and a custom -H apikey header. Unlike standard Authorization headers, curl does not strip custom -H headers when following a redirect to a different domain. When a delivery URL redirects to third-party cloud storage or CDN hosts, or if prompt injection tricks the agent into downloading an attacker-controlled URL using this pattern, PRUNA_API_KEY is sent in plaintext headers to that external host.
Fix: Remove -L from the authenticated request to api.pruna.ai; if the API responds with a 3xx redirect to a pre-signed storage URL, fetch that redirect URL in a second curl command without the apikey header.
-
MediumRuntime installation of unpinned third-party skills and npm packages without confirmation
skills/guides/video-editing/references/combination-hyperframes.md:95
When composing multi-layer HTML videos, the video-editing guide instructs the agent to run npx skills add with the -y auto-accept flag to fetch skills from an external repository (heygen-com/hyperframes), and other skills similarly use npx skills add for prerequisites. Neither the skills npm CLI package nor the external GitHub repository is pinned to an immutable version or commit SHA, so a compromise of either upstream source could introduce malicious code or agent instructions at runtime.
Fix: Pin the skills CLI package to an exact version, pin external GitHub repositories like heygen-com/hyperframes to a verified commit SHA or release tag, and require explicit user confirmation instead of passing -y.
-
LowAPI keys passed directly in curl command-line arguments
skills/guides/pruna-api/references/pruna-api.md:12
All curl templates across the Pruna and Replicate tool skills expand PRUNA_API_KEY and REPLICATE_API_TOKEN directly into command-line flags. On shared or multi-user systems, other local users or processes can read command-line arguments from the process table while file uploads or synchronous generation requests are running.
Fix: Pass authentication headers to curl via standard input or a file descriptor (such as curl --config - or -H @-) so expanded API keys do not appear in process arguments.
-
LowUnpinned npx package execution in maintainer release and validation scripts
.maintainer/release/publish_all_skills.py:26
Maintainer and CI scripts execute unpinned npm packages with --yes (clawhub@latest in publish_all_skills.py, skills-ref in validate_all_skills.py, and skills in smoke_install.sh), including inside the GitHub Actions release workflow where CLAWHUB_TOKEN and repository write permissions are present. Installed skills never run these scripts on an end user's machine, so this affects only maintainers and release pipeline integrity.
Fix: Pin clawhub, skills-ref, and skills to exact versions in a lockfile and install them with npm ci in CI workflows.
