Exchange Defense Matrix: Lessons from Security Incidents
Repository home · English | 简体中文
Research · Attack paths · Defense matrix · Case catalogue · Methodology
This matrix derives defense requirements and acceptance criteria primarily from publicly disclosed security incidents that caused exchange losses over the past decade. It follows how attackers obtained access, bypassed controls, and transferred assets. Successful interventions and related technical cases provide additional validation scenarios. Six attack paths map to 18 areas of work, each with business and security responsibilities, handoffs, and evidence required for sign-off. The work covers fund operations, personnel access, technical protections, and incident response and recovery. Application security, GRC, and red teams contribute their respective expertise; code auditing is part of application security. See the case catalogue and Six Attack Paths Against Crypto Exchanges.
1. Attack paths and gaps to examine
| Path and historical basis | Attacker capability | Common check | Risk to verify | Items |
|---|---|---|---|---|
| P1 Signing material: Coincheck, BitMart, Zilliqa | Sufficient material to sign, or an implementation defect enabling key recovery | Authorization and logs for local signing calls | Backups, recovery, and historical signatures; continued external signing | D04, D06, D11, D15 |
| P2 Transaction tampering: Bybit, Kiln; suspected DMM sequence | Alter transaction building, display, or request contents | Signature validity and number of approvals | Approved contents differ from the original business request; approvers share a tampered display | D07, D12, D16 |
| P3 Account and withdrawal authority: Coinbase recovery, WOO X; external Parity comparison | Rewrite identity, forge internal instructions, or bypass contract permissions | Current authentication and authorization | Recovery, backend writes, and initialization change who can transfer | D02, D05, D06, D08, D10, D12 |
| P4 Trading and valuation: Binance VIA; external Mango comparison | Abuse stolen trading access or manipulate a thin market using own accounts | API order permissions and ledger movements | Harmful trades transfer customer value; inflated values expand borrowing | D10, D13, D14 |
| P5 Crediting and double spending: Kraken, ETC | Exploit crediting logic or a reorganization to obtain a spendable balance | Internal ledger consistency and withdrawal authority | A deposit that never completed or was later invalidated has funded conversion, loans, or withdrawals | D09, D10, D13 |
| P6 Customer deception: Coinbase support-personnel incident | Use customer details to impersonate a trusted party and induce action | Customer login and confirmation | Customer misunderstands recipient or purpose; support access continues leaking information | D08, D14, D16 |
| Recovery and retirement: ShapeShift, CoinDCX, Zilliqa | Reach new credentials through an old entry, reuse old authority, or take new funds at an old address | Availability and known-vulnerability fixes | Old sessions, exposed public signatures, recovery environments, or later deposits may still be exploitable | D11, D15, D17 |
Coinbase's 2023 MFA blocked direct login; subsequent social engineering still required a human response. Binance VIA external withdrawals were blocked, but some victim trades were irreversible. Record separately whether intrusion continued, assets left, and customer value had already been harmed.
2. Operations involving funds and team responsibilities
Record the following for each workflow that handles funds. Cover only products actually offered; mark unused staking or lending functions not applicable.
| Area | Required information | Completeness check |
|---|---|---|
| Assets and customer entitlements | Asset, chain, wallet/custodian, source of balance, unlock or redemption conditions | Reconcile addresses and chain assets with internal accounting and external custody; list unresolved differences |
| Operations and states | Deposits, trading, withdrawals, replenishment, authority changes; maintenance, recovery, retirement | Include routine and exception paths; retain request-to-chain-result mappings |
| Human and service identities | Person, role, device, session, service account, token purpose and owner | Identify who operates, changes validation evidence, or restores/reissues authority |
| Controls and dependencies | Independent limits, supplier inputs, logs, revocation methods, recovery conditions | Record controls changeable by one identity, unavailable logs, and authority that cannot be revoked immediately |
| Impact and ownership | Directly accessible assets, assets that can be transferred in, later inflows; business owner, control maintainer, person responsible for executing the response | Avoid double-counting assets; state the assessment period and assumptions. Untested limits cannot establish a maximum loss |
Business and technical teams implement and operate their controls. The security team analyzes risk, defines requirements, and organizes validation. The table below names collaborating parties and roles; specialist security functions follow in 2.1. Roles may be combined, but each task needs an owner and backup. Assign separate authority for operations involving funds, policy changes, and reviews of control effectiveness; test whether one person or service identity can bypass those arrangements.
| Party or role | Responsibilities | Handoff |
|---|---|---|
| Management and business owners | Fund-use requirements, resources, authority to limit services, treatment of unresolved risks | Approve restriction and service-restoration scope; assess liquidity, positions, and customer impact |
| Security team, coordinated by the CSO or designated lead | Risk analysis, design review, detection/response, independent technical validation, unresolved-risk tracking | Assign specialties by risk; agree with system teams who maintains each control, implements fixes, and signs off on validation; report residual risk |
| Product, account, and ledger engineering | Account recovery, transaction approval, crediting, and rules governing customer balances | Submit designs, code changes, and exceptions for review; share request IDs and state transitions with risk, wallets, and security operations |
| Withdrawal risk and orchestration | Risk defines restrictions; orchestration links withdrawal requests to signing requests, batches, and on-chain results | Carry restrictions through batching, splitting, and retries; aggregate results for each original withdrawal request. Account and risk systems verify customer identity and withdrawal eligibility and pass the result to the wallet with the request |
| Wallet team | Signing, parsing, broadcast, on-chain permission checks | Receive approval evidence; report transaction state, outstanding signed transactions, and on-chain authority; execute authorized migration |
| Treasury | Balances, replenishment, transfers, and externally held assets | Supply liquidity requirements and available-fund data; reconcile in-flight assets; enforce replenishment limits |
| Trading and credit risk | Abnormal trades, pricing, borrowing capacity, concentration, liquidation | Share account relationships and fund uses with accounting and security; constrain cash-out across products |
| IT, identity platform, SRE | Endpoints, sessions, cloud permissions, deployment, runtime, recovery infrastructure | Report revocation results for accounts, existing sessions, and associated service tokens, along with device and service isolation status |
| Incident command | Coordinate response across teams, escalation, and temporary restrictions within delegated authority | Resolve timeouts, partial failures, and business conflicts; refer restoration decisions to the designated business approver and retain the rationale |
| HR and system owners | Role changes, departures, maintenance handover | Give IT and identity teams revocation targets; the teams executing the changes report which sessions and related credentials were revoked |
| Customer support and anti-fraud | Customer reports, identity checks, suspicious activity involving funds | Supply query records and affected accounts to security operations; separately authorize account recovery and lifting fund restrictions |
| Supplier management, procurement, legal | External access, notification, log support, exit arrangements | Reconcile actual permissions, response contacts, and revocation results with the service owner |
2.1 Specialist security functions
These are responsibilities, not a requirement for separate departments. One risk can involve several specialties. Code auditing within application security and attack simulation by a red team are activities. GRC means governance, risk, and compliance.
| Function | Main items | Review and validation responsibilities |
|---|---|---|
| Security architecture | D01, D02, D06, D10–D12, D15, D18 | Analyze trust relationships and shared administrative access; define boundaries with engineering, wallets, and platforms; test whether one identity can alter requests, approval evidence, and validation records |
| Application security | D05, D07–D10, D12, D13, D16, D18 | Requirements/design review, threat modeling, code audits, dependency review, business-logic tests; record the version containing each fix, how the defect was reproduced, retest results, and findings from reviews of similar code |
| Infrastructure and identity security | D02–D07, D15–D18 | Review endpoints, network, cloud, and production access with IT, identity, and SRE; test sessions and derived authority remaining after isolation, revocation, or recovery |
| Wallet and contract security | D09–D12, D15, D16 | Review signing implementation, parsing, contract permissions, and key recovery with wallet, chain-integration, and treasury teams; verify the scope of asset control against the actual transaction bytes, execution results, and on-chain permissions |
| Data security | D02, D04, D06, D08, D16–D18 | Review sensitive access, export, logging, and supplier use; test bulk and persistent low-volume queries, post-revocation access, and data leakage through agent tools |
| Security operations | D03–D06, D08, D13–D18 | Correlate technical/business signals, hunt, investigate, and respond; verify with the implementing teams which targets were restricted and whether the restrictions worked; record missed detections, false positives, failed actions, and times |
| GRC | Risk, exceptions, and control checks across D01–D18 | Map applicable requirements to controls and owners; sample actual execution records, track unverified items, risk exceptions, and scheduled reviews; check supplier commitments with procurement and legal. Residual-risk acceptance requires an authorized business owner's approval |
| Red team | Risk-selected combinations across D02–D18, with impact defined through D01 | Explore authorized cross-system paths, replay historical methods, and test prevention/response; record initial permissions, the exploitation sequence, effects on business operations, and coverage gaps; check whether fixes remain bypassable |
Application security and wallet security divide responsibilities by component and risk: for example, withdrawal-service authorization versus signing and on-chain permissions. Paths spanning both domains are tested jointly. Red teams retain independent hypotheses and evidence channels. Independent audit of management and compliance practices belongs to the appropriate audit function, separately from red-team technical testing or GRC control reviews.
2.2 Design, development, and risk-exception handoffs
For new products, critical code, or permission changes, the system owner supplies flows, scope, and dependencies. Security architecture and relevant specialties establish risks and test requirements. Engineering implements remediation and supplies versions and test results. Application security checks implementation; high-risk cross-system paths receive red-team or other independent technical verification. Security operations maintains runtime detection and response, with logs and action interfaces supplied by system teams.
When a control cannot be completed on time, GRC records affected business, residual risk, temporary measures, owner, and deadline. An authorized business owner decides acceptance, restriction, or postponement. Accepting the risk leaves the original test result unchanged. Expiry or changing conditions trigger reassessment. Control checks sample real authorization, change, and response records alongside technical tests; policies, interviews, and certificates alone do not establish effectiveness.
2.3 Incident signals and departmental handoffs
Session theft, unauthorized production writes, or mismatched transaction contents trigger preauthorized actions against the affected targets. Unconfirmed signals meeting predefined high-risk conditions can justify targeted restrictions while investigation proceeds. Record the scope, review deadline, and who may lift each restriction. If the investigation remains unresolved at the deadline, escalate it rather than automatically lifting the restriction. Isolate confirmed compromised devices and sessions while identifying the affected business operations.
Handoffs include incident and action IDs, evidence sources, timestamp precision, targets, the restriction version, execution deadline, and responsible person. Send credential identifiers, not secret values. Acknowledgments record when the instruction was received, when it was executed, and when its effect was verified, with failures and unknowns listed separately. If the effective time is uncertain, record the interval from the last successful operation to the first verified rejection. Escalate failures immediately and timeouts to the on-duty incident commander and backup. For transactions already past the last point at which they can be blocked, assess outstanding signatures, on-chain authority, and exposed assets while continuing to restrict subsequent transactions.
| Handoff | Signal and content | Action and acknowledgment |
|---|---|---|
| Security operations → identity/platform, risk | Confirmed compromise or predefined high-risk signal; identities, sessions, evidence, known services, mapping gaps | Revoke or isolate access and restrict affected operations in parallel, within the authorized scope; trace derived credentials and reissuance; review temporary limits by deadline and investigate unknown scope |
| Platform/engineering → risk, accounts, accounting | Observed writes, deployment changes, or residual access; affected records, service identities, time range, unknown scope | Distinguish what was accessible from what was confirmed affected; map customers and business requests, adjust restrictions, and refer unclear scope to incident command for temporary-action decisions |
| Risk → orchestration → wallet | Restricted withdrawal requests, operation type, restriction version, and scope; orchestration adds signing requests, batch/split relationships, chains/wallets | Stop affected signing, broadcasting, and retries. Hold a batch that cannot safely be split. Reconstructed transactions need renewed validation/authorization; assess external execution of already signed content |
| Wallet → orchestration → risk | Unsigned, signed/unbroadcast, broadcast/unconfirmed, chain-confirmed states; actual restriction version, evidence, residual capability | Map results back to the original withdrawal requests, identify partial failures, unknowns, and batch impact. Update confirmation status as the chain progresses. Queue deletion does not invalidate a signature. Immediately escalate failure, timeout, or any remaining ability to execute the transaction outside the platform |
| Risk/support → security operations | Abnormal recovery, linked fund behavior, fraud report; accounts, orders, access records, times | Correlate backend writes, deployments, employee queries, and sessions; report intrusion findings. Anti-fraud action does not wait for actor attribution |
| Response teams → business owners / incident command | Proposed recovery scope, execution evidence, security review, available funds, reconciliation differences; isolated areas and unresolved issues | Approve specific scope, limits, observation conditions, and signals for suspending again; assign a person to execute the action and a backup. Unverified controls and unexplained differences cannot be recorded as passing. Track recovery of stolen assets separately from technical recovery |
The teams executing response actions validate each instruction's source, authority, and version to prevent duplicate asset operations and old instructions overriding newer restrictions. Lifting a restriction requires separate approval. Read the target's actual state and use controlled requests to verify that the restricted operation is rejected. Record results for instances where the restriction worked, failed, or could not be reached, as well as for already signed or broadcast transactions. When the control plane is compromised, use previously tested independent emergency access. Preserve verification records where the compromised identity cannot alter them.
3. Defense requirements and evidence for sign-off
Record the environment, version, and business scope for every validation result. Testing involving production systems, customer assets, or suppliers requires authorization, limits on test scope and impact, and defined stop conditions. Mark test-environment-only results as not yet verified in production.
The lead implements each control; specialist functions perform the specified review and validation. GRC schedules risk-based control checks and exception tracking; red teams select combinations of attack paths within the authorized scope. Neither must attend every routine change. Record implementation owner, reviewer, and result separately, with independent technical verification for high-risk controls. Risk acceptance does not turn failed or unverified controls into passed ones.
3.1 Business, people, and infrastructure
| Item | Work | Lead and supporting functions | Evidence required for sign-off |
|---|---|---|---|
| D01 Scope of fund-handling operations | Map assets, customer balances, operational states, and permissions to change them across transfers, maintenance, recovery, and retirement | Business owner; treasury, accounting, wallets, security architecture, GRC | Trace sampled requests to their ledger entries and asset movements; unresolved reconciliation, ownerless systems, and untested paths listed |
| D02 Human/service identities | Inventory permissions to change accounts, deployments, controls over funds, keys, and logs; record the purpose, expiry, and owner of each service identity | Identity owner; HR, IT, system owners, infrastructure/identity security | Trace selected privileged users through personal sessions and service identities; record unknown-purpose accounts and retention/revocation outcomes |
| D03 Exposure and vulnerabilities | Inventory internet-facing entry points and management interfaces; prioritize vulnerabilities by known exploitation, required access, and potential impact on funds | Infrastructure/identity security; IT, SRE, owners, application security, security operations | Retest access from networks and identities that should be denied; distinguish fixes, temporary mitigations, and remaining reachable entry points; exceptions have owners and deadlines |
| D04 Workstations | Managed production-access devices; isolate untrusted code from production credentials, sessions, and connections | Endpoint/IT owner; engineering, identity, infrastructure/identity security, security operations | Benign probes test files, sessions, network, and credential sharing; independently retest issued cloud sessions and service tokens after endpoint isolation |
| D05 Employee authentication, recovery, sessions | Phishing-resistant authentication; review factor enrollment, helpdesk recovery, emergency accounts, temporary credentials | Identity platform; IT, SRE, infrastructure/identity security, application security, security operations | Test login, recovery, and existing sessions separately; identify access that survives a password change or account suspension, then record and test the additional controls used to restrict or revoke it |
| D06 Cloud, containers, production access | Restrict access grants, service accounts, privilege escalation, secret access, and database writes; review cross-account and recovery access | SRE/cloud owner; application/database teams, security architecture, infrastructure/identity security | From a selected developer identity, test escalation and lateral access; establish it cannot jointly change requests and validation or erase evidence; after separating services, check whether shared administrators can still change multiple services and their validation rules |
| D07 Secure development, deployment, runtime | Include security in requirements and design; perform risk-based code audits, dependency checks, and business-logic tests, then search for similar defects after remediation; limit CI secrets and deployment permissions, and verify artifact provenance, deployment approval, and running code | Engineering lead; application security reviews design/code; platform/SRE implement deployment controls; infrastructure/identity security validates | Link requirements to designs, code versions, and tests. Retain pre-fix reproductions, post-fix rejection results, dependencies, and coverage gaps. Verify that unauthorized branches cannot deploy. Test runtime tampering and targeted malicious responses; establish whether detection and rejection occur before signing or transfer |
3.2 Customer, trading, and fund controls
| Item | Work | Lead and supporting functions | Evidence required for sign-off |
|---|---|---|---|
| D08 Support and customer recovery | Limit data queries and exports to the assigned task; separately authorize account recovery, authentication-factor resets, and removal of withdrawal restrictions; correlate customer reports with employee queries | Customer-account product owner; support, application security, data security, anti-fraud | Application security reviews recovery flows and API authorization; data security reviews query scope. Test bulk exports and repeated low-volume queries. A single support identity must not be able to lift fund restrictions by itself. Link anomalous queries to affected customers; verify customers through preregistered channels |
| D09 Deposits and accounting | Verify asset identity, execution results, actual receipt, confirmations, and reorganizations; handle duplicate events, concurrency, and compensating actions after failures | Ledger owner; chain integration, trading, application security, wallet/contract security | Code audits and exceptional-state tests cover crediting, reversal, and compensating actions. Incomplete, incorrect, or duplicate deposits must not create additional spendable balances. Trace reorganization effects through trading, lending, and withdrawals on other chains; distinguish restrictions from losses |
| D10 Withdrawal authorization and risk limits | Verify identity, business justification, address, amount, and policy; bind approval to the business request, transaction contents, expiry, and policy version; preserve request mappings and the reservation, settlement, and release of shared spending capacity | Withdrawal owner; accounts, risk, orchestration, wallets, security architecture, application security | Application security reviews authorization and limit enforcement. Test forgery, replay, expired approvals, changed contents, timeouts, and concurrent use of the same limit. Batched, split, and retried requests remain subject to current restrictions. A local timeout must not free capacity reserved for a signed transaction with an unknown outcome. An old approval cannot override a newer restriction; record spending before blocking and the impact of incorrect blocking |
| D11 Key lifecycle | Review generation, storage, use, backup, recovery, and retirement; distinguish compromise of one party's signing material from possession of everything needed to sign | Wallet-system owner; treasury, IT, wallet/contract security, independent technical reviewer | Test the remaining signing requirements in the actual architecture. When an attacker has complete signing capability, verify asset migration, handling of future deposits to old addresses, and related permissions. After disabling the exchange's own API, check whether the attacker can still sign externally and whether old addresses still receive deposits |
| D12 Transaction contents and on-chain authority | Verify the request source and business approval; parse final transaction bytes and simulate asset and permission changes before signing; recheck approval conditions before broadcast and actual results after execution | Wallet owner; orchestration, business approvers, application security, wallet/contract security, independent reviewer | Review parsing, approval validation, and contract-permission code. Test targeted API responses, initialization, permission checks, state changes, delegation, and upgrades. Verify that the transaction builder cannot forge approval records. Cover external submission, permissions that survive failed execution, and token allowances that survive removal of a delegation. Retest authorizations not bound to one chain on applicable chains under the relevant nonce conditions |
| D13 Trade execution, valuation, collateral | Correlate API activity, linked accounts, order-book depth, price sources, concentrated positions, borrowing, and liquidation capacity; protect pricing inputs and risk configuration; distinguish restrictions on new positions, borrowing, and withdrawals from management of existing positions | Trading/credit risk; matching, accounts, accounting, application security, security operations | Risk teams test valuation and limit rules; application security tests their implementation and modification permissions. Separately test stolen trading access and price manipulation using attacker-owned accounts, tracing value through counterparties, loans, and withdrawals. Test fallback behavior for stale prices or conflicting sources, and whether anomalous fund activity triggers backend-intrusion investigation. Retain incorrect decisions and business impact |
3.3 Operations, coordination, and continuing validation
| Item | Work | Lead and supporting functions | Evidence required for sign-off |
|---|---|---|---|
| D14 Detection and containment | Correlate technical and business evidence; define high-risk signals, temporary restrictions, review deadlines, and authority to lift restrictions; specify failure escalation and backup personnel | Security operations; incident command, control owners, risk, treasury | Record when an instruction is sent, received, executed, and verified effective. Test wrong targets, out-of-order delivery, partial failure, and false success acknowledgments. Verify independent emergency access, deadline reviews, and reapplication of restrictions |
| D15 Recovery and old addresses | Review entry points, access, monitoring, signing, and later inflows for systems proposed for restoration; explain reconciliation differences and confirm available assets; list permissions that cannot be revoked and assets that cannot be migrated | Affected business owner; incident command, SRE, identity, accounting, treasury, wallets, relevant security functions; independent review | Retest old credentials, sessions, signatures, delegations, and token allowances separately. For a leaked key, verify retirement and future-deposit handling; removing delegation alone does not establish recovery. Test isolation from areas still under investigation, high-value and targeted scenarios, and reapplication of restrictions after renewed anomalies or monitoring failure |
| D16 Suppliers and outsourcing | Review external inputs and write permissions; agree logging, incident notification, emergency revocation, and exit or handover arrangements | Service owner; procurement/legal, GRC, supplier; relevant application, infrastructure, data, or wallet specialists | GRC compares contractual commitments with actual access, notification, and log support. Technical teams test malicious responses, timeouts, and behavior after access is revoked. Record whether risky operations are rejected, whether an alternative service can take over, and any business interruption. Handle existing signatures and on-chain authorizations separately |
| D17 Staff onboarding, role changes, departures, and handover | Coordinate role and personal or service-identity changes with system maintenance; hand over workflow descriptions, exceptions, and exercise records without copying secrets into documents | System owner; HR, IT, identity platform, infrastructure/identity security, GRC | A successor independently completes a specified response or validation task. Retest the departing person's access and credentials requiring rotation; assign owners to continuing production dependencies. GRC samples whether exceptions and control-maintenance responsibilities were handed over |
| D18 Security and business agents | Grant read, analysis, and production-execution permissions separately; enforce limits on tool targets, operations, and cumulative impact outside the model | Agent-system owner; business, data, cloud; application security reviews tool/permission implementation; red team tests within the authorized scope | Use benign prompt-injection tests, fabricated evidence, and simulated tool failures to test unauthorized actions and incorrect responses. An agent cannot relax its own rules or approve its own actions. Record aborts, compensating actions, and irreversible operations; preserve independent logs |
4. Joint validation scenarios
For each test, record the business scope, environment and version, initial permissions, where the attack is expected to be blocked, the actual outcome, and the timeline from the first detectable activity through detection, effective containment, eradication, and recovery. Include asset/ledger changes, coverage gaps, the tester, and the reviewer. Mark unsupported timestamps unknown and state why.
Red teams or independent technical reviewers organize cross-system testing. Application, infrastructure, data, and wallet specialists analyze relevant components; business and technical owners provide system-state evidence and implement fixes. Security operations checks signals, correct identification of affected customers and operations, and effective response. GRC tracks failures and uncovered areas. A failed exploitation attempt establishes only the result under its recorded conditions.
| Scenario | Items | What to test |
|---|---|---|
| Compromised developer endpoint uses existing sessions to access production | D02, D04–D07, D14 | Cloud sessions and derived service tokens after endpoint isolation; continued deployment or production database writes |
| Supplier returns a wallet-specific malicious transaction | D07, D12, D16 | Relevant wallet, amount, authority; final bytes against original request; separate pre-signing, pre-broadcast, post-execution checks |
| External authorization submission, failed execution, later delegation removal | D10–D12, D14, D15 | Cover every signing entry point. A successfully processed EIP-7702 delegation can survive execution failure; removing it does not revoke token allowances. An authorization with chain ID 0 may be valid on other supporting chains, subject to nonce and other conditions; test each applicable chain |
| Support identity accesses data and starts recovery | D05, D08, D10, D14 | Separate employee/customer recovery; query access must not automatically unlock withdrawals |
| False deposit or valuation moves through spot, collateral, lending, another asset | D09, D10, D13 | How the balance was created and where it can be used; restrictions extend beyond the original asset or wallet |
| Security or financial-risk anomaly starts the response | D08, D10, D13, D14 | Test confirmed compromise and unconfirmed signals that meet predefined high-risk conditions. Verify temporary restrictions, review, lifting restrictions after false positives, and escalation. Anomalous fund activity should trigger investigation of backend writes and deployments |
| Risk service, price source, or node fails | D09, D10, D13, D14 | Timeouts, stale input, node disagreement; handling existing positions, appeals, queued work |
| Concurrent approvals, changed transactions, batching/retries during suspension | D10, D12, D14 | Test a shared limit across service instances and chains: aggregate reservations stay within the limit, the same request does not reserve capacity twice, and capacity is not released while a transaction's outcome is unknown. Trace each withdrawal request to its signing requests and each signing result back to the original request; preserve restrictions through batching and splitting; reject old approvals for changed contents. Check the existing transaction's result before retrying |
| Lost, out-of-order, misdirected, or partially executed response instructions | D10, D14, D15 | Stale instructions cannot supersede restrictions; duplicate instructions do not cause duplicate asset movements; distinguish API success from actual rejection; escalate by deadline to on-call and backup |
| Reuse old access and addresses after response | D11, D14–D17 | Sessions, derived credentials, signed transactions, on-chain grants, recovery environment, future deposits; isolate systems whose status is unresolved, validate each proposed restoration scope separately, and reapply restrictions if monitoring fails |
Retain successful and failed results. Mark a scenario not applicable only when the corresponding product or function is not used or has been retired. Missing logs, authorization, or safe test conditions means unverified.
5. Implementation priorities and evaluation
Contain leaked credentials, active exploitation, and confirmed unauthorized access first. D01–D06 establish the assets, identities, entry points, and production access in scope, with D14 implementing detection, restrictions, and on-call handoffs in parallel. Separate permissions where one identity can change both fund requests and their validation rules. Where independent controls already block malicious operations, examine detection latency, assets still exposed, and recovery gaps.
Work on D07–D13 can proceed in parallel according to the products the exchange offers. Lower online balances require more transfers; parsing gaps constrain new products; customer recovery review creates delay; restricting positions, loans, or liquidation creates different exposure. Business owners and the teams maintaining each control agree on scope and resources, and retain validation results from before and after the change. Test account-recovery abuse separately from fraud in which a deceived customer authorizes the operation. For self-custodied funds outside the platform, record actions still available to the exchange.
D15–D18 cover recovery, suppliers, people, and automation. New chains, products, important permissions, or suppliers trigger path updates and retesting. Assign implementation and review separately; record deadlines and business-owner decisions for unresolved findings.
When the security team uses agents, each specialty retains responsibility for the quality of its work. Application security maintains design-review, code-audit, and remediation-validation cases; security operations maintains investigation and response tasks; GRC checks control evidence and exception status; red teams explore bypasses. Investigation findings can become engineering tasks, with fixed versions and retest results linked to the original incident. A real-time engine handles events and scheduled tasks, while an expert workbench supports evidence review and additional context. Authorized people approve actions beyond preauthorized scope. An execution layer outside the model enforces tool permissions and limits on cumulative impact. Verify results against identity systems, ledgers, and chain nodes. Keep cases, evidence, policies, skills, and evaluation datasets in storage controlled by the exchange.
After changes to wallets, identity-recovery rules, or withdrawal orchestration, rerun the relevant attack test cases and record the interval from change to retest. Red teams separately explore paths outside existing tests, using independent attack hypotheses and evidence collection. Agents sharing models, context, or rules do not automatically provide independent validation. Test tampering with security policies, long-term memory, and evaluation data, as well as malicious tickets or code that induce unauthorized actions.
Before expanding execution permissions, replay historical cases and run in shadow mode, comparing incorrect approvals, unnecessary restrictions, human intervention, and recurring failures. Once execution is enabled, continue recording detection, effective containment, remediation, and retest times. Establish evaluation answers from actual outcomes and expert review, not agent self-assessment; retain human sampling and intervention exercises. Incorporate corrected judgments into skills, policies, or evaluation cases, with an owner, version, and applicable scope, and retest after model changes. Urgent blocking continues under existing preauthorized policies. The research article explains the attack evidence.
| Evaluation | Record | Conditions |
|---|---|---|
| Workflow coverage | Validated paths as a share of known applicable paths; list products not yet inventoried and unknown dependencies separately | Record the version of the inventory used as the denominator; configured but untested controls are not verified |
| Identity/dependency coverage | Owners, purpose, permission-validation status for people, services, suppliers | Retain counts of identities or dependencies with an unknown purpose, no owner, or unverified permissions |
| Effectiveness | Not applicable, unverified, failed, verified; version, time, scope | Separate partial pass; recheck after changes to the environment or critical dependencies |
| Secure development/remediation | High-risk review, code-audit scope, reproduced flaws, fixed versions, regressions | Count against applicable changes/risks; scanning, reporting, and fixing are distinct |
| Risk exceptions/review | Business, temporary measures, approver, expiry, latest review | Identify expired exceptions, exceptions whose conditions have changed, and those lacking supporting evidence; acceptance is not a passed control test |
| Detection/containment | TTD from an established compromise to detection; TTC from detection to verified effectiveness of the specified restriction | If initial compromise is unknown, separately record the interval from known behavior to detection. Retain incomplete responses; distinguish containment from eradication |
| Recovery/residual exposure | Per-service restoration, old-access retest, later inflows, unresolved issues | Plans differ from actual recovery; reimbursement/replenishment is not technical recovery |
| Reachable assets | Assets accessible to an attacker without double-counting, later inflows, and activity before containment, within a stated time window and assumptions | Count only verified limits; distinguish customer-account losses, assets exposed to attack, and actual asset losses |
References
- Secure development and remediation: NIST SSDF.
- Roles and jobs: NIST NICE.
- Governance and risk: NIST Cybersecurity Framework.
- Historical mechanisms and response evidence: attack paths, research.
- Targeted employee contact: FBI advisory.
- NIST authentication and session management.
- Organizational checks and supplier evaluation: DMM regulatory findings.
- OWASP transaction authorization and business-logic security.
- EIP-7702 and ERC-20.
This document provides implementation and validation guidance; it does not certify that any production system has passed these tests. Adopters determine roles, thresholds, and response authority for their own business.