dingtalk-docs
Pass
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements strict path sandboxing through the
resolve_safe_pathutility inscripts/mcporter_utils.py. This ensures all local file operations (import/export) are confined to the user's workspace directory, effectively preventing directory traversal attacks. - [SAFE]: Local file handling in
scripts/import_docs.pyandscripts/export_docs.pyincludes multiple safety checks: file size is capped at 10MB, content length is restricted (50,000 to 100,000 characters), and only safe extensions (.md,.txt,.markdown) are permitted. - [SAFE]: The skill uses the
mcporterbinary to interact with the DingTalk MCP server. The sensitiveDINGTALK_MCP_DOCS_URLcredential is provided by the user and handled as an environment variable or via themcporter configutility, following security best practices. - [SAFE]: While the skill can read and process external Markdown content from DingTalk documents (representing a potential surface for indirect prompt injection), it implements no dangerous execution patterns or obfuscation, and its capabilities are appropriately scoped to document management.
- [SAFE]: The codebase is well-documented, includes comprehensive security unit tests (
tests/test_security.py), and shows no signs of malicious intent or hidden behaviors.
Audit Metadata