yuque
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implementation follows security best practices by utilizing only the Python standard library, which avoids risks associated with third-party dependency vulnerabilities or supply chain attacks.
- [SAFE]: Authentication credentials, including
$YUQUE_COOKIESand$YUQUE_TOKEN, are handled with significant care. TheYuqueClientclass inscripts/yuque.pyensures that cookies are only sent to.yuque.comsubdomains. Furthermore, a customNoRedirectHandleris implemented to explicitly block HTTP redirects, ensuring that sensitive headers likex-csrf-tokenor session cookies are never leaked to external or untrusted domains. - [SAFE]: The skill incorporates a robust write-gating mechanism for destructive actions. Commands such as
create,update, anddeletedefault to a 'dry-run' mode and require the--confirmflag as the final argument to execute. This prevents accidental data modification and mitigates the risk of command injection through document content. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data from Yuque, which introduces a vulnerability surface for indirect prompt injection.
- Ingestion points: The
docanddocsmethods inscripts/yuque.pyretrieve document titles and markdown content from Yuque's API. - Boundary markers: None are present; the raw content is returned to the agent context.
- Capability inventory: The skill allows the use of
Bashand maintains network access toyuque.comfor document management. - Sanitization: The script outputs data in JSON format but does not filter or sanitize the markdown content retrieved from the remote source.
Audit Metadata