drm-pentesting-toolkit

Warn

Audited by Gen Agent Trust Hub on Jun 12, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEREMOTE_CODE_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.Popen in the 6_n_m3u8dl_re.py snippet to execute the external binary N_m3u8DL-RE.exe. The command arguments are constructed from user-supplied inputs and data parsed from external manifests (mpd_url, keys, search_query), which could be exploited for command injection if input is not properly sanitized.
  • [REMOTE_CODE_EXECUTION]: The PluginManager architecture dynamically loads and executes arbitrary Python files from the plugins/ directory. This creates a risk where placing a malicious script in the plugins folder would lead to arbitrary code execution within the agent's environment.
  • [EXTERNAL_DOWNLOADS]: The documentation instructs users to manually download and place external executables (N_m3u8DL-RE and shaka-packager) into the project structure. These binaries are then executed by the toolkit, posing a risk if the binaries are sourced from untrusted locations or tampered with.
  • [CREDENTIALS_UNSAFE]: The toolkit is designed to store and read sensitive data, including plaintext credentials (username:password) from the credentials/ folder and DRM device files (.wvd, .prd) containing private keys. While intended for license authentication, this data is exposed to the plugin system and potentially to network operations initiated by those plugins.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 12, 2026, 08:50 PM
Security Audit — agent-trust-hub — drm-pentesting-toolkit