Skip to content

feat(toolsearch): make cloud-platform credential decoders discoverable by full name#102

Merged
xunholy merged 1 commit into
mainfrom
feat/cloud-cred-search-synonyms
Jun 24, 2026
Merged

feat(toolsearch): make cloud-platform credential decoders discoverable by full name#102
xunholy merged 1 commit into
mainfrom
feat/cloud-cred-search-synonyms

Conversation

@xunholy

@xunholy xunholy commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

Makes the cloud-platform credential decoders discoverable by an operator's full-word phrasing. kubeconfig_decode (Kubernetes cluster creds) and gcp_service_account_decode (GCP service-account keys) are prime loot-triage targets, but they name themselves by the platform contraction — so a probe against the live tool_search handler showed these surfaced neither:

query now surfaces
kubernetes config kubeconfig_decode
k8s credentials kubeconfig_decode
google cloud service account gcp_service_account_decode

Fifth instalment of the family-discoverability work (automotive v0.729, financial v0.738, cellular v0.739, AirTag v0.740).

How

Adds to internal/toolsearch: kubernetes/k8skubeconfig, google/gcloudgcp. Platform-specific (low collision); verified crack wifi password / decode a tcp packet surface no cloud-credential decoder. (ethereum / aws / azure phrasings already resolve — unchanged.)

Verification

  • New regression test TestToolSearch_CloudCredentialDiscoverability pins the three recovered queries; existing discoverability tests pass.
  • task test — full short suite, 398 ok / 0 fail; task eval 12/12; golangci-lint 0 issues; go vet clean; go build ./... clean.

…e by full name

kubeconfig_decode and gcp_service_account_decode are secret-bearing
config decoders (Kubernetes cluster credentials, GCP service-account
keys) — prime loot-triage targets — but they name themselves by the
platform contraction. A probe against the live tool_search handler showed
"kubernetes config", "k8s credentials", and "google cloud service
account" surfaced NEITHER: the tool tokens are "kubeconfig" / "gcp",
which an operator's full-word phrasing never matches. Same
family-discoverability gap the v0.729 automotive / v0.738 financial /
v0.739 cellular / v0.740 AirTag synonym clusters fixed.

Adds a cloud-platform synonym cluster to internal/toolsearch:
- "kubernetes" -> kubeconfig
- "k8s"        -> kubeconfig
- "google"     -> gcp
- "gcloud"     -> gcp

All platform-specific (low collision); a probe confirmed "crack wifi
password" and "decode a tcp packet" surface no cloud-credential decoder.
(ethereum / aws / azure phrasings already resolve and are unchanged.)

Verification: a new regression test
(TestToolSearch_CloudCredentialDiscoverability) pins the three recovered
queries; existing discoverability tests pass. task test (full short
suite) 398 ok / 0 fail; task eval 12/12; golangci-lint 0 issues; go vet
clean; go build ./... clean.

Wired: internal/toolsearch/search.go, internal/tools/tool_search_test.go.
@xunholy xunholy merged commit b6c7511 into main Jun 24, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant