wechat-account-analyzer
Pass
Audited by Gen Agent Trust Hub on Jun 12, 2026
Risk Level: SAFEDATA_EXFILTRATIONPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/wechat_analyzer.pycontains logic to read sensitive shell configuration files (~/.zshrc,~/.bashrc,~/.bash_profile,~/.profile). Specifically, the_read_from_shell_configfunction parses these files to automatically retrieve theREDFOX_API_KEYif it is not found in the environment variables. Accessing these files represents a data exposure risk for other environment variables or secrets stored in those configurations. - [PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection (Category 8) because it fetches and processes untrusted data (article titles, descriptions, and account metadata) from the RedFox API. This data is then formatted into a report for the agent to present to the user.
- Ingestion points: External data enters through
scripts/wechat_analyzer.pyvia calls to the RedFox API and is stored inoutput/report_data.json. - Boundary markers: Absent. The skill does not use explicit delimiters or 'ignore' instructions in the diagnostic report templates.
- Capability inventory: Execution of Python scripts (
wechat_analyzer.py) and network communication via therequestslibrary. - Sanitization: Absent. The skill does not implement sanitization, escaping, or filtering for the external content before it is interpolated into the agent's context.
- [COMMAND_EXECUTION]: The skill relies on the execution of a Python script (
scripts/wechat_analyzer.py) to perform its core logic, including API calls and scoring. While these operations align with the skill's purpose, they involve running local code via the agent's environment.
Audit Metadata