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.
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-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kubeshark/kubeshark /tmp/kubeshark && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kubeshark/skills/security-audit ~/.gemini/antigravity-cli/skills/security-auditAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
