zhihu-sync
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes platform-specific shell commands to launch local HTML previews in the user's default browser. Evidence: Uses
openon macOS,Start-Processin PowerShell on Windows, andxdg-openon Linux.- [DYNAMIC_EXECUTION]: The skill dynamically assembles and executescurlscripts to interact with the Zhihu OpenAPI. Evidence:publish-openapi.mdprovides templates for both POSIX and PowerShell that incorporate environment variables, authentication headers, and request bodies stored in local files.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied Markdown to generate Zhihu-compatible HTML, creating a surface for injection. Evidence: Ingestion points: The skill reads user messages to populatedraft/latest-draft.md. Boundary markers: Not explicitly used in prompt templates. Capability inventory: Includes file system writes, network requests viacurl, and shell command execution viaopen. Sanitization: Implements a strict HTML whitelist inconversion.mdthat strips dangerous elements such as<script>,<iframe>, and event handlers likeon*.- [REMOTE_CODE_EXECUTION]: The update mechanism fetches version metadata from a remote endpoint and executes package management commands based on the response. Evidence:update.mdfetches a manifest fromopenapi.zhihu.comand executesnpx skills add {repository}after user confirmation.- [DATA_EXFILTRATION]: The skill reads sensitive credential data from a dedicated local configuration file for use in API requests. Evidence: Accesses~/.zhihu/openapi-credentials.jsonto retrieveZHIHU_OPENAPI_APP_KEYandZHIHU_OPENAPI_APP_SECRET.
Audit Metadata