ec-firmware-analysis

ec-firmware-analysis is a skill for Claude Code from laurigates/claude-plugins. It costs 35 tokens per session (1,260 once invoked), scanned A, original, MIT.

A method for locating and examining embedded-controller firmware inside a laptop BIOS image or flash dump. The embedded controller manages hardware tasks such as charging, power states, wake events, and the power button.

In plain words
What is it for?
Use it to find an embedded-controller image, assess whether it appears signed, and investigate firmware changes related to charging, shutdown power, or wake behavior.
Why use it?
It helps explain hardware behavior that the operating system cannot see directly. It also emphasizes treating firmware images as untrusted data and analyzing them without running extracted code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the bios-plugin plugin — 7 skills shipped together

Good fit Use it to find an embedded-controller image, assess whether it appears signed, and investigate firmware changes related to charging, shutdown power, or wake behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/laurigates/claude-plugins/ec-firmware-analysis
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.

Any agent
npx skills add laurigates/claude-plugins --skill ec-firmware-analysis
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code.

Or install bios-plugin, the plugin that ships this one along with the rest of its 7 skills.

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 ec-firmware-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/laurigates/claude-plugins/ec-firmware-analysis/github.svg)](https://agentmods.dev/skills/laurigates/claude-plugins/ec-firmware-analysis)
Your own site
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/ec-firmware-analysis"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/ec-firmware-analysis/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 ec-firmware-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/ec-firmware-analysis"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/ec-firmware-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,260 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.00035 $0.01260
Opus 5.5 $0.00014 $0.00504
Sonnet 5.5 $0.00007 $0.00252
Haiku 4.5 $0.00003 $0.00126

Measured 13d ago against content hash e0bc83763eb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ec-firmware-analysis 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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/mec-image-check.py, scripts/tests/test-mec-image-check.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

bios-plugin/skills/ec-firmware-analysis/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.

EC Firmware Analysis

The embedded controller decides much of a laptop's power behaviour: what stays powered after shutdown, charging, wake sources, the power button. Its firmware usually lives in the same SPI flash as the BIOS and ships inside the vendor's BIOS capsule, so it can be studied without touching the hardware.

Treat every image as untrusted data. Analyse statically; never run anything extracted from it.

When to Use This Skill

Use this skill when... Use something else when...
Explaining power behaviour the OS cannot see (drain while off, wake) Measuring the drain itself: linux-plugin's battery-drain skill
Checking whether a modified EC image would be accepted (signed or not) Checking whether the OS can write the flash: bios-plugin:bios-flash-protection-audit
Finding what an EC firmware update changed Comparing two whole BIOS versions: bios-plugin:bios-update-diff

Step 1: Find the EC image

In a vendor capsule or a flash dump, search for the EC image's header rather than assuming offsets. A capsule's layout does not always map 1:1 onto the chip:

  • Microchip MEC (MEC152x/MEC172x, common in recent laptops and in Framework and Chromebook ECs): tag PHCM.
  • ITE: ITE strings or the IT8 part number; ENE: ENE / KB9; Nuvoton NPCX: NPCX or its boot header. Strings that name the EC RTOS (LOS_ = Huawei LiteOS, ChromeOS EC, Zephyr) confirm the region.

For Microchip images, check the integrity fields:

python3 -I "${CLAUDE_SKILL_DIR}/scripts/mec-image-check.py" spi-full.bin --base 0x0

The script prints each PHCM header's load address, entry point and payload range, and checks the header SHA-256 (at +0x40) and the payload SHA-256 trailer. Field layout comes from ChromiumOS chip/mchp/util/pack_ec.py and Microchip's MEC152x SPI_image_gen README.

  • SIGNATURE_FIELDS=zero (unsigned) with both hashes ok: the image is protected only by SHA-256. A patched image needs only its trailer hash recomputed.
  • MEC152x signature enforcement is an OTP fuse inside the EC, not a header flag. If the vendor's own image is unsigned and boots, the fuse is not set (inference; a chip enforcing signatures would reject that image).

Read the full file on GitHub · 109 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 109 lines · 35 tokens per session scan A e0bc83763eb7

Subscribe to this mod's changes

ec-firmware-analysis is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 1,260 once invoked, about $0.0001 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-11-17.

Related

ec-firmware-analysis compared with skills from other repositories

ec-firmware-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ec-firmware-analysislaurigates/claude-pluginsSkill60yesterdayMITA35Claude Code
jetson-diagnosticNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k13d agoMITA113Claude Code, Codex
jtagprobeBrownFineSecurity/iothackbotSkill89611d agoMITA85Claude Code
triton-ascend-case-reduction-amin-atomicmindspore-ai/akgSkill269yesterdayApache-2.0A85Claude Code, Codex
flotherm-simsvd-ai-lab/sim-cliSkill256yesterdayApache-2.0A81Claude Code, Codex
remotebks-lab/open-bridgeSkill16todayMITA98Claude Code, Codex