security-audit
O que ela faz
Ele orienta a IA na auditoria do tráfego de rede em busca de sinais de comprometimento, como conexões suspeitas e vazamentos de dados. É para profissionais de segurança que administram clusters Kubernetes.
Quando usar
- ✓Quando você quer verificar um cluster em busca de sinais de que uma carga de trabalho foi comprometida.
- ✓Quando suspeita que dados estão saindo do cluster para um destino desconhecido.
- ✓Quando quer procurar tráfego de comando e controle ou mineração de criptomoedas.
Link da skill
https://github.com/kubeshark/kubeshark/blob/master/skills/security-audit/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode verificar nosso tráfego Kubernetes em busca de qualquer sinal de que uma carga de trabalho está conversando com um servidor desconhecido?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA confirma que as ferramentas estão prontas, roda consultas de tráfego em várias categorias de ameaça e relata os padrões suspeitos que encontrar.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Kubernetes Network Security Audit with Kubeshark MCP
You are a Kubernetes network security specialist. Your job is to systematically audit cluster traffic for indicators of compromise, malicious behavior, and security threats — using network traffic as the ground truth.
Network traffic cannot lie. Logs can be tampered with, metrics can be spoofed, but packets on the wire reveal what workloads actually do — what they connect to, what protocols they speak, what data they send. Your audit leverages this by examining DNS queries, HTTP requests, L4 flows, and protocol-level payloads across every dimension of the MITRE ATT&CK framework.
Prerequisites
Before starting any audit, verify the environment is ready.
Tool: check_kubeshark_status
Confirm Kubeshark is deployed and tools are available. You need at minimum:
list_api_calls, list_l4_flows, list_workloads, get_api_call.
KFL requirement: This skill uses KFL filters for all queries. Before
constructing any filter, load the KFL skill (skills/kfl/). KFL is statically
typed — incorrect field names will fail silently. If the KFL skill is not
loaded, only use the exact filter examples shown in this skill.
KFL error resilience: If a KFL filter returns undeclared reference or
similar errors, do not give up on that phase. Fall back to:
- Port-based filtering:
dst.port == 5432instead of protocol flags - Name-based filtering:
dst.name.contains("db")orsrc.name.contains("pod-name") - Browsing entries with
get_api_callon IDs fromlist_l4_flowsA KFL error means the filter syntax is wrong, not that the data doesn't exist.
Audit Methodology
A security audit is NOT an incident investigation. You are not responding to a known event — you are proactively searching for threats that may be hiding in normal traffic. This requires a systematic sweep across all threat categories, not a single focused query.
The audit has two sections that run in sequence:
SECTION A: Real-Time Analysis → Instant, uses live dissected traffic
SECTION B: Snapshot Deep Dive → Immutable evidence, protocol-level inspection
Why Two Sections?
Kubeshark has two modes of data access:
Real-time dissection — traffic is dissected as it flows through the cluster. Provides instant access to L7 data (DNS, HTTP, etc.) that is already captured and indexed. However, real-time dissection is resource- intensive and may not be enabled, or may have gaps in coverage.
Snapshots — immutable captures of raw traffic within a time window. Must be created explicitly, then dissected separately. Guarantees complete coverage of all packets in the window, but takes time to create and index.
Section A uses whatever is already available — fast, immediate, but possibly incomplete. Section B creates snapshots for thorough, evidence-grade analysis.
Severity Classification
Classify every finding using this framework:
| Severity | Criteria | Examples |
|---|---|---|
| CRITICAL | Active data exfiltration, credential theft in progress, confirmed C2 | DNS tunneling, IMDS credential harvest, mining pool connections |
| HIGH | Reconnaissance with cluster-wide scope, confirmed unauthorized access | K8s API secret enumeration, port scanning, cluster-admin abuse |
| MEDIUM | Suspicious patterns requiring investigation, limited-scope recon | Cross-namespace probes, outdated User-Agents, unusual external connections |
| LOW | Anomalies that may be benign, single-instance events | Unknown workloads, new external destinations, noisy but not malicious |
Timezone
Kubeshark returns timestamps in UTC. Always convert to local time before
presenting to the user. Detect the local timezone at the start (e.g.,
date +%Z). Present local time as primary, with UTC in parentheses:
15:03:22 IST (12:03:22 UTC).
Conversion: Kubeshark timestamps are Unix milliseconds. To convert:
ms / 1000 → Unix seconds → datetime → format with timezone offset.
Example: 1778534735974 → 2026-05-11 14:05:35 PDT (21:05:35 UTC).
SECTION A: Real-Time Analysis
Goal: Fast initial sweep using live data that's already available. No waiting for snapshot creation or dissection.
Step 1: Check What's Available
Tool: check_kubeshark_status
Confirm Kubeshark is running and which tools are available.
Step 2: Query Live Traffic
Tool: get_l7_data_boundaries
Check the time boundaries of d
Perguntas frequentes
Qual framework a auditoria segue?
Organiza as verificações em torno do framework MITRE ATT&CK.
Ele verifica tráfego DNS e HTTP?
Sim. Analisa consultas DNS, requisições HTTP e fluxos de camada 4.
Ele comprova que uma carga de trabalho foi comprometida?
Não. Aponta padrões suspeitos que uma pessoa ainda precisa revisar.
Detalhes
Descrição original do autor
Kubernetes network security audit skill powered by Kubeshark MCP. Use this skill whenever the user wants to audit a cluster for security threats, detect compromised workloads, find malicious traffic patterns, hunt for indicators of compromise (IOCs), check for data exfiltration, identify C2 (command and control) communication, detect cryptomining, find lateral movement, discover credential theft attempts, assess network security posture, or perform threat hunting in Kubernetes. Also trigger when the user mentions security audit, threat detection, compromise assessment, vulnerability scan, "is
repo: kubeshark/kubeshark
Popularidade
- Estrelas no GitHub
- 12 mil
- Posição no ranking
- #11476
- Licença
- Apache-2.0
- Atualizada em
- 01/11/2026
Comentários
- …
Mais skills deste repositório
install
12 milAjuda seu agente a instalar o Kubeshark em um cluster Kubernetes, desde uma configuração rápida pela linha de comando até uma configuração completa com Helm.
kfl
12 milAjuda seu agente a escrever expressões de filtro KFL corretas, a linguagem de consulta que o Kubeshark usa para pesquisar o tráfego de rede.
network-rca
12 milAjuda seu agente a investigar um incidente de rede passado em um cluster Kubernetes, estudando capturas de tráfego salvas.
Skills parecidas
reverse-engineer-anything
422 milAjuda seu agente a analisar apps e pacotes já publicados para explicar recursos, comparar versões ou orientar uma reconstrução, usando a ferramenta REA.
1password
394 milAjuda seu agente a configurar a CLI do 1Password, fazer login e ler ou injetar segredos sem imprimir seus valores no chat.
healthcheck
394 milAjuda seu agente a auditar o computador ou servidor que roda o OpenClaw em busca de riscos como SSH, firewall, atualizações e backups, com correções seguras.