deepstream-sop
Warn
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill requires the agent to generate Python code at runtime. Section § 6b-G describes a workflow where the agent must parse
actions.jsonto deduce unordered groups and generate thenvds_action_detector/missing_number_detector.pyfile. This involves translating JSON-defined domain logic into executable Python code snippets and inserting them into a class template. - [INDIRECT_PROMPT_INJECTION]: The microservice architecture includes a Vision-Language Model (VLM) whose output is fed into a downstream SOP Checker logic component. This creates a surface where malformed or adversarial model outputs could influence the state of the compliance tracker.
- Ingestion points: The
vlm_outputparameter innvds_action_detector/sop_step_checker.pyreceives untrusted text from the Stage 3 VLM. - Boundary markers: Instructions in
configs/vlm_prompts.txtact as soft constraints for the model output, but no cryptographically secure delimiters are used between the model's output and the downstream parser. - Capability inventory: The checker component uses regex and logic-based state machines. While it does not directly call shell commands using VLM data, the pipeline has broad permissions including network and file system access.
- Sanitization: The parser uses regex (
^\((\d+)\).+) to extract indices, which mitigates some direct injection but does not prevent logic-based attacks targeting the sequence validation state. - [COMMAND_EXECUTION]: The implementation in
references/triton_model_reference.pyexecutes system commands viasubprocess.run(). Specifically, it launches a Python script (export_ddm_to_tensorrt.py) to build a TensorRT engine. The command arguments are derived from environment variables likeDDM_MODEL_PATHandDDM_TRT_PRECISION. - [EXTERNAL_DOWNLOADS]: The Docker build process (
references/Dockerfile_reference) retrieves code and binaries from various external sources: - Downloads the Basler Pylon SDK from a Microsoft Azure blob storage CDN (
downloadbsl.blob.core.windows.net). - Clones the
gst-plugin-pylonrepository from Basler's official GitHub account. - Clones the DDM (Generic Event Boundary Detection) source code from a university research repository (
github.com/MCG-NJU/DDM).
Audit Metadata