--- title: 'SecID: An LLM-Guided Framework for Threat-Aware Secondary Asset Identification with Quantitative RTL Analysis' authors: ['Md Ajoad Hasan', 'Dipayan Saha', 'Upoma Das', 'Sujan Kumar Saha', 'Mark Tehranipoor', 'Farimah Farahmandi'] date: 2026-11-27 categories: ['cs.CR', 'cs.AI'] tags: ['system_design'] source_id: '2611.33453' source_url: 'https://arxiv.org/abs/2611.33453' description: 'The growing complexity of modern hardware designs is making security assurance increasingly difficult. One of the foundational steps in pre-silicon security verification is identifying security...' keywords: ['cs.CR', 'cs.AI', 'SecID', 'LLM-Guided', 'Framework'] canonical: 'https://dailyreading.cc/records/arxiv_2611.33453' --- # SecID: An LLM-Guided Framework for Threat-Aware Secondary Asset Identification with Quantitative RTL Analysis Md Ajoad Hasan1 , Dipayan Saha1 , Upoma Das1 , Sujan Kumar Saha2 , Mark Tehranipoor1 and Farimah Farahmandi1 1*Department of Electrical and Computer Engineering, University of Florida, Gainesville, FL, USA* 2*Department of Electrical and Computer Engineering, Auburn University, Auburn, AL, USA* {md.hasan, dsaha, upoma.das}@ufl.edu, sks0152@auburn.edu, {tehranipoor, farimah}@ece.ufl.edu *Abstract*—The growing complexity of modern hardware designs is making security assurance increasingly difficult. One of the foundational steps in pre-silicon security verification is identifying security assets. While primary assets are often evident from design functionality, the internal signals that can facilitate their compromise are much less apparent. Complex data- and controlflow dependencies create many such internal security-critical locations, whose exploitation depends on the threat-specific attack mechanism—these are the secondary assets. To precisely identify these, we propose SecID, a multi-agent framework that combines deterministic RTL analysis with bounded dynamic evaluation and LLM reasoning to identify threat-specific secondary assets. Each asset decision is supported by functional influence, threat features, and explicit attack mechanisms. We demonstrate SecID on seven open-source SoC and IP designs, including openMSP430, NEORV32, and CV32E40P. The experimental results are corroborated through comparison with prior work, fault simulation, and formal analysis, and further evaluated through pipelineand final-stage ablation, threshold-sensitivity studies, and finalstage repeatability analysis. Together, these evaluations show that SecID can identify highly threat-relevant secondary assets with respect to a given primary asset, providing a scalable path toward hardware-security verification. *Index Terms*—hardware security, security assets, RTL, large language models, information leakage, fault injection ## I. INTRODUCTION Modern systems-on-chip (SoCs) integrate processors, memories, buses, and third-party intellectual-property (IP) blocks via increasingly complex control logic. This high degree of integration introduces security dependencies that may be difficult to recognize at an IP boundary [1](#page-7-0), [2](#page-7-1). Security verification therefore begins with a fundamental question: *what in the design must be protected?* Asset identification addresses this particular question and guides downstream security tasks, including threat modeling [3](#page-7-2), property generation [4](#page-7-3), and countermeasure design [5](#page-7-4)–[9](#page-7-5), as summarized in Fig. [1.](#page-0-0) Of these assets, primary assets are the direct security targets, such as a cryptographic key, program counter (PC), privilege decision, or service-completion signal. Knowing the primary asset tells the verifier what must be protected, but not the locations that can be exploited to compromise it. Its security often depends on surrounding data paths, control signals, state elements, and interfaces that carry, modify, authorize, or control its behavior. An attacker may therefore compromise the primary asset indirectly through these internal elements without attacking the primary asset itself. For example, corrupting a PC-select control can redirect execution without directly modifying the program counter. Such elements are secondary assets [10](#page-7-6), [11](#page-7-7). Prior fault-injection attacks demonstrate their ![](figures/arxiv_2611.33453/_page_0_Figure_9.jpeg) Fig. 1. Security-verification Workflow in Hardware Designs. security relevance by corrupting internal control, intermediate computations, and verification paths to redirect execution, recover cryptographic keys, or expose protected data [12](#page-7-8)–[15](#page-7-9). Hence, if overlooked, security verification focused only on the primary asset may leave relevant attack paths outside the scope of tests, properties, and countermeasures [16](#page-7-10). Identifying secondary assets therefore extends verification to the internal elements through which the primary asset can be compromised. However, not every signal structurally connected to a primary asset is necessarily security-relevant. Its significance depends on the threat and the underlying attack mechanism through which it can affect the primary asset. The same signal, for example, may be critical under fault injection but irrelevant to unauthorized access. Structural connectivity alone is therefore insufficient; secondary-asset identification must determine which connected elements can meaningfully contribute to compromise under the considered threat. Despite their importance, identifying security assets, including secondary assets, has historically relied on manual expert inspection. Only a few recent works have explored automated asset identification [17](#page-7-11), [18](#page-7-12), and even fewer have focused on secondary assets. For instance, Nath *et al.* [19](#page-7-13) identify potential primary assets using signal-naming and behavioral patterns, while Liu *et al.* [20](#page-7-14) classify security assets from RTL data- and control-flow using learned structural signatures. However, both approaches may have limited generalizability when security assets do not exhibit the corresponding naming, behavioral, or structural patterns, and neither provides a threatspecific rationale for the identified assets. LAsset [10](#page-7-6) uses LLM-assisted semantic reasoning to provide attack justifications; however, extensive reliance on LLM reasoning can raise reproducibility concerns [21](#page-7-15). SAIF [11](#page-7-7) is the closest prior work on secondary assets, combining RTL structure with vulnerability analysis. Even there, the threat dependence of secondary assets remains largely underexplored: also, the same primary asset need not have the same secondary-asset set under every threat. Motivated by the challenges in today's asset identification approaches, we outline the following research questions (RQs): **RQ1:** How can we determine which design elements are secondary assets for a given primary asset? **RQ2:** Can we develop an end-to-end methodology to reliably identify secondary assets across diverse design architectures? **RQ3:** How can we identify secondary assets while ensuring reproducibility and explainability? After investigating the answers to the above questions, we propose SecID, a novel LLM-guided agentic framework for systematic secondary asset identification in SoC and IP designs. SecID grounds LLM reasoning in deterministic RTL analysis and bounded threat feature evaluation using EDA tools, providing reproducible evidence for each candidate. Candidate-specific attack mechanisms further complement this evidence with explainable context for the final asset decisions. In summary, the key contributions of this work are as follows: - **Novelty:** To our knowledge, SecID is the first framework that systematically incorporates threat perspectives into secondary asset identification. - **Trustworthiness:** SecID grounds LLM inference in EDAderived quantitative threat-feature evidence and retains intermediate analysis artifacts for each asset decision, thereby strengthening trustworthiness. - Explainability: SecID maps relevant attack mechanisms to the identified secondary assets, providing justifications for the final asset decisions. - Comprehensiveness: SecID is evaluated across diverse SoC and IP designs in VHDL, Verilog, and SystemVerilog. The remainder of this paper is organized as follows. Section II presents the background study and rationale. Section III describes the proposed SecID framework. The experimental results and validation are presented in Section IV, before concluding the paper in Section V. #### II. BACKGROUND #### A. Primary vs Secondary Asset By definition, a security asset is any hardware component or data element whose protection is essential to preserve the system's confidentiality, integrity, or availability (CIA). Based on their dependency role in potential security breaches, assets can be categorized as primary or secondary assets [11], [22]. - **Primary Assets**: Primary assets are components that serve as the direct targets of an attack. For example, as shown in Fig. 2, the encryption key in an AES engine is a primary asset because it is the ultimate target of compromise. - Secondary Assets: Secondary Assets are components that interact with or facilitate the exposure, corruption, or disruption of primary assets. While not directly critical, their compromise can weaken the overall security of the design by violating the confidentiality, integrity, or availability of the associated primary asset. Examples include system buses, peripheral ports, and internal signals/registers that carry the ![](figures/arxiv_2611.33453/_page_1_Figure_15.jpeg) Fig. 2. Overview of Asset Types in an AES Encryption Design data of the primary asset, either fully or partially. In AES, elements such as the Encryption/Decryption Engine and the Output Buffer qualify as secondary assets because, though they are not the primary target, their compromise can indirectly expose the encryption key. ## B. Threat-Specific Features In hardware design, there are four RTL-level threat models that cover the complete CIA objectives: (1) Information Leakage (IL) for confidentiality (C), (2) Unauthorized Access (UA) for both confidentiality (C) and integrity (I), (3) Fault Injection (FI) for integrity (I), and (4) Denial-of-Service (DoS) for availability (A). Our proposed SecID framework considers all four threat models. Each threat employs two complementary RTL-level features that assess how strongly a candidate signal exhibits threat-relevant behavior under the same test scenarios for each candidate; these features are intended for comparative analysis rather than as probabilities of attack success or evidence of exhaustive threat coverage. The two features for each threat are selected to represent distinct aspects of the corresponding attack mechanism while keeping the feature set interpretable and computationally tractable across designs. Information leakage (IL). IL occurs when confidential information is disclosed through an attacker-observable point. Shannon's mutual information provides an established basis for quantifying statistical dependence [23], [24]. Therefore, to characterize information leakage, SecID considers temporal incremental mutual information and UOP observability. Temporal incremental mutual information measures how much information about the primary asset accumulates in a candidate signal across cycles, with earlier acquisition weighted more strongly; UOP observability asks whether that information reaches a user-specified untrusted observable point (UOP) [25]–[27]. **Unauthorized access (UA).** UA refers to illicit access to protected resources or operations by bypassing intended authorization through attacker-controllable points. Of the two features, *Bypass sensitivity* measures the fraction of candidate perturbations that turn denial into unauthorized access; *UCP controllability* measures whether user-provided untrusted controllable points (UCPs) can affect the candidate under legal paired scenarios. **Fault injection (FI).** FI perturbs internal data or control state to induce erroneous behavior with adverse system-level impact. For the FI features, fault-injection feasibility (FIF) measures the scenario-balanced fraction of valid fault trials in which the injected fault is activated or consumed by ![](figures/arxiv_2611.33453/_page_2_Figure_0.jpeg) Fig. 3. Overview of the SecID workflow. Each dashed region represents an agent downstream logic, observed through its effect at a downstream point on the candidate-to-primary path or at the primary asset. Fault masking (FM) measures the fraction of activated faults whose effects disappear before corrupting the primary asset. **Denial of service (DoS).** DoS maliciously disrupts hardware availability or progress by delaying, blocking, or preventing correct execution. To assess DoS susceptibility, SecID uses *Progress disruption* (PD) to measure the added service delay, finite stall, or failure to recover before or within a bounded post-release window, while *service-rate degradation* (SRD) measures sustained throughput loss under repeated finite-duration blocking of a candidate. The security impacts characterized by these features are well established in prior hardware-security studies. For example, mutual information has been used in joint information-flow tracking [24], [28]. Similarly, fault injection studies commonly consider fault activation, propagation, and masking [29], [30]. DoS studies discuss effects such as service delay [31]–[33]. Hence, SecID does not treat the underlying phenomena as novel; rather, it adapts them into candidate-level RTL features for threat-specific secondary-asset identification, which, to our knowledge, has not previously been explored. #### III. SECID FRAMEWORK Identifying secondary assets from RTL, as posed in RQ1-**RQ3** in Section I, requires a solution with several key stages. It must first extract the broad set of signals structurally connected to the primary asset through RTL analysis and then selectively filter this set based on functional influence. The retained candidates must next be assessed using threat-specific quantitative evidence, while the surrounding design context must also be interpreted to determine plausible ways in which each candidate can contribute to compromise of the primary asset. The final decision should therefore be guided by both threat evidence and semantic attack context, thereby enhancing reproducibility and explainability. SecID realizes these requirements through a multi-agent approach that combines EDA-based RTL analysis with LLM reasoning. The EDA-based stages generate structural, functional, and quantitative threat evidence, while LLMs are used where design-dependent interpretation is required, including threat-scenario construction, EDA-script generation and refinement, attack-mechanism generation, and final asset decisions. To support scalability to larger designs, only the RTL segment local to each primary-candidate pair is extracted preserving its hierarchy. As shown in Fig. 3, SecID operates through five interacting agents: 1 Initial Candidate Generation, 2 Functional-Influence Pruning, 3 Threat-Feature Extraction, 4 Attack-Mechanism Generation, and 5 Final LLM Reasoning. This modular agentic workflow is designed to enable scalable and traceable secondary asset identification across diverse SoC and IP designs. #### A. Agent 1: Initial Candidate Generation Agent 1 elaborates the RTL into an inter-module Program Dependence Graph (PDG) containing both data and control dependencies [34]. For confidentiality, this agent follows primary-asset fan-out; for integrity and availability, it follows fan-in. Cross-hierarchy representations of the same signal and simple assignment aliases are de-duplicated. For openMSP430 frontend\_0.pc, the resulting candidate set includes next-PC data signals together with state, interrupt, fetch, and debugwrite controls. Agent 1's steps are summarized in Algorithm 1 (lines 1–3). ## B. Agent 2: Functional-Influence Pruning Agent 2, as presented in Algorithm 1 (lines 4–11), serves as a conservative screening step that filters out candidates with consistently weak functional influence while retaining those with stronger or unresolved influence. This allows later agents to operate on a reduced set of functionally relevant candidates rather than the full candidate universe. - 1) Path-activation guard extraction: Branch conditions, mux selects, FSM states, and related control predicates are extracted deterministically from the PDG to identify when primary-candidate paths become active. These predicates are stored in JSON for subsequent functional-influence analysis. - 2) **Boolean influence analysis**: Each local RTL cone is reduced to Boolean-level operators, and conservative transfer rules are assigned to logic, arithmetic, comparisons, and multiplexers. For example, a mux data input contributes only when TABLE I REPRESENTATIVE STATIC FUNCTIONAL-INFLUENCE VALUES | Design | Primary Asset | Candidate | $H_{\text{agg}}$ | $H_{\mathrm{path}}$ | $H_{\rm guard}$ | $H_{\text{legal}}$ | |---------------|---------------|----------------------------------------|------------------|---------------------|---------------------------|--------------------| | OpenMSP430 | omsp_ | frontend_0.pc_sw | 0.0313 | 0.500 | 1.000 | 0 | | Openivisi 430 | frontend.pc | inst_src | 0.0178 | 0.00391 | 0.00781 | 0.250 | | AES Core | aes_cipher_ | aes_cipher_top.u0.
subword | 1.000 | 0.500 | 1.000 | - | | | top.key | op.key aes_cipher_top.sa00 0.6 | | 0.250 | 0.500 | _ | | NEORV32 | ctrl_o.lsu_ | neorv32_cpu_control.
ctrl.csr_we | | | | 0 | | | priv | neorv32_cpu_control.
csr.dcsr_cause | 4.65× | 7.45× | 1.49×
10 -8 | 0 | its branch guard is active, while arithmetic and logical operators propagate per-bit influence according to their Boolean behavior. Thus, strongly connected components are condensed, and influence is propagated without running an RTL testbench, under the path-activation guards extracted above. Reconvergent contributions are combined using an OR-style composition so that multiple alternative paths contribute without canceling one another. 3) Static Hamming approximation: Using the Boolean-influence values in the previous stage, four normalized metrics summarize how strongly each candidate can functionally relate to the primary asset. $H_{\rm agg}$ captures the aggregate expected Hamming influence across multiple reconvergent paths; $H_{\rm path}$ the strongest ordinary bit-to-bit path influence; $H_{\rm guard}$ the strongest influence under an activating guard; and $H_{\rm legal}$ the influence under structurally valid mutually exclusive activation conditions, with $H_{\rm legal}$ used only for fan-in analysis. These complementary views account for different path behaviors that may be missed by a single metric. A candidate is retained if any of the views reaches a fixed design-independent threshold. C. Agent 3: Threat-Feature Extraction For each candidate retained by Agent 2, Agent 3 calculates a set of threat features via bounded dynamic RTL simulation, as shown in Algorithm 1 (lines 12–15). - 1) **Primary asset-specific threat modeling:** An LLM subagent first identifies the threat(s) relevant to the primary asset based on its CIA objective and RTL context. Only the features corresponding to the threat(s) are considered subsequently. - 2) Threat-feature score calculation: Given the selected threat and RTL context, the LLM generates targeted scenario classes for each feature and simulation scripts through incontext learning. A threat scenario specifies a concrete RTL operating condition under which the selected threat can be exercised and the corresponding candidate behavior can be measured. For example, for information leakage of r4, a valid debug read of r4 while monitoring dbg\_uart\_txd defines a scenario for testing whether candidate-dependent information can propagate to the UOP. Multiple independent LLM runs are first unioned and semantically de-duplicated; the resulting scenario pool is then iteratively fed back to the LLM to identify any remaining scenarios until the fraction of newly added classes falls below a fixed threshold, thereby improving scenario coverage. Based on these scenarios, the generated testbenches are iteratively refined using compilation and simulation feedback through the LLM. However, candidates disabled by RTL parameterization are marked as configuration-inactive. #### Algorithm 1 Threat-aware Secondary Asset Identification ``` Require: RTL D, Primary asset p, CIA obj. o, UOP/UCP U, Threshold \tau Ensure: Secondary assets S with Threat feat, evidence and Attack mechanism /* Agent 1: PDG-based candidate generation */ 1: G \leftarrow \text{PDGElaboration}(D) 2: C_0 \leftarrow \text{DeAlias}(\text{DirectedReach}(G, p, o)) 3: D_{loc} \leftarrow LocalRTL(D, G, p, C_0) /* Agent 2: Functional-influence pruning */ 4: Γ ← GuardExtraction(Dloc, G) 5: for all c \in C_0 do 6: 7: b_c \leftarrow \text{BooleanInfluence}(p, c, \Gamma) \\ h_c \leftarrow \text{StaticHamming}(b_c, \Gamma) if \max(h_c) \ge \tau or h_c is unresolved then add c to C 8: 10: end if 11: end for /* Agent 3: Threat-feature extraction */ T \leftarrow \text{ThreatSelection}(p, o, D_{\text{loc}}) 13: Q \leftarrow \text{ThreatScenarioGeneration}(T, U, D_{\text{loc}}) 14: B \leftarrow \text{EDAScriptRefinement}(Q, D_{\text{loc}}) F \leftarrow \text{DynamicFeatureSimulation}(p, C, T, U, B) /* Agent 4: Attack-mechanism generation */ 16: K \leftarrow \text{DependencyClusters}(C,G) 17: (R,P) \leftarrow \text{LocalRTLAndPaths}(D_{\text{loc}},G,p,K) 18: A \leftarrow \text{LLMAttackMechanisms}(K,T,R,P) /* Agent 5: Final LLM reasoning */ 19: S \leftarrow \text{LLMJointReasoning}(C, F, A, R, P) 20: return S ``` Constrained bounded dynamic simulation is used to assess relative threat relevance without implying exhaustive attack coverage. Candidates within the same experiment are evaluated under common scenarios and observation bounds. A missing witness or insufficiently activated scenario is marked unresolved rather than assigned a low score, and is passed to Agent 5. Below, c denotes a candidate, $s \in \mathcal{S}_c$ a legal scenario, and $1\lceil \cdot \rceil$ the indicator function. For IL, let $\Delta I_{c,s}(t)$ denote the incremental mutual information about primary asset P observed at candidate c in cycle t, with $T_s$ the observation length. Only scenarios with H(P|s)>0 are included. For UOP set $\mathcal{O},$ Obs(c,o,s) denotes a valid candidate-to-UOP observability witness. $$F_{\text{TIMI}}(c) = \max_{\substack{s \in \mathcal{S}_c \\ H(P|s) > 0}} \sum_{t=1}^{T_s} \frac{T_s - t + 1}{T_s} \frac{\Delta I_{c,s}(t)}{H(P|s)},$$ $$F_{\text{UOP}}(c) = \frac{1}{|\mathcal{O}|} \sum_{o \in \mathcal{O}} \mathbf{1}[\exists s : \text{Obs}(c, o, s)].$$ (1) For **UA**, bypass sensitivity is computed over candidate bits b having at least one valid baseline-denied perturbation and maximized across such bits. For UCP set $\mathcal{U}$ , $u \rightsquigarrow c$ denotes a valid paired controllability witness. valid paired controllability witness. $$BS(c) = \max_{\substack{b \\ N_{\text{valid deny}}(c,b) > 0}} \frac{N_{\text{deny} \to \text{UA}}(c,b)}{N_{\text{valid deny}}(c,b)},$$ $$F_{\text{UCP}}(c) = \frac{1}{|\mathcal{U}|} \sum_{u \in \mathcal{U}} \mathbf{1}[\exists s : u \leadsto c].$$ (2) For **FI**, a fault is considered propagated when its effect reaches an independently monitored downstream point on the candidate-to-primary path or directly corrupts the primary asset. FIF is the scenario-balanced fraction of valid fault trials showing such propagation, while FM measures the fraction of activated faults masked before primary-asset corruption. FIF(c) = $$\frac{1}{|\mathcal{S}_c|} \sum_{s} \frac{N_{\text{act}}(c, s)}{N_{\text{valid FI}}(c, s)},$$ $$FM(c) = 1 - \frac{1}{|\mathcal{S}_c|} \sum_{s} \frac{N_{\text{primary}}(c, s)}{N_{\text{act}}(c, s)}.$$ (3) Here, Nact counts valid trials in which the injected fault is activated or consumed, identified by a fault-induced effect at a monitored downstream point or at the primary asset, while Nprimary counts trials that corrupt the primary asset. For DoS, WA and WR denote the attack and post-release recovery windows, respectively; ∆Tj is the added service delay, and Rj is the release-to-recovery latency for trial j. $$d_{\rm PD}(j) = \begin{cases} \frac{\Delta T_j}{W_A + W_R}, & \text{completion during } W_A, \\ \frac{W_A + W_j}{W_A + W_R}, & \text{no completion in } W_A, \text{ recovery in } W_R, \\ 1, & \text{no recovery within } W_R. \end{cases} \tag{4}$$ Here, Ωc,s denotes the valid blocking trials, while Nbase and Nblk denote legitimate service completions without and with repeated blocking, respectively. $$PD(c) = \frac{1}{|\mathcal{S}_c|} \sum_{s} \frac{1}{|\Omega_{c,s}|} \sum_{j \in \Omega_{c,s}} d_{PD}(j),$$ $$SRD(c) = \frac{1}{|\mathcal{S}_c|} \sum_{s} \max \left(0, 1 - \frac{N_{\text{blk}}(c,s)}{N_{\text{base}}(s)}\right).$$ (5) ## *D. Agent 4: Attack-Mechanism Generation* Unlike the threat scenarios in Agent 3, the attack mechanisms generated here explain how a specific candidate can participate in compromising the primary asset. For example, when MPRV is active, mstatus\_mpp determines load/store privilege; corrupting it can therefore alter the effective privilege carried by lsu\_priv. Taking the filtered candidates from Agent 2, this agent operates independently of Agent 3 to provide attack context. RTL-proximal candidates are clustered in groups of 3–5, and each API call includes PDG-extracted structural paths and localized RTL blocks for the cluster. The LLM then identifies the required preconditions, propagation route, and security consequence as structured JSON output, as shown in Algorithm [1](#page-3-0) (lines 16–18). The resulting attack-mechanism pool is iteratively enriched, similar to threat-scenario generation. ## *E. Agent 5: Final LLM Reasoning* The final agent receives the localized RTL, guarded paths, threat-feature configurations and values, and candidate-specific attack mechanisms as input. It is instructed to retain a signal only when these artifacts consistently support the same threatrelevant relation, as presented in Algorithm [1](#page-3-0) (lines 19–20). Quantitative evidence suppresses candidates with consistently weak measured behavior, while the attack context helps resolve cases that a scalar score alone cannot explain. Unresolved evidence is considered conservatively rather than treated as failure. The final output is JSON for each primary-asset–threat pair, as shown in Fig. [4.](#page-4-1) ## IV. EXPERIMENTAL RESULTS AND EVALUATION #### *A. Experimental Setup* We evaluated SecID on 7 open-source RTL designs: 3 processors/cores (openMSP430, NEORV32, and CV32E40P), 2 peripherals (APB GPIO and AXI adapter), and 2 cryptographic IPs (SHA-3 and AES core) [35](#page-7-27)–[38](#page-7-28). For each design, we selected 1–3 representative primary assets that provide distinct ``` { "Name": "frontend_0.i_state", "Structural Path": "frontend_0.i_state -> fetch/decode sequencing -> PC-update selection -> omsp_frontend.pc", "Attack Scenarios": [ "A transient fault on frontend_0.i_state can perturb fetch/decode sequencing -> PC-update selection, producing an unintended value, enable , or transition at omsp_frontend.pc." ], "Normalized Evidence": { "fault_injection_feasibility": 0.958333333333, "fault_masking": 0.0416666666667 }, "Justification": "The instruction FSM selects fetch and interrupt PC-update behavior, so a state fault can place the PC on the wrong transition.", "decision": "retain" } ``` Fig. 4. Example SecID secondary-asset output for frontend\_0.pc. security-critical functions, such as control flow, privilege enforcement, service progress, and cryptographic secrets, so that the case studies cover diverse architectural roles and attack mechanisms. The methodology employs PyVerilog and NetworkX for PDG extraction, Yosys for Boolean-influence analysis, and Icarus Verilog and Synopsys VCS for bounded dynamic simulation. GPT-5.6-Sol is used through the API for scenario extraction, script generation and refinement, attack-mechanism generation, and final reasoning. Python is used throughout the workflow to connect these stages, perform numerical analysis, and manage intermediate outputs. Across all experiments, Agent 2 uses a fixed functional-influence threshold of τ = 0.05. ## *B. Processor and IP Case Studies* Tables [I](#page-3-1)[–III](#page-5-0) summarize SecID's progression from functional pruning through threat-feature extraction to final asset identification. Fig. [5](#page-6-1) visualizes the candidate statistics across all 12 cases. Results are available online.[1](#page-4-2) In SHA-3 and AES, the iterative and highly reconvergent datapaths make Agent 2 pruning less selective because primary-asset influence rapidly propagates through the recurrent round/state logic. Consequently, all candidates in both designs pass the functional-influence threshold. ## *C. Validation* In the absence of a comprehensive benchmark for secondary-asset identification, SecID is validated through a number of complementary checks: comparison with SAIF and Z01X fault simulation, ablation against independently curated expert reference sets, and JasperGold formal analysis. *1) Consistency with SAIF and Fault Simulation:* We first compare the openMSP430 pc functional-influence screening against the Pearson Correlation Coefficient (PCC) examples reported in SAIF [11](#page-7-7). Agent 2 of SecID retains all seven high-PCC examples and prunes four of the six low-PCC examples, with rd\_wr excluded because it was not found in the available RTL. In SAIF, PCC provides a non-directional measure of long-window signal-activity correlation. Therefore, this comparison is used only as an independent consistency check for functional pruning in Agent 2 of SecID. 1 TABLE II REPRESENTATIVE THREAT-FEATURE VALUES | | | | Information Leakage U | | Unauthor | ized Access | Fault Injection | | Denial-of-Service | | | | |-------------|------------------|------------------------------------------------|--------------------------------------|---------------------------|-----------------------------|-----------------------|--------------------------------|------------------|------------------------|-----------------------------|------------------------------------|--| | Design | Primary
Asset | Candidate | Incremental
Mutual
Information | UOP
Observ-
ability | UCP
Control-
lability | Bypass
Sensitivity | Fault Injection
Feasibility | Fault
Masking | Progress
Disruption | Service Rate
Degradation | Context | | | OpenMSP430 | r4 | execution_unit_0.alu_
out | 0.958 | 1 | × | × | × | × | × | × | UOP:
dbg_uart_ | | | | | frontend_0.irq_all | 0.0495 | 1 | × | × | × | × | × | × | txd | | | CV32E40P | csr_we_int | core_i.id_stage_i.
deassert_we | × | × | 0.927 | 0.161 | 0.532 | 0.059 | × | × | UCPs: | | | | | core_i.cs_registers_i. mhpmcounter_write_upper | · × | × | 0 | 0 | 0.085 | 1.000 | × | × | instr_rdata
_i, debug
_req_i | | | AXI adapter | valid_o | state_d | × | × | × | × | × | × | 0.762 | 0.783 | | | | AAI adaptei | Vallu_0 | axi_resp_i.b_valid | × | × | × | × | × | × | 0.319 | 0.994 | | | TABLE III SUMMARIZED ASSET RESULTS OF SECID | Design | Primary Asset | Security
Objective | Threat | Initial | Filtered | Threat
Scenarios | Final | Representative Final Secondary Assets | |--------------|-----------------------------------------|-----------------------|--------|---------|----------|---------------------|------------------------------------------|---------------------------------------------------------------------------------| | | omsp_frontend.pc | Integrity | FI | 453 | 150 | 77 | 19 | i_state, e_state, pc_sw_wr, reg_pc_call | | OpenMSP430 | execution_unit_0.
register_file_0.r4 | Confidentiality | IL | 441 | 93 | 40 | 10 | reg_src, op_src, alu_out, reg_incr_val, mdb_out_nxt, mem_data, xfer_buf_nxt | | | omsp_frontend.exec_
done | Availability | DoS | 453 | 65 | 62 | 11 |
e_state, decode, exec_dst_wr, inst_dext_en,\nexec_dext_rdy, exec_jmp
| | NEORV32 | ctrl_o.lsu_priv | Integrity | UA | 175 | 52 | 52 | 12 | prv_level, mstatus_mpp, ctrl_nxt.csr_we | | NEOKV32 | cui_o.ibu_piiv | megnty | FI 173 | 32 | 52 | 8 | mstatus_mpp, dcsr_prv, env_exit, exec.ir | | | CV32E40P | core_i.cs_registers_ | Integrity | UA | 494 | 37 | 164 | 4 | deassert_we, decoder_i.csr_op | | i.csr_we_int | | megnty | FI | 777 | 31 | 42 | 7 | data_misaligned, csr_op, id_ready, ex_ready | | APB GPIO | gpio_dir | Integrity | UA | 9 | 9 | 20 | 3 | PADDR[6:2], PWDATA[0], r_gpio_lock[0] | | 711 D 31 10 | Ph10-d11 | integrity | FI | , | , | 34 | 6 | PENABLE, r_gpio_lock, PWDATA, PSEL | | AXI adapter | valid_o | Availability | DoS | 16 | 16 | 23 | 9 | ar_ready, aw_ready, state_q, cnt_q | | SHA-3 | keccak_in | Confidentiality | IL | 144 | 144 | 40 | 6 | v1, out, round_in | | AES core | key | Confidentiality | IL | 62 | 62 | 28 | 20 | w[0], sa00, sa33 | The functionally filtered candidates of the same open-MSP430 pc were further evaluated through stuck-at fault simulation using Synopsys VC Z01X [39]. FIF versus the Z01X fault-attempt rate gives a Spearman correlation of $\rho=0.444$ , while $1-{\rm FM}$ versus the conditional PC-impact rate gives $\rho=0.857.$ More importantly, the combined analytical fault susceptibility, FIF(1 $-{\rm FM})$ , shows strong rank agreement ( $\rho=0.888$ ) with the balanced overall PC-impact rate ( $p\approx4.3\times10^{-51}$ ; bootstrap 95% CI [0.824, 0.935]). This agreement serves as an external assessment of Agent 3's FI feature construction. 2) Pipeline and Final-Stage Ablation: To examine how SecID progressively refines the candidate set and how each type of evidence contributes to the final decision, we compare the outputs of successive pipeline stages against reference sets. These sets were independently curated by experts with RTL and hardware-security expertise; a signal was labeled as a secondary asset only when RTL analysis established a feasible structural and functional path through which the specified threat could be realized. Table IV presents this comparison for four case studies. At the final reasoning stage, RTL-only and attack-only configurations tend to over-select plausible candidates, with RTL-only showing slightly weaker overall performance. Nonetheless, the attack-only results indicate that attack-mechanism context alone may be insufficient to distinguish all threat-relevant candidates. Feature-only reasoning is TABLE IV PIPELINE AND FINAL-STAGE ABLATION RESULTS ACROSS FOUR CASES (TP/FP/FN). TP: TRUE POSITIVE; FP: FALSE POSITIVE; FN: FALSE NEGATIVE. | Configuration | AES | OpenMSP430 | APB GPIO | OpenMSP430 | Aggregate | | |-----------------|----------|-----------------|---------------|------------|-----------|--------| | | key (IL) | exec_done (DoS) | gpio_dir (UA) | pc (FI) | Precision | Recall | | PDG-only | 20/42/0 | 10/443/0 | 3/6/0 | 23/430/0 | 0.057 | 1.000 | | Functional-only | 20/42/0 | 10/55/0 | 3/6/0 | 23/127/0 | 0.196 | 1.000 | | RTL-only | 18/18/2 | 7/11/3 | 3/6/0 | 14/20/9 | 0.433 | 0.750 | | Attack-only | 19/16/1 | 7/8/3 | 3/4/0 | 16/13/7 | 0.523 | 0.804 | | Feature-only | 19/3/1 | 8/5/2 | 3/1/0 | 18/8/5 | 0.738 | 0.857 | | Full SecID | 20/0/0 | 9/2/1 | 3/0/0 | 19/0/4 | 0.962 | 0.911 | more selective but still underperforms the full SecID flow, supporting the complementary roles of quantitative threat evidence and attack-mechanism context. - 3) Functional-Influence Threshold Sensitivity: Here, we evaluate the Agent 2 threshold using the same four case studies. As shown in Table V, both $\tau=0.025$ and $\tau=0.05$ retain all reference assets. However, lowering the threshold to 0.025 retains 345 candidates across the four cases, compared with 286 at 0.05, corresponding to 20.6% more candidates for downstream analysis, which increases the computational cost. In contrast, increasing the threshold to 0.10 omits 13 reference assets from subsequent stages, increasing the risk of false negatives in the final SecID outputs. These results support the nominal choice of $\tau=0.05$ for our experiments. - 4) Formal Corroboration: We further use formal analysis to corroborate whether selected secondary assets participate in ![](figures/arxiv_2611.33453/_page_6_Figure_0.jpeg) Fig. 5. Summarized statistics of candidate reduction across all case studies. TABLE V FUNCTIONAL-INFLUENCE THRESHOLD SENSITIVITY | Design | Primary asset | Ref. | | Retained | | |------------|-----------------|------|--------------|-------------|-------------| | | | | $\tau=0.025$ | $\tau=0.05$ | $\tau=0.10$ | | AES core | key (IL) | 20 | 20 | 20 | 20 | | OpenMSP430 | exec_done (DoS) | 10 | 10 | 10 | 7 | | APB GPIO | gpio_dir (UA) | 3 | 3 | 3 | 3 | | OpenMSP430 | pc (FI) | 23 | 23 | 23 | 13 | the modeled attack mechanism beyond bounded threat-feature experiments. This strengthens confidence in the secondary assets identified by SecID. Information Leakage. For openMSP430 r4, Jasper-Gold SPV models information leakage toward the UOP dbg\_uart\_txd. With all SecID assets included, the baseline leakage witness is found in a median 4.39 s with a 573-cycle CEX trace across five runs. The assets are then restricted individually to assess their mediation in the leakage path. Restricting dbg\_0.mem\_data\_rd, in particular, increases the median SPV runtime to 80.63 s (18.36×), while restricting dbg\_0.mem\_data increases it to 49.09 s (11.18×). Similar increases are observed for dbg\_0.dbg\_uart\_0.xfer\_buf\_nxt (7.17×) and dbg\_reg\_din (5.71×). In all cases, SPV still finds an alternative leakage witness, indicating that these assets are not individually necessary but strongly mediate the modeled leakage path. Unauthorized Access. For NEORV32 lsu\_priv, Jasper-Gold FPV checks the effect of excluding selected UA assets from the modeled bypass path. Within the evaluated property and control context, excluding either prv\_level or mstatus\_mpp leaves no bypass witness, whereas excluding mstatus\_mprv still leaves alternate bypass path(s). Despite contributing to the effective load/store privilege under MPRV operation, it is not a mandatory cutpoint for every modeled bypass route. **Fault Injection.** For CV32E40P, the 7-signal SecID cohort is compared in JasperGold FPV with equal-size randomly selected structurally connected sets across five seeds. All 10 evaluated SecID primary-impact checks produce a primary-asset fault witness, compared with a 17.9% mean for the random cohorts. Moreover, independent attack-relevant corruption is observed in 11 of 14 SecID fault-path opportunities (78.6%), compared with a 17.9% random-cohort mean. These results TABLE VI REPEATABILITY OVER 5 FINAL-STAGE LLM RUNS | Design | Primary asset | Mean $J$ | Std. dev. | Range | |------------|--------------------------|----------|-----------|---------------| | AES core | key (IL) | 0.8064 | | 0.7083-0.8696 | | OpenMSP430 | exec_done (DoS) | 0.8629 | 0.0544 | 0.7500-0.9167 | | APB GPIO |
gpio_dir (UA)
| 0.8667 | 0.1633 | 0.6667-1.0000 | | OpenMSP430 | pc (FI) | 0.8354 | 0.0493 | 0.7619-0.9048 | show that the SecID-selected signals are enriched in fault sites capable of corrupting the primary asset. ## D. Final-Stage Repeatability We evaluate the repeatability of Agent 5 by executing it independently five times on four case studies while keeping the inputs, prompt, and model configuration fixed. For each case, the five resulting asset sets produce ten unique pairwise comparisons, with agreement measured using Jaccard similarity, $J(A,B) = |A \cap B|/|A \cup B|$ . As reported in Table VI, the mean pairwise similarity ranges from 0.806 to 0.867, indicating generally consistent selections across repeated LLM runs. #### V. CONCLUSION This paper introduces SecID, a threat-aware methodology that integrates static EDA analysis, bounded dynamic simulation, and LLM-based reasoning to identify security-critical secondary assets in hardware IPs and SoCs. Beyond identifying secondary assets, SecID provides threat-specific rationale through contextual attack mechanisms and quantitative threat-feature scores. This threat-aware characterization helps engineers understand how internal signals may contribute to different security compromises and supports the use of identified assets in subsequent security-verification tasks. By integrating threat-specific analysis into the secondary-asset identification flow, SecID helps systematize existing IP and SoC development processes while strengthening the broader hardware security verification landscape. ### ACKNOWLEDGMENT This research was funded by the U.S. National Science Foundation (NSF) under the Faculty Early Career Development (CAREER) Program, Grant No. 2339971. ## REFERENCES - [1] W. Chen, S. Ray, J. Bhadra, M. Abadir, and L.-C. Wang, "Challenges and trends in modern SoC design verification," *IEEE Design & Test*, vol. 34, no. 5, pp. 7–22, 2017. - [2] J. Knechtel, E. B. Kavun, F. Regazzoni *et al.*, "Towards secure composition of integrated circuits and electronic systems: On the role of EDA," in *Proc. Design, Automation and Test in Europe (DATE)*, 2020, pp. 508–513. - [3] D. Saha, H. Al Shaikh, S. Tarek, and F. Farahmandi, "Special session: Threatlens: Llm-guided threat modeling and test plan generation for hardware security verification," in *2025 IEEE 43rd VLSI Test Symposium (VTS)*, 2025, pp. 1–5. - [4] S. Tarek, D. Saha, K. T. Hasan, S. K. Saha, M. Tehranipoor, and F. Farahmandi, "Assertain: Automated security assertion generation using large language models," 2026. [Online]. Available: [https:](https://arxiv.org/abs/2604.01583) [//arxiv.org/abs/2604.01583](https://arxiv.org/abs/2604.01583) - [5] Accellera Systems Initiative, "Security Annotation for Electronic Design Integration Standard, Version 1.0," [https://www.accellera.org/images/](https://www.accellera.org/images/downloads/standards/Accellera_SA-EDI_Standard_v10.pdf) [downloads/standards/Accellera](https://www.accellera.org/images/downloads/standards/Accellera_SA-EDI_Standard_v10.pdf) SA-EDI Standard v10.pdf, 2021. - [6] W. Hu, A. Althoff, A. Ardeshiricham, and R. Kastner, "Towards property driven hardware security," in *2016 17th International Workshop on Microprocessor and SoC Test and Verification (MTV)*. IEEE, 2016, pp. 51–56. - [7] C. Deutschbein, A. Meza, F. Restuccia, M. Gregoire, R. Kastner, and C. Sturton, "Toward hardware security property generation at scale," *IEEE Security & Privacy*, vol. 20, no. 3, pp. 43–51, 2022. - [8] H. Witharana, A. Jayasena, A. Whigham, and P. Mishra, "Automated generation of security assertions for RTL models," *ACM Journal on Emerging Technologies in Computing Systems*, vol. 19, no. 1, pp. 1– 27, 2023. - [9] S. Tarek, D. Saha *et al.*, "Socurellm: An llm-driven approach for largescale system-on-chip security verification and policy generation," in *2025 IEEE International Symposium on Hardware Oriented Security and Trust (HOST)*. IEEE, 2025, pp. 335–345. - [10] M. A. Hasan, D. Saha, K. T. Hasan, N. Alam, A. Uddin, S. K. Saha, M. Tehranipoor, and F. Farahmandi, "LAsset: An LLM-assisted security asset identification framework for system-on-chip verification," in *Proc. Design, Automation and Test in Europe (DATE)*, 2026. - [11] N. Farzana, A. Ayalasomayajula, F. Rahman, F. Farahmandi, and M. Tehranipoor, "SAIF: Automated asset identification for security verification at the register transfer level," in *Proc. IEEE VLSI Test Symposium (VTS)*, 2021, pp. 1–7. - [12] N. Timmers, A. Spruyt, and M. Witteman, "Controlling PC on ARM using fault injection," in *2016 Workshop on Fault Diagnosis and Tolerance in Cryptography (FDTC)*. IEEE, 2016, pp. 25–35. [Online]. Available: - [13] A. Tang, S. Sethumadhavan, and S. Stolfo, "CLKSCREW: Exposing the perils of Security-Oblivious energy management," in *26th USENIX Security Symposium (USENIX Security 17)*. Vancouver, BC: USENIX Association, 2017, pp. 1057–1074. [Online]. Available: [https://www.usenix.org/conference/usenixsecurity17/](https://www.usenix.org/conference/usenixsecurity17/technical-sessions/presentation/tang) [technical-sessions/presentation/tang](https://www.usenix.org/conference/usenixsecurity17/technical-sessions/presentation/tang) - [14] K. Murdock, D. Oswald, F. D. Garcia, J. V. Bulck, D. Gruss, and F. Piessens, "Plundervolt: Software-based fault injection attacks against Intel SGX," in *2020 IEEE Symposium on Security and Privacy (SP)*. IEEE, 2020, pp. 1466–1482. [Online]. Available: - [15] R. Buhren, H. N. Jacob, T. Krachenfels, and J.-P. Seifert, "One glitch to rule them all: Fault injection attacks against AMD's secure encrypted virtualization," in *Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security*. Association for Computing Machinery, 2021, pp. 2875–2889. [Online]. Available: - [16] J. Portillo, E. John, and S. Narasimhan, "Building trust in 3PIP using asset-based security property verification," in *2016 IEEE 34th VLSI Test Symposium (VTS)*, 2016, pp. 1–6. - [17] D. Saha *et al.*, "Sv-llm: An agentic approach for soc security verification using large language models," *arXiv preprint arXiv:2506.20415*, 2025. - [18] K. T. Hasan, M. A. Hasan, N. Alam, M. T. Islam, U. Das, and F. Farahmandi, "Ai-assisted hardware security verification: A survey and ai accelerator case study," in *2026 IEEE 44th VLSI Test Symposium (VTS)*, 2026, pp. 1–7. - [19] S. K. D. Nath and B. Tan, "Toward automated potential primary asset identification in Verilog designs," in *Proc. International Symposium on Quality Electronic Design (ISQED)*, 2025, pp. 1–7. - [20] W.-K. Liu, B. Tan, and K. Chakrabarty, "Identifying system-on-chip security assets with structure-based analysis," in *Proc. ACM/IEEE Design Automation Conference (DAC)*, 2025. - [21] D. Saha *et al.*, "Llm for soc security: A paradigm shift," *IEEE Access*, vol. 12, pp. 155 498–155 521, 2024. - [22] IEEE P3164 Working Group, "Standard for asset identification and management for electronic design intellectual property," IEEE P3164 Draft Standard, 2024. [Online]. Available: [https://ieeexplore.ieee.org/](https://ieeexplore.ieee.org/document/10496567) [document/10496567](https://ieeexplore.ieee.org/document/10496567) - [23] C. E. Shannon, "A mathematical theory of communication," *Bell System Technical Journal*, vol. 27, pp. 379–423, 623–656, 1948. - [24] W. Hu, A. Althoff, and R. Kastner, "Quantifying hardware security using joint information flow analysis," in *Proc. Design, Automation and Test in Europe (DATE)*, 2016, pp. 1523–1528. - [25] W. Hu, A. Ardeshiricham, and R. Kastner, "Hardware information flow tracking," *ACM Computing Surveys*, vol. 54, no. 4, pp. 1–39, 2021. - [26] A. Ardeshiricham, W. Hu, J. Marxen, and R. Kastner, "Register transfer level information flow tracking for provably secure hardware design," in *2017 Design, Automation & Test in Europe Conference & Exhibition (DATE)*, 2017, pp. 1691–1696. - [27] W. Chen and J. Bhadra, "Striking a balance between soc security and debug requirements," in *2016 IEEE International System-on-Chip Conference (SOCC)*, 2016, pp. 368–373. - [28] W. Hu, A. Ardeshiricham, and R. Kastner, "Identifying and measuring security critical path for uncovering circuit vulnerabilities," in *2017 18th International Workshop on Microprocessor and SOC Test and Verification (MTV)*, 2017, pp. 62–67. - [29] Z. Chen, G. Vasilakis, K. Murdock, E. Dean, D. Oswald, and F. D. Garcia, "VoltPillager: Hardware-based fault injection attacks against intel SGX enclaves using the SVID voltage scaling interface," in *Proc. USENIX Security Symposium*, 2021, pp. 699–716. - [30] A. Barenghi, L. Breveglieri, I. Koren, and D. Naccache, "Fault injection attacks on cryptographic devices: Theory, practice, and countermeasures," *Proceedings of the IEEE*, vol. 100, no. 11, pp. 3056–3076, 2012. - [31] Manju R, A. Das, J. Jose, and P. Mishra, "Sectar: Secure noc using trojan aware routing," in *2020 14th IEEE/ACM International Symposium on Networks-on-Chip (NOCS)*, 2020, pp. 1–8. - [32] N. Prasad, R. Karmakar, S. Chattopadhyay, and I. Chakrabarti, "Runtime mitigation of illegal packet request attacks in networks-on-chip," in *2017 IEEE International Symposium on Circuits and Systems (ISCAS)*, 2017, pp. 1–4. - [33] D. Fang, H. Li, J. Han, and X. Zeng, "Robustness analysis of mesh-based network-on-chip architecture under flooding-based denial of service attacks," in *2013 IEEE Eighth International Conference on Networking, Architecture and Storage (NAS)*, 2013, pp. 178–186. - [34] J. Ferrante, K. J. Ottenstein, and J. D. Warren, "The program dependence graph and its use in optimization," *ACM Transactions on Programming Languages and Systems*, vol. 9, no. 3, pp. 319–349, 1987. - [35] O. Girard, "openMSP430: Synthesizable 16-bit microcontroller core," [https://github.com/olgirard/openmsp430,](https://github.com/olgirard/openmsp430) 2026, project page: [https://](https://opencores.org/projects/openmsp430) [opencores.org/projects/openmsp430;](https://opencores.org/projects/openmsp430) accessed Sep. 15, 2026. - [36] S. Nolting, "NEORV32: A customizable RISC-V processor system," [https://github.com/stnolting/neorv32,](https://github.com/stnolting/neorv32) 2026, accessed Sep. 15, 2026. - [37] OpenHW Group, "CV32E40P RISC-V core," [https://github.com/](https://github.com/openhwgroup/cv32e40p) [openhwgroup/cv32e40p,](https://github.com/openhwgroup/cv32e40p) 2026, accessed Sep. 15, 2026. - [38] OpenCores Community, "Open-source hardware IP repository," [https:](https://opencores.org/projects) [//opencores.org/projects,](https://opencores.org/projects) 2026, accessed Sep. 15, 2026. - [39] Synopsys, Inc., "VC Z01X: Fault simulation and injection," [https://www.](https://www.synopsys.com/verification/simulation/vc-z01x.html) [synopsys.com/verification/simulation/vc-z01x.html,](https://www.synopsys.com/verification/simulation/vc-z01x.html) 2026, accessed Sep. 15, 2026.