mesh-security

mesh-security is a skill for 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 Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

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.

agentmods
npx agentmods add skills/ethanolivertroy/my-agent-stuff/mesh-security
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: 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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00048 $0.00847
Sonnet 5 $0.00019 $0.00339
Haiku 4.5 $0.00010 $0.00169

Measured 6d ago against content hash 663c8edab40c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 1mo ago), licensed MIT. It adds 95 tokens to every session and 1,695 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

duckduckgo-search

Free keyless web, news, and image search via ddgs.

NousResearch/hermes-agent · 19 tokens

mcporter

List, auth, and call MCP servers/tools from the terminal.

NousResearch/hermes-agent · 16 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens