security-audit

security-audit is a skill for Claude Code, Codex from XAIHT/Tlamatini. It costs 59 tokens per session (1,327 once invoked), scanned A, original, MIT.

A read-only security audit that runs available code-scanning, secret-scanning, and dependency-checking tools over a project path. SAST means scanning source code for security weaknesses without running an attack against the application.

In plain words
What is it for?
Use it to check Python, JavaScript, or other code for security problems, leaked credentials, unsafe dependencies, lint issues, and related findings.
Why use it?
It combines findings from the scanners that are installed and shows which issues should be fixed first.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

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/xaiht/tlamatini/security_audit
Any agent
npx skills add XAIHT/Tlamatini --skill security_audit
Clone the repo
git clone --depth 1 https://github.com/XAIHT/Tlamatini

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 security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/xaiht/tlamatini/security_audit.svg)](https://agentmods.dev/skills/xaiht/tlamatini/security_audit)
Your own site
<a href="https://agentmods.dev/skills/xaiht/tlamatini/security_audit"><img src="https://agentmods.dev/badge/skills/xaiht/tlamatini/security_audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,327 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.00059 $0.01327
Opus 5 $0.00030 $0.00664
Sonnet 5 $0.00012 $0.00265
Haiku 4.5 $0.00006 $0.00133

Measured 6d ago against content hash a3cb157f02ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-audit 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.

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.

Tlamatini/agent/skills_pkg/security_audit/SKILL.md · 109 lines

How it starts

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

Security Audit

Run a defensive, read-only security sweep over ${input.path}. This skill is for authorized auditing of code you own or are permitted to test. Never use it to evade detection or attack third-party systems.

Procedure

  1. Detect available scanners. Probe PATH (where <tool> on Windows, which <tool> elsewhere) for each candidate. If ${input.tools} is set, restrict to that subset. Skip any tool that is not installed — note it in the summary rather than failing.
  2. Pick scanners by content. Run only what fits the target:
    • Python present → bandit -r "${input.path}" -f json (SAST) and, for dependency files, pip-audit -r <requirements file> or pip-audit in a project dir.
    • JS/TS present → npx eslint "${input.path}" -f json if an eslint config exists.
    • Any languagesemgrep --config auto --json "${input.path}" when semgrep is installed (falls back to --config p/ci offline).
    • Secretsgitleaks detect --source "${input.path}" --report-format json (or trufflehog filesystem) to catch committed credentials/keys.
    • Always run ruff check "${input.path}" --output-format json when Python is present — its security-adjacent lint rules (S-prefixed) are cheap signal.
  3. Run each scanner via chat_agent_executer. Capture stdout even on a non-zero exit code — most of these tools exit non-zero precisely because they found issues. Truncate any single tool's raw output to ~16000 chars before parsing.
  4. Normalise findings into one shape: {tool, file, line, severity, rule_id, message}. Map each tool's native severity onto critical | high | medium | low. Treat any committed secret/credential as critical.
  5. Filter & count. Drop findings below ${input.min_severity}. Produce severity_counts = {critical, high, medium, low}.
  6. Summarise for action. Lead with the count of critical/high issues, name the top 3 things to fix first, and list which scanners were unavailable so the reader knows the coverage gaps.

Read the full file on GitHub · 109 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 · 109 lines · 59 tokens per session scan A a3cb157f02ad

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository XAIHT/Tlamatini (16 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 1,327 once invoked, about $0.0003 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.