Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

security-audit

Skill by kubeshark

Runs a Kubernetes network security audit through the Kubeshark MCP server. It checks live and snapshot traffic for threats such as DNS tunneling, C2 communication and cryptomining.

  • Score 91
  • 12k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install security-audit

Built from the published package, never by AI.

git clone --depth 1 https://github.com/kubeshark/kubeshark /tmp/kubeshark && mkdir -p ~/.claude/skills && cp -r /tmp/kubeshark/skills/security-audit ~/.claude/skills/security-audit

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install security-audit in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through a Kubernetes network security audit using Kubeshark MCP tools. It looks for indicators of compromise, data exfiltration, credential theft, lateral movement and cryptomining by analyzing DNS queries, HTTP requests, L4 flows and protocol payloads. The audit has two sections. Section A is a fast first pass over real-time dissected traffic. Section B creates 4-minute snapshots, dissects them and produces evidence-grade results. Findings are rated CRITICAL, HIGH, MEDIUM or LOW.

The skill is written for people who run Kubernetes clusters and want to check them for security threats through network traffic. It expects Kubeshark to be deployed and the KFL skill to be loaded for filter syntax.

Written from the project's SKILL.md and checked against it.

What it can do

  • check_kubeshark_statusConfirms Kubeshark is deployed and which tools are available.
  • get_l7_data_boundariesShows the time range of dissected API calls in the real-time database.
  • list_api_callsLists dissected L7 traffic such as DNS, HTTP, PostgreSQL and Redis, with KFL filters.
  • list_l4_flowsLists L4 flows to spot external IPs, suspicious ports and IMDS access.
  • get_api_callShows the details of a specific API call entry by ID.
  • get_data_boundariesShows how far back raw capture data exists for creating snapshots.
  • create_snapshotCreates an immutable snapshot of raw traffic within a time window.
  • start_snapshot_dissectionStarts L7 dissection of a completed snapshot.
  • export_snapshot_pcapExports raw packets from a snapshot, filtered by a BPF expression.
  • list_workloadsLists workloads with pod names, namespaces and IPs, optionally for a snapshot.

What you need

  • Kubeshark deployed in the Kubernetes cluster
  • Kubeshark MCP tools available to the assistant
  • KFL skill loaded for filter syntax

Try asking

  • Audit my cluster for malicious traffic and C2 communication
  • Check the k8s-mule namespace for DNS tunneling and IMDS access
  • Create snapshots and dissect them to hunt for cryptomining activity

Good to know

  • Real-time dissection may have gaps in coverage, so Section A is a first pass only.
  • Snapshots must be created one at a time because only one concurrent download is supported.
  • The audit is not complete until the snapshot deep dive section finishes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/security-audit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md29 KB
  • references/kfl-security-filters.md3 KB
  • references/report-template.md3 KB
  • references/threat-catalog.md9 KB

Alternatives to security-audit

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

security-audit: common questions

What does the security audit skill check for?

It checks for threats such as DNS exfiltration, C2 communication, cryptomining, lateral movement, credential theft and suspicious port scans. It uses network traffic as the main source of evidence.

Does the skill use real-time data or snapshots?

It uses both. Real-time dissected traffic gives a fast first pass, and 4-minute snapshots give a complete, evidence-grade analysis.

How are findings rated?

Each finding is classified as CRITICAL, HIGH, MEDIUM or LOW based on the type of threat and its scope. The skill also converts Kubeshark UTC timestamps to local time for the report.

How do I install security-audit?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is security-audit free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is security-audit safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to security-audit?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

security-audit Install

Add to stack

Loading.