wechat-daily-report
Fail
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill utilizes the
playwrightlibrary to render an HTML template containing untrusted chat records into a PNG image. Inscripts/generate_report.py, thejinja2template engine is initialized without enabling theautoescapefeature. This causes user-provided chat messages to be interpolated directly into the HTML without sanitization, allowing an attacker to include malicious HTML or JavaScript within a chat log. These scripts would be executed in the context of the Chromium browser instance used for rendering, which could facilitate unauthorized access to local files or data exfiltration from the execution environment. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user data from chat records through
scripts/analyze_chat.pyand subsequently incorporates it into AI prompts defined inreferences/ai_prompt.md. The instructions lack explicit boundary markers or directives to ignore malicious instructions embedded within the chat data, creating a vulnerability where the agent's behavior or output could be manipulated by the contents of the processed chat logs. - [OBFUSCATION]: The
README.mddocumentation employs non-standard URL structures, including installation paths prefixed with a tilde (~) and a badge link containing a redundant second URL preceded by a percent sign (%). This unusual formatting is suspicious and could be intended to evade automated security scanners or mislead users about the destination of the provided links. - [EXTERNAL_DOWNLOADS]: The skill instructions guide the user to download and install software from a remote ZIP file hosted on a GitHub repository (
leonense22) using thenpx skills addcommand.
Recommendations
- AI detected serious security threats
Audit Metadata