gitlab-ci-patterns
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The provided Kubernetes deployment templates in
SKILL.mduse the--insecure-skip-tls-verify=trueflag. This configuration disables SSL/TLS certificate validation, exposing the CI runner to potential man-in-the-middle attacks when communicating with the Kubernetes API server. - [DYNAMIC_EXECUTION]: The skill includes a pattern for 'Dynamic Child Pipelines' where a Python script is used to generate a YAML configuration file at runtime, which is then executed. This practice involves dynamic code generation and execution within the pipeline environment.
- [INDIRECT_PROMPT_INJECTION]: The dynamic pipeline generation pattern creates a vulnerability surface for indirect prompt injection. If the generation script (
generate_pipeline.py) processes untrusted data from repository files or external sources without sanitization, malicious instructions could be injected into thechild-pipeline.ymland executed by the runner. - Ingestion points: The
generate_pipeline.pyscript in thegenerate-pipelinejob acts as the entry point for data that defines the child pipeline structure. - Boundary markers: The templates do not include boundary markers or instructions to isolate or ignore untrusted content during pipeline generation.
- Capability inventory: The skill utilizes high-privilege tools such as
kubectlfor deployment,dockerfor registry operations, andterraformfor infrastructure management. - Sanitization: There are no explicit sanitization or validation logic shown for the inputs processed by the pipeline generation script.
Audit Metadata