security-analysis

security-analysis is a skill for Claude Code, Codex from bahaabdelwahed/embedded-claude-plugin. It costs 80 tokens per session (1,166 once invoked), scanned A, original, MIT.

A reference guide for STM32 hardware security features, including protections that control firmware reading, writing, booting, and isolation. STM32 is a family of microcontrollers made by STMicroelectronics.

In plain words
What is it for?
Use it to investigate or configure readout and write protection, secure boot, TrustZone, PCROP, option bytes, and secure firmware updates.
Why use it?
It explains which security settings exist and where to find their device-specific details before changing them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/bahaabdelwahed/embedded-claude-plugin/security-analysis
Any agent
npx skills add bahaabdelwahed/embedded-claude-plugin --skill security-analysis
Clone the repo
git clone --depth 1 https://github.com/bahaabdelwahed/embedded-claude-plugin

Made for: Claude Code, Codex.

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 security-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahaabdelwahed/embedded-claude-plugin/security-analysis.svg)](https://agentmods.dev/skills/bahaabdelwahed/embedded-claude-plugin/security-analysis)
Your own site
<a href="https://agentmods.dev/skills/bahaabdelwahed/embedded-claude-plugin/security-analysis"><img src="https://agentmods.dev/badge/skills/bahaabdelwahed/embedded-claude-plugin/security-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00080 $0.01166
Opus 5 $0.00040 $0.00583
Sonnet 5 $0.00016 $0.00233
Haiku 4.5 $0.00008 $0.00117

Measured 6d ago against content hash dc9c1fd29706, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-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 6d 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.

skills/security-analysis/SKILL.md · 110 lines

How it starts

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

Security Feature Analysis

Extract and interpret STM32 security features from reference manual and security documentation PDFs.

What to Extract

Flash Protection

  • RDP (Read-out Protection): Levels 0 (no protection), 1 (debug restricted), 2 (permanent, irreversible)
  • WRP (Write Protection): Per-sector/page write protection via option bytes
  • PCROP (Proprietary Code Read-Out Protection): Execute-only regions, code cannot be read even by other firmware

Advanced Security Features (Family Dependent)

  • Firewall (L0, L4): Hardware IP code isolation, prevents access from non-firewalled code
  • TrustZone (L5, U5, H5, WBA): ARM TrustZone-M with SAU, secure/non-secure partitioning
  • Secure Boot: Verified boot chain, root of trust
  • SBSFU (Secure Boot and Secure Firmware Update): ST middleware for OTA updates

Option Bytes

  • RDP level configuration
  • WRP sector selection
  • BOR (Brown-Out Reset) level
  • nBOOT and boot source configuration
  • Watchdog configuration (hardware/software)
  • User option bytes

Where to Find This Information

Reference Manual - Flash Protection

Glob pattern: docs/reference-manual/*.pdf

  1. Read pages 1-5 (ToC) to find the "Flash" chapter (often titled "Embedded Flash memory")
  2. Within the Flash chapter, search for sections titled:
    • "Read protection" or "RDP" (RDP levels and transition rules)
    • "Write protection" or "WRP" (sector/page protection configuration)
    • "PCROP" or "Proprietary code" (if available on the family)
  3. Also find the "Option bytes" section (sometimes a separate chapter, sometimes within Flash)
    • Contains register descriptions for FLASH_OPTCR, FLASH_OPTCR1
    • Shows which bits control which protection feature

Reference Manual - Firewall/TrustZone

  1. Search ToC for "Firewall" chapter (L0/L4 families)
  2. Search ToC for "TrustZone" or "SAU" or "GTZC" (L5/U5/H5)
  3. These are separate chapters with their own register descriptions

Security Documents

Glob pattern: docs/security-docs/*.pdf

Read the full file on GitHub · 110 lines

Files

What ships with it

1 file 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. 6d ago First seen · 110 lines · 80 tokens per session scan A dc9c1fd29706

Subscribe to this mod's changes

security-analysis is a skill published in the GitHub repository bahaabdelwahed/embedded-claude-plugin (5 stars, last pushed 5mo ago), licensed MIT. It adds 80 tokens to every session and 1,166 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens