xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xalgorix/xalgorix --skill implementing-network-policies-for-kubernetesgit clone --depth 1 https://github.com/xalgorix/xalgorixWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xalgorix/xalgorix/implementing-network-policies-for-kubernetes)<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-network-policies-for-kubernetes"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-network-policies-for-kubernetes/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-network-policies-for-kubernetes"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-network-policies-for-kubernetes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Server-Side Request Forgery · line 218 Code accesses a cloud instance metadata endpoint (e.g. 169.254.169.254). A single request can return temporary IAM credentials, making this a high-value SSRF target for credential theft.Fix: Remove access to cloud metadata endpoints unless strictly required. If metadata is needed, restrict it (e.g. IMDSv2 with hop limit) and never expose returned credentials.
- high Server-Side Request Forgery · line 219 Code accesses a cloud instance metadata endpoint (e.g. 169.254.169.254). A single request can return temporary IAM credentials, making this a high-value SSRF target for credential theft.Fix: Remove access to cloud metadata endpoints unless strictly required. If metadata is needed, restrict it (e.g. IMDSv2 with hop limit) and never expose returned credentials.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.01721 |
| Opus 5.5 | $0.00017 | $0.00688 |
| Sonnet 5.5 | $0.00009 | $0.00344 |
| Haiku 4.5 | $0.00004 | $0.00172 |
Grade C, and why
implementing-network-policies-for-kubernetes scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Cloud metadata endpointhighServer-side request forgery
One request to 169.254.169.254 can return temporary IAM credentials.
- **Cloud metadata not blocked:** an egress policy that doesn't `except` `169.254.169.254/32` (AWS/GCP) and `169.254.169.254`/`100.100.100.200` (Azure) leaves the SSRF→IMDS credential path open. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Verify enforcement, not just creation:** `kubectl get netpol -n production`, then a blocked test: `kubectl run t --image=busybox --restart=Never -n production -- wget -qO- --timeout=2 http://db-svc:5432` must time ou How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implementing Network Policies for Kubernetes
Overview
Kubernetes NetworkPolicies provide pod-level network segmentation by defining ingress and egress rules that control traffic flow between pods, namespaces, and external endpoints. Combined with CNI plugins like Calico or Cilium, network policies enforce zero-trust microsegmentation to prevent lateral movement within the cluster.
When to Use
- When deploying or configuring implementing network policies for kubernetes capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Common Misconfigurations & Verification
- No default-deny: NetworkPolicy is default-allow and additive. Without a
podSelector: {}deny-all forIngressandEgressper namespace, the allow rules below don't actually segment anything. - CNI doesn't implement NetworkPolicy: plain flannel ignores NetworkPolicy objects, so
kubectl applysucceeds but nothing is enforced. Confirm the CNI supports it (Calico, Cilium, Antrea) and that policies take effect. - Egress deny without DNS allow: dropping egress without the kube-system UDP/TCP 53 rule breaks name resolution; operators then strip the egress policy, losing all egress control.
- Cloud metadata not blocked: an egress policy that doesn't
except169.254.169.254/32(AWS/GCP) and169.254.169.254/100.100.100.200(Azure) leaves the SSRF→IMDS credential path open. - Selector scope mistakes:
podSelector: {}applies to the whole namespace (often intended for deny-all); a labelled selector with a typo silently matches no pods. - Verify enforcement, not just creation:
kubectl get netpol -n production, then a blocked test:kubectl run t --image=busybox --restart=Never -n production -- wget -qO- --timeout=2 http://db-svc:5432must time out, while a correctly-labelledapp=frontendpod reaches the backend.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 243 lines · 43 tokens per session scan C 5cdb7fa5e4ed
implementing-network-policies-for-kubernetes is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 43 tokens to every session and 1,721 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
implementing-network-policies-for-kubernetes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| implementing-network-policies-for-kubernetesxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | C | 43 | Claude Code, Codex |
| cis-aws-foundations-2.1.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 19 | Claude Code, Codex |
| cis-aws-foundations-2.15CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 23 | Claude Code, Codex |
| cis-aws-foundations-2.4CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 20 | Claude Code, Codex |
| cis-aws-foundations-2.7CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 24 | Claude Code, Codex |
| cis-aws-database-3.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 17 | Claude Code, Codex |
| cis-aws-foundations-4.2CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 18 | Claude Code, Codex |