Atomicity
EVM success/failure must agree with native state, callbacks, conversions and cache writes.
The hardened TWIX chain stack was upgraded against the complete 15-point Cosmos EVM module security review. The work focused especially on the dangerous boundary between EVM execution and Cosmos SDK state, gas, authorization, token conversion, callbacks and IBC behavior.
The result records completion of the defined remediation qualification after the upgraded build. It is evidence of a disciplined hardening program—not a claim that a blockchain, EVM implementation or future upgrade can never contain another defect.
TWIX combines Cosmos SDK state machines with Ethereum-compatible execution. That creates powerful interoperability, but it also creates failure modes that do not exist inside a single-runtime system.
EVM success/failure must agree with native state, callbacks, conversions and cache writes.
Native work must remain correctly priced and owned/spendable token semantics must remain unambiguous.
Stateful capabilities must exist, be explicitly enabled and fail deterministically rather than expanding attack surface by default.
Tracing, WebSockets, profiling and background workers must remain bounded under pathological input and runtime faults.
This public matrix intentionally explains the engineering changes without publishing exploit recipes, private PoCs or weaponized reproduction sequences.
HIGH
Removed the unsafe phantom-active state from the production surface and hardened registration/availability checks so an advertised address must resolve to an implementation rather than becoming a panic path.
Startup/registration regression and deterministic failure behavior.
HIGH when public
Separated public tracing expectations from synthetic/internal replay behavior. Canonical identifiers and operator-defined workload boundaries prevent callers from inventing historical block environments or unbounded replay jobs.
Canonical-state and replay-boundary qualification.
HIGH when public
Trace execution is bounded by operator policy rather than caller-selected long durations; resource and output constraints are treated independently from timeout alone.
Timeout-clamp and resource-boundary tests.
HIGH / MEDIUM
Hardened the meaning of pair enable/disable state so the relevant ERC20/conversion paths do not drift into contradictory transfer, approval or conversion behavior after governance changes state.
Disabled-pair behavior matrix across transfer/approval/conversion paths.
HIGH / MEDIUM
Overflow checks preserve prior consumed-gas accounting instead of mutating the meter into a misleading state before failure; boundary semantics were qualified explicitly.
Overflow boundary and recovery regression.
HIGH with writable hooks
Failed EVM execution is treated as a cross-runtime atomicity boundary. Native post-processing behavior was hardened so failure does not silently create unmetered application-state side effects outside the intended semantics.
Failure-injection against failed EVM execution and hook state.
MEDIUM / HIGH public
WebSocket and internal JSON-RPC communication are treated as bounded services with request-scoped lifetime, connection/message constraints and timeout expectations rather than indefinite background work.
Connection/resource exhaustion qualification.
HIGH if exposed
Dangerous profiling capabilities remain outside the public surface and filesystem/duration behavior is constrained so remote callers cannot choose arbitrary write targets or occupy profiling resources indefinitely.
Public exposure and profiling-boundary checks.
MEDIUM
Hardened ERC20 balance semantics so integrations can distinguish ownership from transfer spendability and do not receive misleading balances for locked or vesting state.
Locked/vesting/accounting integration regression.
MEDIUM / HIGH
Gas-token metadata requirements are validated before fee processing depends on them, turning incompatible configuration into an explicit validation/error condition rather than an ordinary-transaction panic path.
Invalid-metadata fee-path qualification.
MEDIUM
Final callback safety checks are evaluated before committed state is made durable so the function remains locally atomic even when invoked outside the usual outer IBC cache assumptions.
Direct callback failure/rollback regression.
HIGH
Built qualification coverage around the ICS20 boundary where ERC20 conversion, native balances, IBC sends, callbacks, rollback, gas and Solidity parent execution intersect.
Failure, timeout, callback, conversion, revert, malformed-input and replay-oriented regression coverage.
HIGH / MEDIUM
Native Cosmos work underlying EVM-compatible operations is treated as part of gas economics. Fixed compatibility costs must remain bounded by measured/worst-case native work rather than assumption alone.
Gas-budget benchmarking and worst-case regression criteria.
MEDIUM / HIGH
Production capability exposure is treated as an explicit allowlist rather than inheriting a broad demo/example profile. Stateful precompiles are enabled intentionally, not merely because they exist.
Production genesis/precompile allowlist qualification.
MEDIUM
Txpool reset/recheck faults are handled as recoverable operational errors or controlled supervisor conditions instead of arbitrary panics inside long-lived asynchronous workers.
Reset/rechecker fault-path regression.
The remediation program emphasized regression and failure-injection at the exact boundaries highlighted by the review.
Exercise failed EVM transactions, callback failures, final safety checks and conversion paths where partial state would be dangerous.
Check overflow boundaries, server-controlled timeouts, workload caps and worst-case native work behind EVM-compatible operations.
Test disabled-pair behavior, owned/spendable balance semantics and stateful precompile exposure across related methods rather than one happy path.
Fault paths in WebSocket/profiling/txpool components are treated as availability and containment problems, not exceptional edge trivia.
Precompiles, tracing, gas, ERC20 semantics, fee metadata, cross-runtime rollback, IBC/ICS20, WebSockets, profiling and txpool reliability.
Unsafe Comet routes, EVM administration/debug namespaces and raw backend services remain outside the normal public interface, while consensus and application keys stay separate.