validating-ci-pipelines-locally
Fail
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill explicitly instructs the agent to use
sudoto install runner tools on Linux systems. - Evidence:
curl -L https://packages.gitlab.com/.../script.deb.sh | sudo bashandsudo apt-get install gitlab-runner. - Evidence:
curl -L https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash. - [CREDENTIALS_UNSAFE]: The skill defines a convention for storing and accessing sensitive CI/CD secrets in a specific local file path.
- Evidence: Accessing
~/.lenneTech/ci-secrets.envto source variables like$CI_TOKENor$DEPLOY_KEY. - [EXTERNAL_DOWNLOADS]: The skill fetches installation scripts from external sources for toolchain setup.
- Evidence: Downloads configuration and scripts from
packages.gitlab.com(GitLab) andraw.githubusercontent.com/nektos/act. - [DYNAMIC_EXECUTION]: The skill dynamically generates executable configuration files and shell commands at runtime based on the contents of the repository.
- Evidence: Step 5 Path B involves generating a
docker-compose.ci.ymlfile on the fly and executing it withdocker compose. - Evidence: The
commandfield in the generated YAML is constructed by joining strings from untrusted CI configuration files. - [INDIRECT_PROMPT_INJECTION]: The skill processes and executes instructions from untrusted data sources within the repository.
- Ingestion points: Reads
.gitlab-ci.ymland.github/workflows/*.ymlfrom the project directory. - Boundary markers: None. The skill directly executes content found in the
scriptorcommandfields of these files. - Capability inventory: Full shell execution via
gitlab-runner,act, anddocker compose, as well as file system read/write access. - Sanitization: None. The skill assumes the content of the CI configuration files is safe to execute in a shell environment.
Recommendations
- AI detected serious security threats
Audit Metadata