yuque-lakebook-export-cn
Fail
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
convert_to_mdfunction inscripts/yuque_lakebook_export/lake_setup.pyusesos.system()to open the output directory after conversion. The directory path, derived from the lakebook filename, is insufficiently sanitized against shell metacharacters. If a user processes a file with a name containing characters like;,&, or backticks, the system will execute those characters as shell commands when attempting to open the folder.\n- [REMOTE_CODE_EXECUTION]: Theload_meta_jsonfunction inscripts/yuque_lakebook_export/lake_setup.pyusesyaml.load()with the standardLoaderto parse Table of Contents data from the$meta.jsonfile inside the.lakebookarchive. Using a non-safe loader allows a malicious archive to potentially execute arbitrary Python code by exploiting object instantiation during the YAML parsing process.\n- [EXTERNAL_DOWNLOADS]: Thedownload_resourcefunction inscripts/yuque_lakebook_export/lake_handle.pyperforms network requests using therequestslibrary to fetch images and attachments. These URLs are extracted directly from the Yuque document content being processed, allowing for arbitrary network connections determined by the input data.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external.lakebookfiles which are untrusted data sources.\n - Ingestion points:
scripts/cli.pyandscripts/yuque_lakebook_export/lake_reader.pyread and unpack.lakebookfiles.\n - Boundary markers: Absent. The skill does not use specific delimiters or instructions to prevent the agent from potentially following instructions found within the processed content.\n
- Capability inventory: File system writes, shell command execution via
os.system, and network operations viarequests.\n - Sanitization: Basic path segment sanitization is implemented in
lake_handle.py, but it does not account for shell-sensitive characters used in the terminal commands executed at the end of the process.
Recommendations
- AI detected serious security threats
Audit Metadata