Join our Newsletter — 33% off our NHI Course

Why do audits miss some onchain attack paths?

Audits usually confirm that code behaves as written, but they do not keep pace with changing governance settings, signer sets, challenge windows or execution thresholds. A configuration can be technically valid and still expand risk materially. Practitioners need controls that continuously validate the operational envelope, not just the codebase.

Why audits miss attack paths that emerge after deployment

Audits are usually strongest at verifying the code, permissions and configurations that exist at a point in time. Onchain attack paths often appear later, when governance settings change, signer membership shifts, challenge periods expire, or thresholds are rebalanced. The gap is not just “bad code”, it is drift between the audited design and the live operating envelope.

That matters because a configuration can still be technically valid while materially widening the blast radius. A system that once required broad agreement may later permit a narrower set of signers, shorter windows for challenge, or a lower execution threshold, and those changes can create a path to loss without any new code being deployed.

Audits also tend to focus on single contracts or isolated components, while many onchain attack paths are multi-step and cross-contract. The risky sequence may depend on how admin controls, upgrade rights, custody arrangements, bridge dependencies or emergency procedures interact. The attacker does not need a broken contract if the surrounding operational controls can be combined into a viable path.

How the operational envelope turns into an attack path

Attack paths form when a system’s real permissions and decision rules are broader, weaker or less observable than the team assumes. In onchain environments that can mean stale signer sets, delegated authority that was never removed, governance delays that are no longer sufficient, or fallback mechanisms that become the easiest route into control. This is why path analysis needs to include who can act, when they can act, and under what conditions those actions become final.

Audits often validate intended state, but they do not continuously prove that the intended state still matches production. If the operational envelope changes, the security conclusion can change with it. That is why attack-path review needs to treat governance and execution thresholds as live security controls, not as static documentation. For a structured way to think about that problem, the Identity Attack Paths Guide is useful because it centres path mapping, path validation and path reduction rather than isolated control checks.

The practical implication is that teams should validate chains of authority, not just individual approvals. If an attacker can chain configuration drift, threshold reduction and delayed challenge handling into one route, the audit may have passed while the live system remains exposed.

What practitioners should check beyond the code review

The right question is not only whether the contract logic is correct, but whether the current governance state still preserves the assumptions the audit relied on. That means checking signer composition, role assignments, execution thresholds, timelock parameters, pause powers and any admin path that can override normal flow. It also means asking whether the system has monitoring that would notice a meaningful expansion of privilege before it becomes exploitable.

Continuous validation is the better control pattern here. The same operational checks that help validate access governance in identity systems also help here, because the relevant risk is controlled authority, not just source code quality. NHIMG’s Ultimate Guide to NHIs, Regulatory and Audit Perspectives is relevant where teams need audit trails, governance evidence and access review discipline around machine-held authority, while the Exposure Management and CTEM Guide is useful for framing validation as an ongoing process rather than a one-time review.

Audits should also be paired with preplanned responses for when governance changes faster than review cycles. If the system cannot prove that the live signer set, threshold or challenge window still matches the approved design, treat that as an exposure signal, not a documentation issue.

Risk and Threat Considerations

Once governance parameters drift, an attacker may not need to exploit a coding flaw at all. They may only need to find the weakest valid path through the current authority model, then use that path to authorise malicious execution, delay detection or bypass the intended challenge process.

Failure mechanism: Security review becomes stale because it assesses a historical configuration, while the live system later changes through signer updates, threshold changes, governance actions or operational exceptions.

Impact: The audit result can remain technically true and still be operationally misleading, allowing a materially weaker control posture to persist until the altered path is used.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST Zero Trust (SP 800-207) and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 AC-6 — Least Privilege Live signer and threshold changes can widen effective privilege.
CM-3 — Configuration Change Control Attack paths emerge when approved settings drift from audited settings.
AU-6 — Audit Record Review, Analysis, and Reporting Continuous validation depends on reviewing governance events, not only code state.
Recommendation — Enforce least privilege for every actor that can alter governance or finalise execution. Require controlled review for changes to signer sets, thresholds and challenge windows. Review governance and execution logs for changes that expand reachable attack paths.
NIST Zero Trust (SP 800-207) 3.0 — Zero Trust Architecture Principles The answer depends on continuously verifying current authority rather than trusting prior approval.
Recommendation — Continuously verify current authority before allowing sensitive onchain actions.
CIS Controls v8 5 — Account Management Signer and admin membership drift is an account and access control problem.
Recommendation — Maintain and recertify every account or signer that can affect onchain control paths.

Practitioner Guidance

What to prioritise: Prioritise the controls that define who can finalise or override action, not only the contract code that executes the action. If those controls change frequently, they deserve continuous monitoring and exception handling, not annual review.

What to verify: Verify that the audited assumptions still hold in production, especially signer quorum, emergency powers, challenge timing and any delegated authority that can shorten the decision path. If the live state cannot be evidenced quickly, treat the environment as incompletely validated.

Common mistake: The common failure is treating “audit passed” as equivalent to “attack path closed”. Onchain systems often fail at the boundary between code correctness and governance correctness, so the review must cover both.

Practitioner takeaway: The security question is whether the current operational envelope still enforces the intended path to finality; if it does not, the audit result is incomplete even when the code is unchanged.