nuwa-skill
- Type
- Skill
- Scanned
- Nov 17, 2026
- Version
- 1723347cb54b
- Files read
- 189
Nuwa is an agent skill that researches a public figure or topic across web sources and generates a reusable persona skill in the coding agent's skills directory. The biggest risk is that researching untrusted web pages and video links can expose the agent to prompt injection, which could pass dangerous flags to yt-dlp through the bundled subtitle script or carry untrusted text into newly generated skill files.
What it can reach
- Files
- Reads local source documents and existing skills, writes generated persona skill folders into the agent's active skills directory (such as .claude/skills/ or .dsh/skills/), and writes .last-update-check in its own folder.
- Network
- Searches the web and fetches articles, interviews, social posts, and YouTube subtitles during research, and queries GitHub git tags to check for updates.
- Shell commands
- Runs bundled Python and Bash helper scripts for merging research, checking skill structure, cleaning subtitle files, downloading YouTube subtitles via yt-dlp, and checking git remote tags.
Findings
-
LowOption injection in YouTube subtitle download script
scripts/download_subtitles.sh:38
In scripts/download_subtitles.sh, both yt-dlp commands pass "$URL" without a preceding "--" end-of-options marker. During research, if a malicious webpage tricks the AI agent into passing a string starting with a hyphen as the video URL and the user approves or allowlists the subtitle script, yt-dlp parses it as a command-line option rather than a URL. Under narrower setups—such as standalone yt-dlp binaries via --update-to=owner/repo@tag or reachable configuration files via --config-locations=...—an attacker could replace the yt-dlp binary or override --skip-download to run commands.
Fix: Place "--" before "$URL" in every yt-dlp call (for example, yt-dlp --list-subs --no-download -- "$URL") and reject URLs that do not start with https:// or http://.
-
LowDeepSeek Harness plugin exposes entire node_modules directory as a skill root
When installed as a DeepSeek Harness (DSH) plugin, cordis.patch.yml calls path.dirname twice on the resolved path to huashu-nuwa/package.json, setting bundledSkillDir to the shared node_modules directory so DSH can discover huashu-nuwa/SKILL.md. As a side effect, @deepseek-ai/dsh-skill-filesystem scans all sibling packages in node_modules and automatically loads any SKILL.md files shipped inside unrelated npm dependencies without user consent.
Fix: Place SKILL.md inside a dedicated subdirectory within the package (such as skills/huashu-nuwa/SKILL.md) and point bundledSkillDir to that isolated subdirectory instead of node_modules.
-
LowUndisclosed automatic remote version check via git
At the end of SKILL.md, the skill instructs the agent to run git ls-remote against origin on first use (when .last-update-check does not exist) and every 30 days thereafter, writing the timestamp to .last-update-check. Although this only queries remote version tags and does not auto-update or upload user files, the unrequested shell and network call is not mentioned in README.md or the skill's frontmatter description and runs even when the user asks for offline or local-only distillation.
Fix: Document the update check in README.md and make it opt-in, or skip it whenever the user requests local-only distillation.
-
LowExample subtitle script silently installs unpinned yt-dlp from PyPI
examples/mrbeast-perspective/scripts/fetch_youtube_subtitles.sh:41
The bundled example script examples/mrbeast-perspective/scripts/fetch_youtube_subtitles.sh automatically runs 'pip install -q yt-dlp' without user confirmation or version pinning if yt-dlp is not installed, and also invokes yt-dlp without '--' before "$URL". While nuwa-skill itself does not execute files under examples/, users who copy and run the mrbeast-perspective example skill could have unpinned packages silently installed into their Python environment.
Fix: Exit with an error message asking the user to install yt-dlp manually instead of running pip install automatically, and add '--' before "$URL" in yt-dlp calls.
