cn-blog
Pass
Audited by Gen Agent Trust Hub on Jun 21, 2026
Risk Level: SAFE
Full Analysis
- [DATA_EXFILTRATION]: The skill processes sensitive authentication cookies (
ZHIHU_COOKIES). The implementation inscripts/blog.pyincludes a defensivecookie_headerfunction that validates the target domain before attaching cookies, ensuring they are only sent to the intended Zhihu API endpoints. - [COMMAND_EXECUTION]: The skill executes a local Python script (
scripts/blog.py) that uses only the Python standard library to communicate with the Zhihu API. The script implements a safety mechanism where write operations (publishing) require an explicit--confirmflag as the final argument, preventing accidental or unauthorized posts. - [DATA_EXPOSURE]: Instructions in
SKILL.mdexplicitly caution the agent against printing or echoing theZHIHU_COOKIESenvironment variable, which contains full account access credentials. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the Zhihu platform (article titles and excerpts) which could contain malicious instructions.
- Ingestion points: Data is fetched from Zhihu APIs via the
articlesandarticlecommands inscripts/blog.py. - Boundary markers: Not present; the data is returned as raw JSON objects.
- Capability inventory: The skill has access to the
Bashtool and can perform authenticated network writes to the user's Zhihu account. - Sanitization: No sanitization is performed on the article content before it is processed by the agent.
Audit Metadata