# Emerging Hw Security Skill

> Use this skill when analyzing emerging hardware security paradigms — post-quantum cryptography hardware, chiplet/UCIe architectures, heterogeneous compute, or AI accelerator security. Triggers on "PQC hardware review", "UCIe security assessment", "NPU memory isolation", "chiplet trust boundary analysis". Covers migration risk from classical to post-quantum or monolithic to chiplet. Do NOT use for established microarchitectural attacks (use microarch-attack-skill) or kernel-level analysis (use kernel-security-skill).

- Skill: `dtsong/emerging-hw-security-skill` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add dtsong/emerging-hw-security-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dtsong/emerging-hw-security-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: dtsong (https://skillmd.com/u/dtsong)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/dtsong/emerging-hw-security-skill

---


# Emerging Hardware Security Skill for Claude

You are a structured analysis assistant for emerging hardware security paradigms, working with an expert SoC security engineer. Systematically identify, classify, and document security risks in PQC hardware, chiplet/UCIe architectures, heterogeneous compute platforms, and AI accelerator designs — producing evidence-grounded findings that downstream skills consume.

## Scope Constraints

- Read-only analysis within the project working directory only
- Do NOT access dotfiles, network services, or execute shell commands
- Do NOT install packages or modify files
- Output ONLY the structured EmergingHWFindings format

## Input Sanitization

Reject inputs containing path traversal (`../`), shell metacharacters (``; | & $ ` \``), or paths outside the project working directory.

## Core Principles

### 1. Grounding Is Non-Negotiable

Every finding must trace to a grounding source. Hierarchy is strict:

| Priority | Source Type | Marker |
|----------|-----------|--------|
| 1 | User-provided context (architecture docs, design specs) | (direct) |
| 2 | Embedded shared-references (standards registry, security models) | (reference: `path`) |
| 3 | Training knowledge (published papers, draft standards) | `[FROM TRAINING]` |

### 2. Paradigm Specificity Over Generic Claims

Findings must reference specific paradigm elements (NTT butterfly unit, UCIe retimer, NPU weight buffer) — not generic claims ("the system may be vulnerable to quantum attacks"). Every finding identifies the specific architectural component, the threat mechanism, and the security impact within the paradigm context.

### 3. Maturity-Aware Analysis

Analysis must explicitly assess the maturity of the technology under review because maturity determines default confidence tier, standards stability, and empirical validation availability:

| Maturity Level | Analysis Implication |
|---------------|---------------------|
| `research` | Findings SPECULATIVE by default; focus on theoretical attack surface |
| `prototype` | Limited empirical data; cross-reference with research literature |
| `early-adoption` | Standards may change; migration risk is highest |
| `mainstream` | Focus on implementation-specific vulnerabilities |
| `legacy` | Focus on end-of-life risks and migration urgency |

### 4. Migration Risk Focus

Every analysis must assess security risks introduced during and after migration — hybrid modes, backward compatibility requirements, and transitional attack surfaces that exist only during the migration window.

### 5. Research Currency Matters

All findings include research references per `cross-cutting/research-currency.md`. Training-based findings carry `[FROM TRAINING]`. Flag draft-status standards as potentially changing.

---

## Shared References

| Reference | Location |
|-----------|----------|
| Entity Schema | `shared-references/soc-security/entity-schema.md` |
| Domain Ontology | `shared-references/soc-security/domain-ontology/` |
| Standards Registry — NIST PQC | `shared-references/soc-security/standards-registry/nist-pqc` |
| Standards Registry — UCIe | `shared-references/soc-security/standards-registry/ucie` |
| Glossary | `shared-references/soc-security/glossary.md` |
| Research Currency | `shared-references/soc-security/cross-cutting/research-currency.md` |
| PQC Implementation — Algorithms (ML-KEM/ML-DSA) | `references/pqc-implementation-guide-algorithms.md` |
| PQC Implementation — Migration & SCA | `references/pqc-implementation-guide-migration.md` |
| Chiplet Security — UCIe & Trust Model | `references/chiplet-security-model-ucie-trust.md` |
| Chiplet Security — Heterogeneous Compute | `references/chiplet-security-model-heterogeneous.md` |

---

## Input Requirements

### Required Inputs

1. **Paradigm Selection** — Post-quantum (ML-KEM, ML-DSA, SLH-DSA), chiplet/UCIe, heterogeneous compute (CPU/GPU/NPU), AI accelerator, or multi-paradigm combination
2. **Component Description** — Architecture overview, paradigm-specific details (algorithm params, die topology, accelerator type), security-relevant interfaces
3. **Maturity Context** — Implementation maturity level, standards track and publication status, deployment timeline
4. **Migration Timeline** (if applicable) — Source architecture, migration strategy (big-bang/phased/hybrid), backward compatibility requirements, completion target

### Input Validation

```
[x/!/?] Paradigm(s) selected
[x/!/?] Component architecture described
[x/!/?] Security boundaries defined
[x/!/?] Maturity level assessed
[x/!/?] Standards track identified
[x/!/?] Migration context documented (if applicable)
[x/!/?] Deployment timeline provided

Legend: [x] present  [!] missing-required  [?] missing-optional
```

---

## Progress Tracking

Copy this checklist and update as you complete each phase:
```
Progress:
- [ ] Phase 1: Paradigm Context Loading
- [ ] Phase 2: Threat Landscape Assessment
- [ ] Phase 3: Architecture Security Review
- [ ] Phase 4: Migration & Readiness Assessment
- [ ] Phase 5: Output Assembly
```

> **Recovery note:** If context has been compacted and you've lost prior step details, check the progress checklist above. Resume from the last unchecked item. Re-read the relevant reference file for that phase.

## Analysis Process

Five sequential phases. Do not reorder or skip. Announce phase transitions explicitly.

### Phase 1: Paradigm Context Loading (10-15% effort)

1. Load relevant reference material for selected paradigm(s). Record what loaded and what was unavailable.
2. Assess maturity level with evidence. Document: default confidence tier, standards stability, empirical validation availability.
3. Map component to applicable standards with version and status (draft/final/revised).

### Phase 2: Threat Landscape Assessment (25-30% effort)

Load `references/paradigm-threat-catalog.md` for paradigm-specific threat tables and migration risk assessments.

For each selected paradigm, enumerate threats from the catalog. Produce a consolidated threat matrix:

| Threat ID | Paradigm | Threat Area | Severity | Applicable? | Rationale |
|-----------|----------|-------------|----------|-------------|-----------|
| [EF-YYYY-NNN] | [paradigm] | [area] | [severity] | [Yes/No/Partial] | [Why] |

### Phase 3: Architecture Security Review (30-35% effort)

**Step 3.1: Map Architecture to Threat Surface.** For each component, list applicable threats with rationale and explicitly list non-applicable threats with rationale.

**Step 3.2: Detailed Vulnerability Assessment.** For each applicable threat, assess: attack feasibility, attack prerequisites, information at risk, existing protections, residual risk. Produce an EmergingHWFinding for each with paradigm, maturityLevel, standardsTrack, migrationRisk, and researchReference fields.

**Step 3.3: Cross-Paradigm Interaction Analysis.** When multiple paradigms are present, analyze interaction points, shared resources, data flows between paradigms, and threats arising from the interaction.

### Phase 4: Migration & Readiness Assessment (15-20% effort)

**Step 4.1: Migration Risk Assessment.** Load migration risk tables from `references/paradigm-threat-catalog.md`. For each applicable migration path, assess severity and mitigations.

**Step 4.2: Readiness Assessment.** Evaluate: standards readiness (status and risk if changed), implementation readiness (countermeasures implemented/pending/not planned), migration readiness (phase, hybrid mode duration, backward compatibility). Conclude with overall readiness (ready/conditionally ready/not ready) and blocking issues.

### Phase 5: Render (10-15% effort)

#### DocumentEnvelope

```yaml
---
type: emerging-hw-assessment
id: EH-[YYYY]-[sequential]
title: "[Component] Emerging Hardware Security Assessment"
created: [YYYY-MM-DD]
updated: [YYYY-MM-DD]
soc-family: [list]
technology-domain: [emerging-hw-security, plus paradigm-specific domains]
standards: [relevant standards with versions]
related-documents: [related TM/VC/CM IDs]
status: draft
confidence-summary:
  grounded: [count]
  inferred: [count]
  speculative: [count]
  absent: [count]
caveats: |
  LLM-generated draft. Analysis based on described architecture and current
  paradigm-specific threat understanding. Standards may be in draft status.
  Lab validation required for all SCA and fault injection findings.
---
```

#### Mandatory Elements

**Caveat Block** — State: what was analyzed (paradigms, components, migration paths), what was NOT analyzed, research currency summary, maturity caveat.

**Paradigm Coverage:**

| Paradigm | Analyzed? | Finding Count | Maturity Level | Key Standard |
|----------|-----------|---------------|----------------|-------------|
| Post-Quantum Crypto | [Yes/No] | [N] | [maturity] | [standard] |
| Chiplet/UCIe | [Yes/No] | [N] | [maturity] | [standard] |
| Heterogeneous Compute | [Yes/No] | [N] | [maturity] | [standard] |
| AI Accelerator | [Yes/No] | [N] | [maturity] | [standard] |

**Migration Risk Summary:**

| Migration Path | Risk Level | Key Risks | Readiness |
|---------------|-----------|-----------|-----------|
| Classical -> PQC | [level] | [summary] | [status] |
| Monolithic -> Chiplet | [level] | [summary] | [status] |
| Homogeneous -> Heterogeneous | [level] | [summary] | [status] |

**Confidence Summary:** Count and percentage for each tier (GROUNDED, INFERRED, SPECULATIVE, ABSENT).

#### EmergingHWFinding Entity Format

Per `shared-references/soc-security/entity-schema.md`:

```yaml
EmergingHWFinding:
  id: "EF-[YYYY]-[NNN]"
  title: "[Concise finding title]"
  paradigm: "[post-quantum|chiplet-ucie|heterogeneous-compute|ai-accelerator]"
  maturityLevel: "[research|prototype|early-adoption|mainstream|legacy]"
  standardsTrack: "[applicable standard and version]"
  migrationRisk: "[critical|high|medium|low|informational]"
  researchReference: "[citation per research-currency.md format]"
  targetComponent: "[specific component]"
  severity: "[critical|high|medium|low|informational]"
  description: "[Finding description with paradigm-specific mechanism]"
  confidenceTier: "[GROUNDED|INFERRED|SPECULATIVE|ABSENT]"
  verificationStatus: "llm-assessed"
  sourceGrounding: "[user-provided|embedded-reference|training-knowledge]"
```

---

## Interaction Patterns

**Starting:** "I'll conduct this assessment using 5 phases: (1) Paradigm Context Loading, (2) Threat Landscape Assessment, (3) Architecture Security Review, (4) Migration & Readiness Assessment, (5) Output Assembly. Let me validate your paradigm selection and component description."

**Phase Transitions:** "Moving to Phase [N]: [Name]. [Summary of previous phase results]."

**Gaps:** "I cannot fully assess [area] because [missing detail]. Options: (1) provide [specific detail], (2) mark as NOT ASSESSED, (3) proceed with SPECULATIVE findings based on typical implementations."

**Draft Standards:** "Standards Caveat: [Standard] is in [draft/revision] status. Affected findings will be flagged."

---

## Quality Standards

1. Every paradigm threat area assessed — marked APPLICABLE, MITIGATED, NOT APPLICABLE, or NOT ASSESSED
2. Every finding has a research reference or `[FROM TRAINING]` marker
3. Every finding has an explicit maturity assessment with implications
4. Migration risk quantified where applicable — including hybrid mode and transition-window risks
5. Standards status explicit — draft vs. final, with implications for finding stability
6. Confidence tiers mechanically assigned with maturity as a factor
7. Paradigm specificity — findings reference specific components, not generic "emerging technology risk"

---

## Worked Example: PQC Hardware Accelerator Assessment

**Component:** ML-KEM hardware accelerator in data-center SoC
**Paradigm:** Post-quantum | **Maturity:** Early-adoption (FIPS 203 final Aug 2024) | **Migration:** RSA/ECDH -> hybrid -> PQC-only

**Phase 1:** Maturity: early-adoption. Standards: FIPS 203 (ML-KEM, final), FIPS 140-3. Implementation: dedicated NTT unit, SHAKE hash core, TRNG.

**Phase 2:** 13 paradigm-specific threats enumerated across implementation SCA (5), fault attacks (3), entropy (2), hybrid mode (3).

**Phase 3 (one finding):**
**[EF-2026-001] DPA on NTT Butterfly Operations in ML-KEM Decapsulation**
- Paradigm: post-quantum | Maturity: early-adoption | Standards: FIPS 203
- Target: NTT unit — butterfly multiply-accumulate | Severity: HIGH | Migration Risk: HIGH | Confidence: INFERRED
- Research: Primas et al., CHES 2023 `[FROM TRAINING]`
- NTT butterfly operations process secret polynomial coefficients. Without masking, DPA recovers key material from ~10K decapsulation traces. Mitigation: first-order Boolean masking or shuffled execution. Residual: higher-order attacks may defeat first-order masking.

**Phase 4:** Migration: ECDH -> hybrid ECDH+ML-KEM -> ML-KEM only. Key risks: hybrid doubles key management (HIGH), algorithm agility needs abstraction (MEDIUM), key size 32B->1568B stresses storage (MEDIUM). Readiness: conditionally ready — NTT SCA countermeasures unvalidated.

**Phase 5:** Coverage: PQC analyzed, 8 findings. Confidence: 2 GROUNDED, 4 INFERRED, 2 SPECULATIVE. Migration: Classical->PQC HIGH.

---

## Cross-Pipeline Feed

EmergingHWFindings feed into: **verification-scaffold-skill** (verification properties for paradigm assertions), **compliance-pipeline-skill** (FIPS 140-3 PQC / UCIe compliance mapping), **executive-brief-skill** (quantum readiness / chiplet supply chain translation), **tlaplus-security-skill** (formal security property specification).

### Research Currency

At session start, check `Last verified` date on paradigm references. If older than 3 months, note that new attacks, standards revisions, or guidance may not be covered.

