magic-moment
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
subprocessmodule to interact with system-level media utilities for video composition, metadata extraction, and HTML rendering. - Evidence: Multiple files including
cmm/compose.py,cmm/html_assets.py, andcmm/transcription.pyinvokeffmpeg,ffprobe, andnode. - Security: All calls are implemented using list-based arguments (e.g.,
subprocess.run([...])), which prevents shell command injection. Input paths are resolved and validated before use. - [DYNAMIC_EXECUTION]: The installation and verification script includes a self-test mechanism that executes a small portion of the skill's own code.
- Evidence:
install.shusesexec(compile(...))to extract and validate an example screenplay dictionary from themmCLI script. - Security: This is a restricted diagnostic check that only processes a fixed string from the local skill file; it does not accept or execute arbitrary user-supplied code.
- [SAFE]: The skill includes several proactive security measures to ensure safe operation within the agent environment.
- Rendering Isolation:
cmm/capture.mjsconfigures the headless browser with--host-resolver-rules='MAP * ~NOTFOUND'for local rendering, preventing unintended outbound network calls during card generation. - Protocol Enforcement:
cmm/html_assets.pyenforces a strict check to ensure URL-based screenshots are limited tohttpandhttpsprotocols, mitigating local file exposure via the URL field. - Integrity Verification:
cmm/run_contract.pyimplements a fingerprinting system that hashes all source assets and HTML content to ensure that the rendered video matches the reviewed screenplay.
Audit Metadata