chat-motion-overlay
Warn
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/prepare_chat_overlay_bundle.pycan be used to copy sensitive local files into a distributable Remotion bundle. TheuploadPathconfiguration field, intended for custom avatars, lacks validation for file types or source directory restrictions. This allows a malicious user or a prompt-injected transcript to trick the system into harvesting files such as~/.ssh/id_rsa,.envfiles, or cloud credentials and placing them in a public directory for potential exfiltration. - [COMMAND_EXECUTION]: The test utility
scripts/run_test_matrix.pyexecutes multiple system commands using thesubprocessmodule. While it avoids direct shell injection by using list-based arguments, it accepts several directory paths (--work-dir,--node-modules) as command-line inputs. If these arguments are provided by an untrusted source, it could result in the execution of unintended binaries or manipulation of files outside the intended project scope. - [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface as it processes untrusted data from transcripts and screenshots.
- Ingestion points:
scripts/build_chat_overlay_spec.pyparses transcript lines and metadata. - Boundary markers: None identified in the parsing logic to distinguish instructions from content.
- Capability inventory:
scripts/prepare_chat_overlay_bundle.pyperforms file reads/writes and directory manipulation. - Sanitization: The script validates config field values but does not sanitize the
uploadPathagainst path traversal or verify that files are valid images, allowing injected data to trigger unauthorized file access.
Audit Metadata