Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

uninstall-kube-agents

Latest version: vgit:7dac4187d800ee58a610cb5e53e47a954aa8dc78

Overview

Last scanned
24 Nov 2026
AI: Benign Agent skill Publisher: gke-labs
130 Stars
47 Forks
1 Versions
Python Repo language

Scan summary

uninstall-kube-agents was last scanned on 24 Nov 2026 at commit 7dac4187. Risk score 39 of 100 (low). High-severity rules fired. The AI review did not flag it.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 7dac4187 (2 instances: 2 high). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
7dac4187 1 rule fired

Rules fired in 7dac4187: 1

Findings

2 High

Findings for commit 7dac4187. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Instructs fetching and running remote code

The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.

HIGH
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 7dac4187; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Uninstall Kubernetes Agentic Harness (kube-agents)

Use this skill when asked to remove or uninstall kube-agents infrastructure from a GCP project or GKE cluster.

One-Liner Uninstall Command (Non-Interactive)

To run the project teardown non-interactively, use the uninstall.sh published for the release the install runs, substituting <RELEASE_VERSION> with a release tag from GitHub Releases. The release-pinned script tears the install down with its own release's engine; a copy carrying no baked version falls back to the engine on main, which is not the one that built the install:

curl -fsSL https://raw.githubusercontent.com/gke-labs/kube-agents/<RELEASE_VERSION>/uninstall.sh | bash -s -- \
  --non-interactive \
  --gcp-project-id="<PROJECT_ID>" \
  --gke-cluster-name="<CLUSTER_NAME>" \
  --gcp-region="<REGION>"

On a GitLab install, the installer creates the token Secret, and the CA Secret for a private CA, outside the Helm release. A teardown that deletes the cluster deletes them too. On a cluster that the teardown keeps, tell the operator that the Secrets stay, and give the command in "What a teardown leaves" on the site's uninstall page (docs/site/src/content/docs/install/uninstall.md), or tell the operator to delete the namespace. That command sources the install's install.env in a subshell, the same way the installer reads it, so renamed Secrets or a non-default namespace are found. Then tell the operator to revoke the token in GitLab, and the read-only token too, if the operator made one.

The installer finds install.env in this order: KUBE_AGENTS_INSTALL_ENV, beside install.sh, in the current directory, then the source directory ($HOME/kube-agents under curl … | bash).

Also tell the operator to revoke the token in GitLab, and the read-only token too, if the operator made one.

The engine is lifecycle.sh destroy in terraform/examples/full-install, run against the install's Terraform state in GCS (bucket <project>-kube-agents-tfstate, prefix kube-agents/<cluster> — derived from the coordinates, so a fresh clone finds it). Before terraform destroy it handles the asymmetries a bare destroy trips over: it forgets the undeletable KMS key rings and keys from state (kept usable in GCP, re-adopted on the next apply), and the cluster key's grant to the GKE service agent, which other installs that use the key share; it deletes the PlatformAgent CR and force-clears its finalizer if the operator is wedged, uninstalls the Helm releases with the helm CLI on a cluster the install did not create, purges every backup the GKE BackupPlan owns, and clears the cluster's deletion protection.

When the command does not run from a local kube-agents checkout, the teardown engine is fetched: at the script's own baked release when it has one, and from main when it does not. --source-ref="<SEMVER_TAG_OR_FULL_COMMIT_SHA>" names a revision instead, which is how an unstamped copy is pointed at the release that was installed.

terraform must be on PATH — the teardown engine, which this script never installs for you. On an install made onto a cluster it did not create, put helm on PATH too: without it the teardown only warns and leaves the releases to Terraform's Helm provider. See the site's uninstall page.

No Terraform state anywhere (none in GCS, none locally) means one of two things, and the uninstaller exits 3 without touching anything either way: nothing is installed against these coordinates, or the install was made by a pre-Terraform release. Only the second is recoverable here — re-run with --source-ref=<that release> so that release's own teardown runs instead. Check whether the cluster exists before reaching for a release tag.

Exit 3 is the one non-zero exit that is not a failure; exit 1 means the teardown could not start or started and did not finish. On a cluster the install did not create, a helm list or helm uninstall failure stops the teardown before Terraform removes anything: restore access to the cluster and re-run, or run the helm uninstall command it prints. ./uninstall.sh --help is the contract.

Machine-readable JSON status reports are generated at /tmp/kube-agents-uninstall-report.json.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub gke-labs/kube-agents/uninstall-kube-agents

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229