T07 · Tool Hijacking and Spoofing
- Location
runtime.py:9- Finding
Hard-Coded External Module Path Enables Python Import Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This WeChat HTML formatter has a coherent purpose, but its runtime imports executable code from a hard-coded personal folder outside the reviewed package.
Review this skill before installing. It appears intended for legitimate WeChat article formatting, but the runtime should be changed to package or pin the renderer instead of loading it from /Users/Abigale/.codex/skills/wechat-article-workflow/scripts. Also confirm generated output filenames to avoid overwriting existing ready HTML files.
runtime.py:9Hard-Coded External Module Path Enables Python Import Hijacking
The manifest description says to use the skill when Codex needs 公众号排版预览, which imposes a Chinese-language/localized framing in the activation description. The file does not offer any user language choice or explicitly justify this locale-specific wording as a documented regional constraint.
This markdown file documents a file-writing behavior by specifying that the skill will write output to content-production/ready/<slug>-wechat.html. Under the markdown-specific warning rule, behaviors that affect user data or the filesystem should be disclosed with a clear warning, but the description provides no caution about overwriting existing files or creating artifacts in the workspace.
No suspicious patterns detected.