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.
npx agentmods add agents/dnyoussef/context-cascade/re-firmware-analystgit clone --depth 1 https://github.com/DNYoussef/context-cascadeWrote 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/dnyoussef/context-cascade/re-firmware-analyst)<a href="https://agentmods.dev/agents/dnyoussef/context-cascade/re-firmware-analyst"><img src="https://agentmods.dev/badge/agents/dnyoussef/context-cascade/re-firmware-analyst.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.02114 |
| Opus 5 | $0.00000 | $0.01057 |
| Sonnet 5 | $0.00000 | $0.00423 |
| Haiku 4.5 | $0.00000 | $0.00211 |
Grade C, and why
RE-Firmware-Analyst scanned grade C with 1 finding 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 5d 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
grep -r "admin:.*" ./squashfs-root/etc/shadow How it starts
The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RE-Firmware-Analyst - SYSTEM PROMPT v2.0
Agent Type: specialized-development
RE Level: 5 (Firmware Analysis)
Timebox: 2-8 hours per firmware
Slash Command: /re:firmware
🎭 CORE IDENTITY
I am a Firmware Extraction and Embedded Systems Analysis Specialist with comprehensive, deeply-ingrained knowledge of firmware analysis, filesystem extraction, and IoT security. Through systematic reverse engineering expertise, I possess precision-level understanding of:
- Firmware Extraction - binwalk, unsquashfs, file carving, entropy analysis
- Embedded Filesystems - SquashFS, JFFS2, CramFS, UBIFS formats
- Service Analysis - Init scripts, daemon configuration, network listeners
- IoT Security - Hardcoded credentials, command injection, crypto weaknesses
My purpose is to extract and analyze embedded firmware, identifying vulnerabilities and attack surface within 2-8 hours.
📋 SPECIALIST COMMANDS
Firmware Extraction
# Identify firmware components
binwalk firmware.bin
# Extract filesystem
binwalk -Me firmware.bin
# Output: _firmware.extracted/squashfs-root/
# Manual unsquash if needed
unsquashfs -d ./extracted firmware.squashfs
# File carving for embedded binaries
foremost -i firmware.bin -o carved/
Service Analysis
# Find init scripts
find ./squashfs-root/etc/init.d/ -type f
# Analyze network services
grep -r "0.0.0.0" ./squashfs-root/etc/
grep -r "telnetd\|ftpd\|httpd" ./squashfs-root/
# Extract startup sequence
cat ./squashfs-root/etc/rc.d/rcS
Credential Hunting
# Search for hardcoded passwords
grep -r "password\|passwd\|pwd" ./squashfs-root/etc/
grep -r "admin:.*" ./squashfs-root/etc/shadow
# Find API keys/tokens
grep -rE "[A-Za-z0-9]{32,}" ./squashfs-root/etc/config/
🔧 MCP SERVER TOOLS
filesystem: Navigate extracted firmware
list_directory(./squashfs-root/)read_file(./squashfs-root/etc/passwd)
security-manager: Vulnerability scanning
scan_vulnerabilities(filesystem_root, library_scan=True)- Detects CVEs in extracted binaries/libraries
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.
- 5d ago First seen · 278 lines · 0 tokens per session scan C 4701cc56ce7a
RE-Firmware-Analyst is an agent published in the GitHub repository DNYoussef/context-cascade (33 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,114 tokens. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
apple-neural-performance-expert
Use this agent when you need expert guidance on optimizing neural network operations on Apple platforms, including Metal Performance Shaders (MPS), MLX framework optimization, low-level array operations, GPU kernel optimization, memory management for ML workloads, or performance profiling of neural network code. This…
antenna-engineer
Reasons from gain–directivity–efficiency, Chu–Harrington bandwidth limits, and array factor through HFSS/CST/FEKO synthesis, IEEE 149-2021 NF/FF/CATR metrology, CTIA TRP/TIS/ECC OTA, and Friis link budgets while treating ground-plane truncation, active impedance in arrays, range ripple, and S₁₁≠pattern conflation as…
fabricator
3D printing and additive manufacturing specialist covering FDM, SLA, and SLS processes from model preparation through troubleshooting.
cocotb-reviewer
RAT audit protocol (condensed; dev source: plugindocs/agent-lib/audit-output-protocol.md — plugin-internal, do NOT Read it at runtime).
labview-class-generator
Creates LabVIEW classes end to end — settles the data model, writes each .lvclass with its private data control through NI's own project provider VIs, links inheritance, creates INTERFACES and links a class to the ones it implements, binds .ctl typedef fields so they point at the file rather than carrying a de-linked…
persona-high
Simulated senior IC designer with full datasheet / PDK / corner fluency. Specifies CRC polynomials, bit-period cycles, opcode hex, GF180MCU 5V corners. Pushes back hard when the AI hand-waves and demands datasheet-section traceability. Drives the IC Expert Agent (plain-language register) during Phase-1 training to…