devil-mode

devil-mode is a command for Claude Code from sifxprime/kodelyth-ecc. It costs 39 tokens per session (1,314 once invoked), scanned A, original, MIT.

A parallel security sweep that checks a code repository for attack paths involving AI prompts, dependencies, secrets, and hidden malicious code.

In plain words
What is it for?
Use it to find prompt injection, compromised or misspelled dependencies, leaked credentials, obfuscated payloads, network beacons, cryptominers, license violations, code theft, AI jailbreaks, and other hostile behavior.
Why use it?
It brings several attacker-focused checks together so common security risks are reviewed from different angles in one pass.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to find prompt injection, compromised or misspelled dependencies, leaked credentials, obfuscated payloads, network beacons, cryptominers, license violations, code theft, AI jailbreaks, and other hostile behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sifxprime/kodelyth-ecc/devil-mode
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 devil-mode

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sifxprime/kodelyth-ecc/devil-mode"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/devil-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,314 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.00039 $0.01314
Opus 5.5 $0.00016 $0.00526
Sonnet 5.5 $0.00008 $0.00263
Haiku 4.5 $0.00004 $0.00131

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

Security

Grade A, and why

devil-mode 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.

commands/devil-mode.md · 122 lines

How it starts

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

/devil-mode — Adversarial Parallel Sweep

Four red-team specialists attack your codebase from every angle attackers actually use. What would take a security firm a week of billable hours, your repo gets in 20 minutes.

Read the brief first. Each agent thinks like a hostile actor. Findings will be uncomfortable. That's the point.

What Gets Launched in Parallel

Agent Hunts
prompt-injection-hunter Jailbreak vectors, indirect injection, system-prompt leaks, tool-call hijacking
supply-chain-auditor Typosquats, malicious post-install, lockfile drift, slopsquats, compromised deps
secret-hunter Live secrets, git history leaks, encoded creds, bundled-to-client env vars
backdoor-hunter Obfuscated payloads, network beacons, time bombs, eval/exec abuse, cryptominers

Optional Extension Agents

Use these flags to add more agents to the sweep:

Flag Adds
--license license-violation-finder (GPL contamination, attribution gaps)
--theft code-stealer-detector (copy-paste provenance, copyleft hits)
--jailbreak jailbreak-tester (live AI feature red-team)
--chaos chaos-engineer (fault-injection plan generation)
--all All 8 agents — the full devil sweep

Usage

/devil-mode                  # 4-agent default sweep
/devil-mode --all            # all 8 adversarial agents
/devil-mode src/auth/        # focus on auth module
/devil-mode --pre-public     # before going open-source: --license + --theft + default
/devil-mode --pre-launch     # before public launch: --jailbreak + default + --chaos

Report Format

## DEVIL MODE REPORT

### Prompt Injection Surface (prompt-injection-hunter)
CRITICAL: [list]
HIGH:     [list]
DEFENSE GAPS: [where existing protections can be bypassed]

### Supply Chain (supply-chain-auditor)
THREATS:    [confirmed malicious / typosquat / drift]
WATCHLIST:  [suspicious patterns]
LOCKFILE:   [OK / drift / missing]

### Leaked Secrets (secret-hunter)
ACTIVE:     [rotate now — still valid]
HISTORICAL: [git history leaks — assume compromised]
BUNDLED:    [exposed to every client visit]

### Backdoors / Malicious Code (backdoor-hunter)
CRITICAL:   [confirmed reverse-shell / RCE / exfiltration]
SUSPICIOUS: [needs manual decode/review]

---
TOTAL EXPOSURE:    X critical, Y high, Z medium across N agents
PRIORITIZED ACTIONS:
  1. [first action — usually rotate or revert]
  2. [second]
  3. [third]

Read the full file on GitHub · 122 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 Changed 17b4ecb0ecee
  2. 2mo ago First seen · 122 lines · 39 tokens per session scan A 5fcbf3679668

Subscribe to this mod's changes

devil-mode is a command published in the GitHub repository sifxprime/kodelyth-ecc (12 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,314 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-09-03.

Related

devil-mode compared with commands from other repositories

devil-mode next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
devil-modesifxprime/kodelyth-eccCommand12todayMITA39Claude Code
integratenxtg-ai/forge-pluginCommand73d agoMITA6Claude Code
notebook-queryMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA74Claude Code
cold-startkunalsuri/ai-fication-kitCommand31mo agoApache-2.0A28GitHub Copilot
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code