Back to skill

Security audit

CI Tools Pipeline

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious with high confidence: it reports credential-handling and other CI guidance that could expose secrets or affect unintended systems, alongside some behavior that may exceed the stated pipeline purpose.

Consider the verdict suspicious before installing. In particular, review the offline-token guidance and any key handling, pipeline push destinations, cleanup instructions, and API scan targets; use only credentials and environments you can safely expose to CI jobs. Coverage is incomplete: SkillSpector inspected 78 of 80 components, with two partial inspections, and its tool-misuse analysis was degraded. A separate scan completed without findings, but that does not resolve the reported concerns.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (36)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

Although Argo CD is related to GitOps, this command directly accesses a running controller pod rather than creating, repairing, or validating CI/CD pipeline configuration. Interactive runtime access is a distinct operational capability not disclosed by the description. The snippet does not establish any subsequent changes or malicious activity.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

The visible command targets skill metadata, with no demonstrated connection to GitLab pipelines, component validation, or the declared catalog. This indicates a purpose mismatch, although the unavailable script implementation limits certainty about its exact behavior.

Content

No source excerpt is available for this finding.

Instructions expose an Automation Hub offline token to all branches without warning about the credential-access implications.

High
Category
Output Handling
Confidence
99% confidence
Finding

The instructions explicitly make an Automation Hub offline token available to unprotected branches and all environments. Someone able to modify a same-project branch pipeline could extract the credential; masking only reduces accidental log exposure and does not stop deliberate exfiltration.

Content

No source excerpt is available for this finding.

Authentication setup instructions normalize exposing an offline token to unprotected pipelines.

High
Category
Prompt Injection
Confidence
99% confidence
Finding

Making a reusable offline token unprotected crosses the trust boundary between trusted release automation and branch-controlled CI scripts. The component's merge-request execution rules make that unsafe credential availability particularly relevant, although fork pipelines do not automatically receive parent-project secrets.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/common.md (reported line 52)May include surrounding context.

md
## Validation

When `validate-enabled` is `true`, the `.pre` validation job checks common project settings. If `KUBECONFIG` is set as a file variable or base64 text variable, the job also validates that the credentials can reach the Kubernetes API server and have the namespace permissions required by CI Tools. The Kubernetes check is skipped when `KUBECONFIG` is unset.

## Colored log messages

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/common.md (reported line 52)May include surrounding context.

md
## Validation

When `validate-enabled` is `true`, the `.pre` validation job checks common project settings. If `KUBECONFIG` is set as a file variable or base64 text variable, the job also validates that the credentials can reach the Kubernetes API server and have the namespace permissions required by CI Tools. The Kubernetes check is skipped when `KUBECONFIG` is unset.

## Colored log messages

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/git-mirror.md (reported line 23)May include surrounding context.

md
## Choice 1: Use GitLab Token

* Add the CI Variable `GITLAB_TOKEN` as string with the access token to the destination repository.

## Choice 2: Use SSH Key

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/helm.md (reported line 157)May include surrounding context.

md
For this to work you need to configure.

* One or more test values files in `chart/tests/*.yaml` or `chart/tests/*.yml`. When multiple files exist, they are executed one after another in the same job. See [`azure-devops-agent`](https://gitlab.com/xrow-public/helm-azure-devops-agent/-/blob/main/chart/tests/test.yaml?ref_type=heads) for an example.
* A `KUBECONFIG` GitLab variable in the CI/CD variables with a [`kubeconfig` File](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) to access the cluster in which you want to run the tests.
* Optional: A valid helm test that can be executed with `helm test`. See the [helm test documentation](https://helm.sh/docs/helm/helm_test/) for more information.

When Kubernetes credentials are not available or cannot create and delete namespaces, the test job logs a warning and exits successfully. This keeps merge request pipelines useful on runners without cluster access while still running the live chart tests wher

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/helm.md (reported line 157)May include surrounding context.

md
For this to work you need to configure.

* One or more test values files in `chart/tests/*.yaml` or `chart/tests/*.yml`. When multiple files exist, they are executed one after another in the same job. See [`azure-devops-agent`](https://gitlab.com/xrow-public/helm-azure-devops-agent/-/blob/main/chart/tests/test.yaml?ref_type=heads) for an example.
* A `KUBECONFIG` GitLab variable in the CI/CD variables with a [`kubeconfig` File](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) to access the cluster in which you want to run the tests.
* Optional: A valid helm test that can be executed with `helm test`. See the [helm test documentation](https://helm.sh/docs/helm/helm_test/) for more information.

When Kubernetes credentials are not available or cannot create and delete namespaces, the test job logs a warning and exits successfully. This keeps merge request pipelines useful on runners without cluster access while still running the live chart tests wher

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/helm.md (reported line 157)May include surrounding context.

md
is to work you need to configure.

* One or more test values files in `chart/tests/*.yaml` or `chart/tests/*.yml`. When multiple files exist, they are executed one after another in the same job. See [`azure-devops-agent`](https://gitlab.com/xrow-public/helm-azure-devops-agent/-/blob/main/chart/tests/test.yaml?ref_type=heads) for an example.
* A `KUBECONFIG` GitLab variable in the CI/CD variables with a [`kubeconfig` File](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) to access the cluster in which you want to run the tests.
* Optional: A valid helm test that can be executed with `helm test`. See the [helm test documentation](https://helm.sh/docs/helm/helm_test/) for more information.

When Kubernetes credentials are not available or cannot create and delete namespaces, the test job logs a warning and exits successfully. This keeps merge request pipelines useful on runners without cluster access while still running the live chart tests wherever a

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/helm.md (reported line 160)May include surrounding context.

md
ig` File](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) to access the cluster in which you want to run the tests.
* Optional: A valid helm test that can be executed with `helm test`. See the [helm test documentation](https://helm.sh/docs/helm/helm_test/) for more information.

When Kubernetes credentials are not available or cannot create and delete namespaces, the test job logs a warning and exits successfully. This keeps merge request pipelines useful on runners without cluster access while still running the live chart tests wherever a valid `KUBECONFIG` or runner service account is available.

After the chart and its Helm test hooks succeed, the job inspects every running Pod in the temporary namespace. It prints each container's current CPU and memory usage together with its configured requests and limits. The cluster must expose the Kubernetes Metrics API used by `kubectl top pod`. The job retries unavailable metrics for up to two minutes.

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · references/Components/hi.md (reported line 127)May include surrounding context.

USER 0 WORKDIR /app COPY . . RUN npm ci && npm run build && npm prune --omit=dev && chmod -R g=u /app

text

Additional unsigned or unrelated base images are rejected. Keep compiled outputs

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/pipeline-auto-update.md (reported line 37)May include surrounding context.

md
| Name | required | type | Hints |
| --- | --- | --- | --- |
| GITLAB_TOKEN | no | string | Personal access token of a [group service account](https://ci-tools.xrow.de/gitlab-token/) |
| GIT_SSH_KEY | no | file | Is a SSH Key. Use when there is no token |

### Setup

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/pipeline-components.md (reported line 71)May include surrounding context.

md
| Name | required | Hints |
| --- | --- | --- |
| GITLAB_TOKEN | no | Non-personal access token of a service account fallback to [`CI_JOB_TOKEN`](https://github.com/semantic-release/gitlab?tab=readme-ov-file) with limitations |

Limitations of `CI_JOB_TOKEN`:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/semantic-release.md (reported line 126)May include surrounding context.

md
Take one of the following options for this project:

* [ ] Create a service account with a personal access token. Follow the [group service account and `GITLAB_TOKEN` setup](https://ci-tools.xrow.de/gitlab-token/) for group usage. [Group service accounts](https://docs.gitlab.com/administration/settings/account_and_limit_settings/) might be unavailable to maintainers of a group.
* [ ] Make the components project public. This is the easiest option, but it may not be suitable for all organizations.
* [ ] Use your personal access token.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/publish-wiki.md (reported line 11)May include surrounding context.

md
| Name | required | Hints |
| --- | --- | --- |
| GITLAB_TOKEN | no | Personal access token of a [group service account](https://ci-tools.xrow.de/gitlab-token/). |

Limitations of `CI_JOB_TOKEN`:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/review-helm.md (reported line 39)May include surrounding context.

md
## Kubernetes service account

The GitLab CI variable `KUBECONFIG` must point to a service account that can read the target namespace, manage the Helm release resources, and read Ingress resources so the component can discover the review URL.

Raw Helm hook manifests are temporary discovery input only. They are removed before test execution and are not included in the report artifacts.
Hook retrieval or parsing failures fail the job instead of reporting an empty successful test suite.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/semantic-release.md (reported line 104)May include surrounding context.

md
| Name | required | Hints |
| --- | --- | --- |
| GITLAB_TOKEN | no | Access token of a service account fallback to [`CI_JOB_TOKEN`](https://github.com/semantic-release/gitlab?tab=readme-ov-file) with limitations |

REF: [GITLAB_TOKEN via a group service account](https://ci-tools.xrow.de/gitlab-token)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/semantic-release.md (reported line 108)May include surrounding context.

md
REF: [GITLAB_TOKEN via a group service account](https://ci-tools.xrow.de/gitlab-token)

### Access Token Permissions and Security

[!WARNING]
Checklist:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/semantic-release.md (reported line 113)May include surrounding context.

md
[!WARNING]
Checklist:

* [ ] Group or project access token has role `Maintainer`
* [ ] Group or project access token has permission `api` to write to the API.
* [ ] Protected branches are set like `main`
* [ ] Protected tags are set with `*` permissions for `Maintainer`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/semantic-release.md (reported line 114)May include surrounding context.

md
Checklist:

* [ ] Group or project access token has role `Maintainer`
* [ ] Group or project access token has permission `api` to write to the API.
* [ ] Protected branches are set like `main`
* [ ] Protected tags are set with `*` permissions for `Maintainer`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/semantic-release.md (reported line 128)May include surrounding context.

md
* [ ] Create a service account with a personal access token. Follow the [group service account and `GITLAB_TOKEN` setup](https://ci-tools.xrow.de/gitlab-token/) for group usage. [Group service accounts](https://docs.gitlab.com/administration/settings/account_and_limit_settings/) might be unavailable to maintainers of a group.
* [ ] Make the components project public. This is the easiest option, but it may not be suitable for all organizations.
* [ ] Use your personal access token.

[!NOTE]
Ask an internal GitLab administrator to uncheck the external user checkbox for the service account, if you want the use the service account to also access internal resources like the [bash library](https://ci-tools.xrow.de/bash/).

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/token-update.md (reported line 40)May include surrounding context.

md
Native GitLab CI array input syntax is supported. The component normalizes the compiled array representation before parsing the
destination mappings.

Set `self-rotate: true` to also update the same variable in the current project. The component does not generate a new personal access token; it rotates/synchronizes the token value supplied by the configured source variable.

## Inputs

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/trigger-pipeline.md (reported line 14)May include surrounding context.

md
When the downstream pipeline fails or times out, the job output includes the downstream pipeline URL and a color-coded list of downstream jobs with their current status and URL.

## Pipeline access token

The pipeline access token must have read and write permissions.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/Components/trigger-pipeline.md (reported line 16)May include surrounding context.

md
## Pipeline access token

The pipeline access token must have read and write permissions.

By default the component uses the `CI_JOB_TOKEN` token, but you can specify a custom token by setting the `CI_PIPELINE_TRIGGER_TOKEN` variable in the pipeline configuration.