T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Unpinned Third-Party Packages Executed Through npx
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent Chinese article proofreading skill with disclosed optional linting commands, but users should avoid running the unpinned npx setup and autofix commands without review.
Install this if you want a Chinese article proofreading workflow. Before running its Markdown lint steps, prefer a pinned or lockfile-managed markdownlint-cli2 version, review any --fix changes, and treat the external `npx skills add niracler/skill` setup command as code from outside this artifact.
SKILL.md:12Unpinned Third-Party Packages Executed Through npx
The description lists triggers such as 「检查一下」, 「帮我改改」, and 「看看文章」, which are common conversational phrases and not narrowly scoped to this specific skill. Without exclusions or tighter context, these phrases may overlap with ordinary user requests and activate the skill unintentionally.
The skill is described as helping refine Chinese articles and the guidance throughout the file is written as a Chinese-only workflow, but there is no opt-in or explicit statement that the skill is limited to Chinese content for a justified regional or compliance reason. This can violate language/locale policy when users have not chosen that constraint.
The skill recommends executing npx markdownlint-cli2 without pinning a specific package version. npx may fetch the latest package at runtime, which creates a supply-chain risk: a compromised upstream release or unexpected breaking change could cause unreviewed code execution on the user's machine.
The instruction npx skills add niracler/skill references an unpinned package/tool invocation that may download and run code dynamically. This exposes users to the same supply-chain and integrity risks as other unpinned npx usage, especially because it appears in setup guidance that users may execute verbatim.
This command again instructs users to run npx markdownlint-cli2 without version pinning during the review workflow. Because the command is positioned as routine operational guidance, it increases the chance that users will execute transient, unreviewed package code directly from the registry.
The --fix variant has the same unpinned npx risk, with additional integrity concerns because it modifies files automatically after fetching package code at runtime. If an upstream package were compromised, the attack could both execute code and alter repository contents.
This markdown file is entirely framed as a prescriptive Chinese writing standard, using directive language such as '中文写作规范' and repeated instructions on how text should be written. Because it imposes a specific language/locale style without indicating that the user can choose another language or opt in, it conflicts with the policy against forcing a specific language without user choice.
The document title and all guidance are written as a personal style specification in Chinese, indicating the skill is expected to produce content in that language. Under the policy, forcing a specific language without user opt-in is a natural-language policy concern unless the locale constraint is explicitly justified or optional.
This markdown file contains user-facing procedural instructions exclusively in Chinese, and there is no note that users may choose another language or locale. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation.
Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
### 3. 科普内容要精简
| 写法 | 评价 |
| --------------------------------------------------------------------------------------------- | -------------------- |
| ❌「日本《建筑基准法》规定特定建筑必须每 3 年进行一次外墙小型检查,每 10 年进行一次全面检查」 | 像教科书 |
| ✅「日本有规定建筑必须定期检查和维护外墙」 | 精简,详细信息放脚注 |
The entire skill instruction set is written in Chinese and defines review workflow, reader personas, and outputs only in that language, with no indication that users may choose another language. This can violate language/locale policy when a skill implicitly requires a specific language without explicit opt-in or a documented region-specific reason.
No suspicious patterns detected.