Agent skill

K8s Sidecar Attack

by wgpsec in wgpsec/AboutSecurity

Kubernetes Sidecar 容器流量劫持与敏感信息窃取。当目标 Pod 存在 Istio/Envoy/Linkerd sidecar、题目提到'隐形旁观者'或'共享网络'、或需要从 Pod 内部嗅探流量时使用。覆盖 tcpdump 抓包、sidecar 明文流量捕获、共享网络命名空间利用。只要在 K8s Pod 中发现有 sidecar 或多容器共存的迹象,就应使用此技能

No licenceAuto-check passedDevOps & Cloud

Install K8s Sidecar Attack

skills CLI
$ npx skills add wgpsec/AboutSecurity --skill k8s-sidecar-attack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wgpsec/AboutSecurity k8s-sidecar-attack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wgpsec/AboutSecurity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cloud/k8s-sidecar-attack .claude/skills/k8s-sidecar-attack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
k8s-sidecar-attack
GitHub stars
1.8k
Token cost
~634 tokens
SKILL.md length
93 words
Files
1
Skills in repo
74
Repo updated
First seen
Licence
None found

At a glance

Kubernetes Sidecar 容器流量劫持与敏感信息窃取。当目标 Pod 存在 Istio/Envoy/Linkerd sidecar、题目提到'隐形旁观者'或'共享网络'、或需要从 Pod 内部嗅探流量时使用。覆盖 tcpdump 抓包、sidecar 明文流量捕获、共享网络命名空间利用。只要在 K8s Pod 中发现有 sidecar 或多容器共存的迹象,就应使用此技能

  • Works in 3 steps: 检测 Sidecar → 流量抓包 → 分析结果
  • Tasks that involve Container orchestration
  • SKILL.md covers Phase 1: 检测 Sidecar, Phase 2: 流量抓包, Phase 3: 分析结果 and 无 tcpdump 时的替代方案, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

K8s Sidecar Attack is an agent skill from wgpsec/AboutSecurity. Kubernetes Sidecar 容器流量劫持与敏感信息窃取。当目标 Pod 存在 Istio/Envoy/Linkerd sidecar、题目提到'隐形旁观者'或'共享网络'、或需要从 Pod 内部嗅探流量时使用。覆盖 tcpdump 抓包、sidecar 明文流量捕获、共享网络命名空间利用。只要在 K8s Pod 中发现有 sidecar 或多容器共存的迹象,就应使用此技能

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Container orchestration. It works with Kubernetes. The repository describes itself as: Everything for pentest. | 渗透测试知识库,以 AI Agent 可执行的格式沉淀安全方法论。

When your agent uses it

  • Tasks that involve Container orchestration

Example prompts

  • “Use the k8s-sidecar-attack skill to kubernete Sidecar 容器流量劫持与敏感信息窃取。当目标 Pod 存在 Istio/Envoy/Linkerd sidecar、题目提到'隐形旁观者'或'共享网络'、或需要从 Pod 内部嗅探流量时使用。覆盖…”
  • “/k8s-sidecar-attack”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 检测 Sidecar
  2. 流量抓包
  3. 分析结果

What it can do on your machine

Read from SKILL.md and the folder at commit d428372. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

K8s Sidecar Attack loads about 634 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~634

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 93 words (~634 tokens).

“同一 Pod 内的所有容器共享网络命名空间——这是 K8s 的设计决定,也是攻击者的福音。Sidecar 容器(如 Istio Envoy)发送的流量可以被同 Pod 的任何容器通过 tcpdump 直接抓取,因为它们共享同一张网卡。”

— opening of SKILL.md by wgpsec
name
k8s-sidecar-attack
metadata.tags
k8s,kubernetes,sidecar,istio,envoy,tcpdump,traffic,sniffing,流量劫持,抓包
metadata.category
cloud

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/cloud/k8s-sidecar-attack of wgpsec/AboutSecurity.

Open the folder on GitHubat commit d428372

Compare with similar skills

K8s Sidecar Attack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

K8s Sidecar Attack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
K8s Sidecar Attack this skillwgpsec/AboutSecurity1.8k—~634Automated safety check: PassNone
Kubeshark Installerkubeshark/kubeshark12k—~3.6kAutomated safety check: NotesApache-2.0
KubeSphere Multi-Tenant Managementkubesphere/kubesphere17k—~3.1kAutomated safety check: PassCustom licence
Sim Helmsimstudioai/sim30k—~2.2kAutomated safety check: PassApache-2.0
Helm Chart ScaffoldingCybereason-Public/owLSM28013 repos~381Automated safety check: PassGPL-2.0
Kubeshark KFL2 Filter Referencekubeshark/kubeshark12k—~3.6kAutomated safety check: PassApache-2.0

Similar skills

  • Kubeshark Installer

    kubeshark/kubeshark

    Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.

    12k GitHub stars~3.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • Creates and queries KubeSphere users, workspaces and projects and assigns built-in roles, defaulting to least privilege and never deleting anything.

    17k GitHub stars~3.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Sim Helm

    simstudioai/sim

    Install, upgrade, and operate the Sim Helm chart on Kubernetes.

    30k GitHub stars~2.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Helm Chart Scaffolding

    Cybereason-Public/owLSM

    Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications.

    280 GitHub starsUsed in 13 repos~381 tokens
    DevOps & CloudAuto-check passed
  • Syntax reference for KFL2, the CEL-based display filter language used to search Kubernetes network traffic captured by Kubeshark, loaded before any filter is written.

    12k GitHub stars~3.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • KubeSphere ServiceMesh Manager

    kubesphere/kubesphere

    Installs, checks and troubleshoots the KubeSphere ServiceMesh extension (Istio, Kiali, Jaeger), including grayscale release, sidecar injection, topology and tracing issues.

    17k GitHub stars~2.4k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed

More from wgpsec/AboutSecurity

All 74 skills in this repo
  • A skill your agent uses whenever the user asks to add, absorb, migrate, port, update, merge, compare, or extract security knowledge into the AboutSecurity repository from any external resource such…

    1.8k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Ad Persistence

    wgpsec/AboutSecurity

    AD 域环境持久化技术。当已获取域管/本地管理员权限、需要建立持久访问以确保重启或密码更改后仍能回到目标环境时使用。覆盖主机级持久化(计划任务/注册表Run/COM劫持/WMI事件订阅/Windows服务/启动文件夹)、域级持久化(Golden Ticket/Silver Ticket/Skeleton…

    1.8k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Apt Emulation

    wgpsec/AboutSecurity

    APT 模拟与情报驱动红队方法论。基于已知 APT 组织的 TTP(MITRE ATT&CK)设计红队行动计划。当需要模拟特定威胁组织、设计高仿真攻击演练、或根据威胁情报制定攻击策略时使用

    1.8k GitHub stars~922 tokensUpdated yesterday
    Auto-check passed
  • Argocd Tactics

    wgpsec/AboutSecurity

    ArgoCD 后渗透方法论:Redis缓存投毒集群接管、SSO认证绕过、未授权API枚举、恶意Application部署、Webhook SSRF、默认凭据利用。

    1.8k GitHub stars~510 tokensUpdated yesterday
    Auto-check passed
  • C2 Beacon Analysis

    wgpsec/AboutSecurity

    C2 Beacon 配置提取与分析。当捕获到 Cobalt Strike/Sliver/Havoc 等 C2 框架的 Beacon 样本、内存 dump、或网络流量时使用。提取 C2 地址、通信协议、Malleable Profile、Watermark 等关键情报。红队视角:了解蓝队如何从 Beacon 提取 IOC 以改进 C2 OPSEC

    1.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • C2 Evasion Methodology

    wgpsec/AboutSecurity

    C2框架免杀方法论:分析 C2 源码、搜索检测规则(YARA/Sigma/Snort)、逐规则分析、修改源码绕过检测。当遇到 YARA/Sigma/Snort 规则触发告警、beacon/implant 被杀软检测到时使用。第一步:确认 implant/beacon 语言和架构;第二步:搜索对应检测规则并逐规则分析修改

    1.8k GitHub stars~557 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about K8s Sidecar Attack

What does K8s Sidecar Attack do?

Kubernetes Sidecar 容器流量劫持与敏感信息窃取。当目标 Pod 存在 Istio/Envoy/Linkerd sidecar、题目提到'隐形旁观者'或'共享网络'、或需要从 Pod 内部嗅探流量时使用。覆盖 tcpdump 抓包、sidecar 明文流量捕获、共享网络命名空间利用。只要在 K8s Pod 中发现有 sidecar 或多容器共存的迹象,就应使用此技能. K8s Sidecar Attack is an agent skill from wgpsec/AboutSecurity.

When should I use K8s Sidecar Attack?

K8s Sidecar Attack fits situations like: tasks that involve Container orchestration.

How do I install K8s Sidecar Attack in Claude Code?

Run `npx skills add wgpsec/AboutSecurity --skill k8s-sidecar-attack -a claude-code`. Or copy the skill folder (skills/cloud/k8s-sidecar-attack in wgpsec/AboutSecurity) into .claude/skills/k8s-sidecar-attack in your project. Claude Code loads it when a task matches its description.

How do I install K8s Sidecar Attack in Codex?

Run `npx skills add wgpsec/AboutSecurity --skill k8s-sidecar-attack -a codex`. Or copy the skill folder (skills/cloud/k8s-sidecar-attack in wgpsec/AboutSecurity) into .agents/skills/k8s-sidecar-attack in your project. Codex loads it when a task matches its description.

Can I use K8s Sidecar Attack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wgpsec/AboutSecurity --skill k8s-sidecar-attack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/k8s-sidecar-attack, .gemini/skills/k8s-sidecar-attack, .github/skills/k8s-sidecar-attack and .opencode/skills/k8s-sidecar-attack in your project.

What does K8s Sidecar Attack need to run?

SKILL.md names no scripts, command-line tools or credentials: K8s Sidecar Attack is instructions for the agent only.

Does K8s Sidecar Attack access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is K8s Sidecar Attack safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does K8s Sidecar Attack use?

No licence was found for K8s Sidecar Attack or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does K8s Sidecar Attack use?

About 634 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to K8s Sidecar Attack?

Skills that share tags, products or a category with K8s Sidecar Attack: Kubeshark Installer (kubeshark/kubeshark, 12k stars), KubeSphere Multi-Tenant Management (kubesphere/kubesphere, 17k stars), Sim Helm (simstudioai/sim, 30k stars) and Helm Chart Scaffolding (Cybereason-Public/owLSM, 280 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains K8s Sidecar Attack?

wgpsec (a GitHub organization) maintains it in wgpsec/AboutSecurity, which has 1,777 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 8, 2026.

Source: wgpsec/AboutSecurity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.