soia-pkm-baidupan
Pass
Audited by Gen Agent Trust Hub on Jul 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes external binaries (
bdpanandbaidupan-cli) using Python'ssubprocess.run. The implementation inscripts/run_with_env.pyandscripts/scan_drive.pyexplicitly setsshell=False, which is a security best practice to prevent shell command injection. - [EXTERNAL_DOWNLOADS]: The skill requires external dependencies including a separate agent skill from GitHub (
baidu-netdisk/bdpan-storage) and optionally a community-developed CLI tool. It provides clear instructions for manual installation and review of these components. - [CREDENTIALS_UNSAFE]: While the skill handles sensitive application keys and secrets, it implements a secure pattern by loading these values from a local configuration file into the process environment variables just before executing the CLI tools, minimizing the risk of exposure in logs or terminal history.
- [DATA_EXFILTRATION]: The skill interacts with Baidu Netdisk APIs through official and recognized community tools. Analysis of the Python scripts confirms that data retrieved from the cloud is only processed locally for scanning or displayed to the user, with no hidden network exfiltration paths.
- [PROMPT_INJECTION]: The skill incorporates safeguards against directory traversal in its
scan_drive.pyscript by validating that remote paths do not contain..or~, reducing the risk of indirect manipulation via malicious file structures.
Audit Metadata