siyuan
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external API responses (e.g., document content, block descriptions) which are then processed by the agent. This represents an attack surface where malicious content stored within the knowledge base could attempt to influence the agent's behavior.
- Ingestion points: Data enters the context via
curlresponses from SiYuan API endpoints such as/api/block/getBlockKramdown,/api/query/sql, and/api/export/exportMdContent. - Boundary markers: The instructions do not define specific delimiters or "ignore embedded instructions" warnings for the ingested content.
- Capability inventory: The skill utilizes
curlfor network requests andjqfor data processing, with access to theSIYUAN_TOKENenvironment variable. - Sanitization: No explicit sanitization or filtering of the retrieved note content is mentioned before it is processed by the AI.
- [EXTERNAL_DOWNLOADS]: The documentation suggests an alternative installation using the command
npx -y @porkll/siyuan-mcp. This involves downloading and executing code from the NPM registry published by an unverified third-party author (porkll).
Audit Metadata