mesh-security

mesh-security is a skill for Claude Code, Codex from ethanolivertroy/my-agent-stuff. It costs 95 tokens per session (1,695 once invoked), scanned A, original, MIT.

A security checker for service-mesh configurations in Istio, Consul, and Linkerd. A service mesh manages communication between services in a distributed application.

In plain words
What is it for?
It is for checking settings such as mutual TLS, certificates, peer authentication, and access controls in supported mesh configuration files.
Why use it?
It helps identify unsafe settings in the network layer between services and connects findings to NIST 800-53 controls, a set of security and compliance guidelines.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads ~/.codex paths; mentions Codex.

Good fit It is for checking settings such as mutual TLS, certificates, peer authentication, and access controls in supported mesh configuration files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanolivertroy/my-agent-stuff/mesh-security
Install

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.

Any agent
npx skills add ethanolivertroy/my-agent-stuff --skill mesh-security
Clone the repo
git clone --depth 1 https://github.com/ethanolivertroy/my-agent-stuff

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mesh-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/mesh-security/github.svg)](https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/mesh-security)
Your own site
<a href="https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/mesh-security"><img src="https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/mesh-security/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.

agentmods 80×15 button for mesh-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/mesh-security"><img src="https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/mesh-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01695
Opus 5.5 $0.00038 $0.00678
Sonnet 5.5 $0.00019 $0.00339
Haiku 4.5 $0.00010 $0.00169

Measured 2mo ago against content hash 663c8edab40c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mesh-security scanned grade A with 0 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.

The scan reads SKILL.md. This mod also ships 4 executable files (lib/analyzer-wrapper.js, lib/analyzers.js, lib/remediation-engine.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/mesh-security/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Service Mesh Security Analyzer

Comprehensive security analysis for Istio, Consul, and Linkerd service mesh configurations with NIST 800-53 Rev 5 control mappings.

Quick Start

Analyze a Configuration File

# Run the analyzer wrapper directly
node ~/.codex/skills/mesh-security/lib/analyzer-wrapper.js <config-file>

# Examples
node ~/.codex/skills/mesh-security/lib/analyzer-wrapper.js ./istio-meshconfig.yaml
node ~/.codex/skills/mesh-security/lib/analyzer-wrapper.js ./consul-config.json
node ~/.codex/skills/mesh-security/lib/analyzer-wrapper.js ./linkerd-config.yaml --json

Sample Configurations

Test configs are available in the samples/ directory:

  • Istio: samples/sample-meshconfig.yaml
  • Consul: samples/sample-consul-config.json
  • Linkerd: samples/sample-linkerd-config.yaml

Supported Mesh Types

Istio

Auto-detection: Files with kind: MeshConfig and apiVersion containing istio.io

Security Checks:

Category What It Checks
mTLS Enabled status, STRICT mode enforcement
Certificates CA provider, validity duration (optimal 90 days)
Peer Authentication Default peer auth, STRICT mode
Proxy Config Privileged mode, image versioning, holdApplicationUntilProxyStarts
Secret Discovery SDS enabled for certificate management
Trust Domain Explicitly configured, not using default
Authorization Default deny policies
Telemetry Enabled collection, access logging
RBAC Role-based access control enforcement
Traffic Policy Outbound traffic restricted to REGISTRY_ONLY

Consul

Auto-detection: Files with mesh_type: "consul" or containing connect, tls, and acl fields

Security Checks:

Category What It Checks
Service Mesh Connect enabled
Proxy Security No privileged mode
TLS Security verify_incoming, verify_outgoing, hostname verification
Access Control ACL enabled, default deny policy, agent tokens
Telemetry Service metrics enabled
Auto-Encryption TLS auto-encrypt feature
Gossip Encryption Key configured, proper length, verification
FedRAMP Compliance TLS 1.2+, FIPS ciphers, strong encryption

Read the full file on GitHub · 198 lines

Changes

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.

  1. 2mo ago First seen · 198 lines · 95 tokens per session scan A 663c8edab40c

Subscribe to this mod's changes

mesh-security is a skill published in the GitHub repository ethanolivertroy/my-agent-stuff (11 stars, last pushed 3mo ago), licensed MIT. It adds 95 tokens to every session and 1,695 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.