T08 · Insecure Dependencies
- Location
package-lock.json:66- Finding
Native Dependency Installation Through an Alternate Package Registry
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill appears to perform local Hanzi visual-center analysis, but its install path runs a native npm dependency from an alternate registry, so it should be reviewed before installation.
Install only if you are comfortable running npm install for a native canvas dependency from the npmmirror registry. Prefer installing in an isolated environment, reviewing the lockfile and registry source, and using --no-png when you do not want files created in the working directory.
package-lock.json:66Native Dependency Installation Through an Alternate Package Registry
Referenced artifact was not completely inspected
cd "{baseDir}" && node scripts/analyze.js <汉字> [选项]
Referenced artifact was not completely inspected
cd "{baseDir}" && node scripts/analyze.js <汉字> [选项]
Referenced artifact was not completely inspected
cd "{baseDir}" && node scripts/analyze.js <汉字> [选项]
Referenced artifact was not completely inspected
cd "{baseDir}" && node scripts/analyze.js <汉字> [选项]
Referenced artifact was not completely inspected
cd "{baseDir}" && node scripts/analyze.js <汉字> [选项]
Referenced artifact was not completely inspected
cd "{baseDir}" && node scripts/analyze.js <汉字> [选项]
The skill invokes a local Node.js script and references environment-capable execution, but it does not declare a restricted tool scope such as explicit permissions or allowed tools. In agent environments, missing scope boundaries can let the skill run with broader-than-necessary execution privileges, increasing the blast radius if the skill is mis-triggered or later modified to use additional environment access.
The activation description is broad enough to match ordinary discussion of Chinese characters, calligraphy, balance, or aesthetics, not just requests for pixel-level analysis. Over-broad routing can cause unintended execution of local code or file generation in response to benign conversation, violating least surprise and unnecessarily expanding the attack surface.
The '何时使用' section lists permissive, ambiguous conditions and lacks boundaries for when the skill should not run. In a tool-using agent, this can lead to frequent false-positive invocation, causing unnecessary code execution, PNG/JSON generation, and processing of user input that was meant for normal conversation rather than a local analyzer.
Suspicious Unicode normalization or mixed-script content
The CLI's natural-language interface, including help output and error/reporting text, is fixed to Chinese. This can violate language/locale policy when users are not given an opt-in choice or documentation justifying the locale restriction.
Dependencies lack version pinning, allowing potential malicious package updates. Consider pinning versions.
"author": "雄韬",
"license": "ISC",
"dependencies": {
"canvas": "^3.2.3"
}
}
This code enables PNG output by default, and later writes a file to the current working directory. Although the CLI offers --no-png and logs after saving, there is no prior user-facing warning that running the command will create a file unless disabled.