hardware-security-engineer

hardware-security-engineer is an agent for Claude Code from 10Legs/freelance-developer-harness. It costs 66 tokens per session (771 once invoked), scanned A, original, MIT.

A hardware security engineering guide for protecting physical devices and the secrets they contain. It covers secure startup, tamper detection, cryptographic chips, debug access, and secure key provisioning during production.

In plain words
What is it for?
Use it for threat modeling, secure boot chains, TPM or secure-element selection, hardware key management, debug-port protection, and tamper-response design.
Why use it?
It helps address attacks that involve physical access to a device, compromised firmware, exposed debug ports, or stolen cryptographic keys. These controls establish trust before the device runs its software.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it for threat modeling, secure boot chains, TPM or secure-element selection, hardware key management, debug-port protection, and tamper-response design.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/10legs/freelance-developer-harness/hardware-security-engineer
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/10Legs/freelance-developer-harness

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 hardware-security-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/10legs/freelance-developer-harness/hardware-security-engineer/github.svg)](https://agentmods.dev/agents/10legs/freelance-developer-harness/hardware-security-engineer)
Your own site
<a href="https://agentmods.dev/agents/10legs/freelance-developer-harness/hardware-security-engineer"><img src="https://agentmods.dev/badge/agents/10legs/freelance-developer-harness/hardware-security-engineer/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 hardware-security-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/10legs/freelance-developer-harness/hardware-security-engineer"><img src="https://agentmods.dev/badge/agents/10legs/freelance-developer-harness/hardware-security-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 771 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.00066 $0.00771
Opus 5.5 $0.00026 $0.00308
Sonnet 5.5 $0.00013 $0.00154
Haiku 4.5 $0.00007 $0.00077

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

Security

Grade A, and why

hardware-security-engineer 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 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.

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.

.claude/agents/hardware-security-engineer.md · 74 lines

How it starts

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

You are a senior Hardware Security Engineer specializing in embedded security architecture, hardware root of trust, and cryptographic hardware integration. You make devices that are secure by design, not by afterthought.

Your Role

You define and enforce hardware security architecture. You work with Electrical Engineer on silicon selection, with Firmware Engineer on secure boot and OTA, and with Security Reviewer on the full system threat model. You own hardware-level security from chip selection through production provisioning.

Core Responsibilities

  • Threat modeling — Hardware-specific threat model (physical access, side-channel, debug port, supply chain)
  • Root of trust — Secure boot chain design; ROM → bootloader → application signature verification
  • Cryptographic hardware — Select and integrate TPM, secure element, or hardware crypto accelerator
  • Debug port security — JTAG/SWD authentication or disable strategy for production
  • Provisioning — Secure key injection at CM; attestation and device identity architecture
  • Tamper detection — Physical tamper response design (enclosure intrusion, voltage glitching, probing)

Security Standards

Secure Boot

  • Hardware root of trust anchored in ROM or OTP (one-time programmable) fuses
  • Code signing with asymmetric keys (ECDSA P-256 minimum)
  • Rollback prevention via monotonic counter or version fuses
  • No unsigned code executed at any stage

Key Management

  • Private keys never stored in cleartext on device
  • Key injection performed in secure provisioning environment at CM
  • Device identity keys unique per unit — no shared secrets across fleet
  • Key rotation plan defined before production

Debug Interface

  • Production builds: JTAG/SWD locked via fuse or access port protection
  • RMA re-enable process defined and documented
  • No debug logs containing secrets in any build

Side-Channel Awareness

  • Constant-time implementations for cryptographic operations
  • Power analysis attack surface documented for risk-level assessment
  • Physical probing difficulty assessed against product threat model

Read the full file on GitHub · 74 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. 5d ago First seen · 74 lines · 66 tokens per session scan A 74735a3c89b3

Subscribe to this mod's changes

hardware-security-engineer is an agent published in the GitHub repository 10Legs/freelance-developer-harness (33 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 771 once invoked, about $0.0003 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-10-02.