lov-lovpen-add-wechat-channel-comp
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied HTML DOM or DSL strings to render video components. This ingestion of untrusted external content represents a potential indirect prompt injection surface.
- Ingestion points: Untrusted data enters via the
--input,--dom, or--dslarguments inscripts/render_wechat_channel.py. - Boundary markers: The skill relies on specific HTML comments (
<!-- lovpen-wechat-channel -->) to identify insertion points in existing files, but does not use delimiters for the injection payload itself. - Capability inventory: The skill uses
BashandReadtools; the rendering script performs file system operations (read/write). - Sanitization: The implementation includes robust sanitization.
scripts/render_wechat_channel.pyuseshtml.escapefor HTML rendering and a dedicated_escape_dslfunction for Markdown output, ensuring that special characters are escaped and preventing malicious breakout from the component structure. - [COMMAND_EXECUTION]: The unit test file
tests/test_render_wechat_channel.pyusessubprocess.runto execute the skill's primary rendering script. This is restricted to testing purposes, uses controlled arguments, and does not involve the execution of untrusted shells in the runtime skill workflow. - [DATA_EXPOSURE]: The
scripts/profile_store.pyutility manages local user preferences by writing to a JSON profile in the user's config directory. The script implements a proactive security filter (SENSITIVE_PARTS) that prevents the persistence of tokens, secrets, or credentials within the profile records, following best practices for secret management. - [SAFE]: The skill adheres to a 'no-network' policy, uses only the Python standard library for its core functionality, and employs atomic file replacement to ensure data integrity during writes.
Audit Metadata