paidf-cosmos-predict
Warn
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The
ensure_container_writable_directoryfunction inscripts/paidf_common.pymodifies directory permissions using a bitwise OR withstat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO. This effectively sets the output, metadata, and caption directories to be world-readable, world-writable, and world-searchable (equivalent tochmod 0777). This is performed to ensure the Docker container can write results regardless of the host's user configuration. - [COMMAND_EXECUTION]: The skill requires the agent to execute
docker runwith significant privileges, including host network access (--network host) and GPU resources (--gpus). It also involves mounting host media and output directories into the container. - [INDIRECT_PROMPT_INJECTION]: The skill processes external media lists and prompt templates that are interpolated into a YAML configuration file used by a VLM/video generation model.
- Ingestion points: The skill reads
input.jsonlfor media metadata and a user-provided prompt file inscripts/prepare_paidf_config.py. - Boundary markers: The processed data is structured into a
config.yamlfile, providing some structural separation. - Capability inventory: The skill possesses the capability to execute Docker containers, write to the host filesystem, and perform network preflight checks.
- Sanitization: Input media paths are normalized and validated to ensure they reside within a specified media directory. YAML scalar values are serialized using
json.dumpsto prevent structural injection into the configuration file.
Audit Metadata