Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Kubeshark

$ kubeshark Official High Risk
Kubeshark · Cloud & Infra · Apache-2.0 (CLI); BSL-1.1 / GPL-3.0 (cluster components) · macos / linux / windows

kubeshark deploys eBPF worker DaemonSets and a hub pod into Kubernetes clusters to capture and decode L4/L7 traffic (HTTP, gRPC, GraphQL, Redis, Kafka). It includes kubeshark check for RBAC pre-checks and --set headless=true to avoid opening a browser.

FCRS-1.0 Score
65 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install kubeshark/kubeshark/kubeshark
CLI vs MCP Decision Hybrid (CLI + MCP)

kubeshark tap deploys eBPF capture pods via CLI, while Kubeshark's built-in Hub/MCP endpoints serve decoded JSON traffic streams better than scraping CLI stdout.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 14 / 25

Defaults to opening an interactive web UI on tap unless --set headless=true is passed, and lacks --json CLI output for captured traffic.

  • kubeshark tap opens a local browser by default unless --set headless=true is passed
  • No --json stdout mode on check or tap
Trust & Safety 14 / 25

Deploys privileged eBPF DaemonSets capturing sensitive L7 payloads (headers/bodies/tokens) across pods and requires explicit clean teardown.

  • Privileged eBPF worker DaemonSet deployment
  • Captures live unencrypted/TLS payload traffic
Setup & Portability 13 / 15

Cross-platform CLI binary on macOS, Linux, and Windows, though cluster nodes must support eBPF/Linux kernels and cluster-admin-like RBAC.

  • Cross-platform CLI via Homebrew tap; requires eBPF-capable Linux nodes
Utility & Efficiency 11 / 15

Deep protocol-level visibility across HTTP, gRPC, Redis, and Kafka without modifying application pods.

  • Zero-instrumentation L4/L7 traffic dissection
Maintenance & Lineage 6 / 10

Vendor-maintained (kubeshark/kubeshark), though split licensing (Apache-2.0 CLI vs BSL-1.1 Hub/Worker, GPL-3.0 Tracer) restricts commercial redistribution.

  • Mixed Apache-2.0 / BSL-1.1 / GPL-3.0 licensing
Docs & Verifiability 7 / 10

Decent docs.kubeshark.co guides and Helm value docs, though CLI flag behavior relies heavily on --set Helm keys.

  • Docs at docs.kubeshark.co

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads cluster permissions from ~/.kube/config (KUBECONFIG); optional Enterprise license keys are passed via --set license=... or Kubernetes Secrets.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

Community Edition is free with scale limits (CLI Apache-2.0, cluster backend BSL-1.1); Enterprise requires a paid license.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Kubeshark Agent Rules
- Always run `kubeshark check` first and scope `tap` with `-n <namespace>` instead of `-A`.
- Pass `--set headless=true` in agent shells so `kubeshark tap` does not spawn a browser window.
- Remember `tap` deploys privileged eBPF DaemonSets that inspect live payloads; run `kubeshark clean` when finished.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify cluster connectivity and RBAC prerequisites
kubeshark check

Validates kubeconfig access and cluster permissions before deploying capture pods.

Controlled Writes & Previews

Tap a single namespace in headless mode
kubeshark tap -n staging --set headless=true

Deploys Kubeshark capture pods scoped to staging without auto-launching a local web browser.

Strengths for Agents

  • + kubeshark check validates RBAC and cluster prerequisites before deploying anything.
  • + --set headless=true suppresses browser popups in automated environments.
  • + Deep eBPF inspection of HTTP, gRPC, Redis, and Kafka traffic without sidecars.

Caveats & Pitfalls

  • ! kubeshark tap opens a browser UI and blocks port-forwarding by default unless configured headless.
  • ! Deploys privileged eBPF DaemonSets that capture live payloads; mixed BSL-1.1 / GPL-3.0 backend licensing.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI