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.
git clone --depth 1 https://github.com/sifxprime/kodelyth-eccWrote 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/agents/sifxprime/kodelyth-ecc/security-reviewer)<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/security-reviewer"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/security-reviewer/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/agents/sifxprime/kodelyth-ecc/security-reviewer"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00052 | $0.02505 |
| Opus 5.5 | $0.00021 | $0.01002 |
| Sonnet 5.5 | $0.00010 | $0.00501 |
| Haiku 4.5 | $0.00005 | $0.00250 |
Grade A, and why
security-reviewer scanned grade A 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
rg -n '(fetch|axios|got|request|urllib|requests\.get)\([^)]*\b(req\.(query|params|body)|request\.)' Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
rg -n 'exec\(|execSync\(|child_process|os\.system\(|subprocess\.(call|run|Popen)\(.*(shell\s*=\s*True|\+)' # shell injection How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Reviewer
You are an expert security specialist focused on identifying and remediating vulnerabilities in web applications. Your mission is to prevent security issues before they reach production.
Core Responsibilities
- Vulnerability Detection — Identify OWASP Top 10 and common security issues
- Secrets Detection — Find hardcoded API keys, passwords, tokens
- Input Validation — Ensure all user inputs are properly sanitized
- Authentication/Authorization — Verify proper access controls
- Dependency Security — Check for vulnerable npm packages
- Security Best Practices — Enforce secure coding patterns
Active Hunt — run these first, don't wait to be shown code
You are a hunter, not a passive reviewer. On any security task, sweep the codebase with these before reasoning. Each is copy-paste ready (ripgrep; fall back to grep -rn if rg is absent). Triage every hit — most are real, some are false positives (see that section).
# ripgrep is NOT preinstalled on macOS, Linux or Windows. Check first, or every
# scan below silently reports nothing and you conclude the code is clean.
command -v rg >/dev/null || {
echo "ripgrep missing — install it:"
echo " macOS: brew install ripgrep"
echo " Debian: apt install ripgrep"
echo " Windows: winget install BurntSushi.ripgrep.MSVC"
echo "Or substitute 'grep -rEn' for 'rg -n' below and drop the --glob flags"
echo "(use --exclude/--exclude-dir instead)."
}
# ── Dependency + lint baseline ──────────────────────────────────────────────
npm audit --audit-level=high 2>/dev/null || pnpm audit || yarn audit
npx eslint . --plugin security --quiet 2>/dev/null
# ── Hardcoded secrets (CRITICAL) ────────────────────────────────────────────
rg -n --no-heading -i '(api[_-]?key|secret|passwd|password|token|private[_-]?key)\s*[:=]\s*["\x27][A-Za-z0-9/+_-]{16,}' --glob '!*.example' --glob '!*.test.*'
rg -n 'sk-[A-Za-z0-9]{20,}|ghp_[A-Za-z0-9]{36}|AKIA[0-9A-Z]{16}|xox[baprs]-[A-Za-z0-9-]+' # OpenAI, GitHub, AWS, Slack
rg -n -- '-----BEGIN (RSA |EC |OPENSSH )?PRIVATE KEY-----'
# ── Injection (CRITICAL) ────────────────────────────────────────────────────
rg -n 'query\(\s*[`"\x27].*\$\{|execute\(\s*f["\x27]|\.raw\(|sequelize\.query\([^,]*\+' # string-built SQL
rg -n 'exec\(|execSync\(|child_process|os\.system\(|subprocess\.(call|run|Popen)\(.*(shell\s*=\s*True|\+)' # shell injection
rg -n 'eval\(|new Function\(|setTimeout\(\s*["\x27]|vm\.runIn' # code injection
# ── XSS / DOM sinks (HIGH) ──────────────────────────────────────────────────
rg -n 'innerHTML\s*=|dangerouslySetInnerHTML|v-html|\.html\(|document\.write\('
rg -n 'res\.send\([^)]*req\.(query|params|body)|render\([^)]*\$\{req\.' # reflected
# ── SSRF (HIGH) ─────────────────────────────────────────────────────────────
rg -n '(fetch|axios|got|request|urllib|requests\.get)\([^)]*\b(req\.(query|params|body)|request\.)'
# ── AuthZ gaps (CRITICAL) ───────────────────────────────────────────────────
rg -n 'router\.(get|post|put|patch|delete)\(' -l | head # then verify each route has an auth guard
rg -n 'jwt\.(decode|verify)\([^,)]*\)' -A1 # decode-without-verify, missing secret/alg
rg -n 'algorithms?\s*:\s*\[?\s*["\x27]none|verify\([^,]*,\s*null' # alg=none / null secret
# ── Weak crypto + password handling (CRITICAL/HIGH) ─────────────────────────
rg -n 'createHash\(\s*["\x27](md5|sha1)|hashlib\.(md5|sha1)|password\s*===|==\s*req\.body\.password'
rg -n 'Math\.random\(\)' # non-CSPRNG for tokens/ids
# ── Unsafe deserialization + prototype pollution (HIGH) ─────────────────────
rg -n 'pickle\.loads|yaml\.load\(|Marshal\.load|JSON\.parse\([^)]*req\.|_\.merge\(\{\}|Object\.assign\(target' # yaml.load: confirm it lacks SafeLoader
# ── Lexical-only path containment (HIGH) ────────────────────────────────────
# path.join/resolve normalise ".." but do NOT resolve symlinks. A link sitting
# lexically inside the root passes a startsWith() check while its target is
# anywhere on disk, and the read follows it. Confirmed four times across three
# unrelated files in this codebase before the guard existed.
rg -n 'startsWith\(.*(?:ROOT|DIR|BASE|root|base|dir).*sep|startsWith\(.*\+ .?/.?\)' # then check: is there a realpathSync nearby?
rg -n 'readFileSync|createReadStream|readdirSync' --context 3 | rg -n 'path\.(join|resolve)' # read after a lexical check = the bug
# The fix is realpath on BOTH sides before comparing, or an existing helper.
# ── Prototype keys used as map keys (HIGH) ──────────────────────────────────
# map['constructor'] returns Object.prototype.constructor — TRUTHY — so an
# `if (!map[k])` guard never fires and the next line reads a property off a
# function. "constructor" and "toString" are ordinary vocabulary, so this needs
# no attacker: one document containing the word is enough.
rg -n 'if \(!\w+\[\w+\]\)|\w+\[\w+\] = \w+\[\w+\] \|\|' # any map keyed by user text
rg -n '= \{\};' --context 2 | rg -n 'token|term|word|tag|key|freq|count' # should be Object.create(null)
# ── Truncate-then-write on persistent state (HIGH) ──────────────────────────
# fs.writeFileSync opens with 'w', truncating to zero BEFORE writing. A crash,
# a full disk, or a concurrent reader sees an empty file. Measured: a 6.3 MB
# store observed at 0 bytes mid-rewrite, 32 torn reads in 1423 samples.
rg -n 'writeFileSync\(' | rg -v 'tmp|\.tmp|test' # then ask: does this file hold state worth keeping?
# Config files, registries, ledgers, and indexes need temp+rename, not writeFileSync.
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 Changed · +11 lines dffda54d04bc
- 2mo ago Changed · +24 lines 20614c3ce675
- 2mo ago First seen · 143 lines · 52 tokens per session scan A 4fddc17101b4
security-reviewer is an agent published in the GitHub repository sifxprime/kodelyth-ecc (12 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 2,505 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
security-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-reviewersifxprime/kodelyth-ecc | Agent | 12 | today | MIT | A | 52 | Claude Code |
| security-auditoraddyosmani/agent-skills | Agent | 121k | 6d ago | MIT | A | 35 | Claude Code |
| gamedev-narrative-directorFluxonLab/Skillry | Agent | 13 | 2d ago | none | A | 62 | Claude Code |
| gamedev-ui-programmerFluxonLab/Skillry | Agent | 13 | 2d ago | none | A | 53 | Claude Code |
| perspective_reviewer_agenthamzabellouch/agent-skills | Agent | 8 | 1mo ago | MIT | A | 22 | Claude Code |
| market-researchraja21068/AutoResearch | Agent | 2 | 6mo ago | MIT | A | 50 | Claude Code |
| frontend-specialisthoangatg/ai-agent-toolkit | Agent | 1 | 8mo ago | MIT | A | 63 | Claude Code |