Compromised Key Rotation Cascade Tool
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
The Compromised Key Rotation Cascade Tool enables cascading rotation of compromised keys across multiple systems and contracts. It reads comprehensive state from wallet and key registry contracts including compromised key addresses, new key addresses, rotation cascade parameters, cascade eligibility, cascade status (pending, executing, completed, failed), rotation history, key status (active, compromised, revoked), key expiry, signer addresses and weights, quorum requirements, approval counts, required approvals, execution delays, timelock state, platform fees, pending rotations, rotation priority, cascade depth, and affected contracts. Users can execute cascading rotations using multiple methods: cascadeRotation with depth and contract targeting, rotateKeysCascade with priority, executeCascade with force option, or revokeAndReplace for immediate replacement. The tool displays key status, cascade eligibility, rotation history, and affected contracts, providing full visibility before executing security-critical key rotations.
HOW TO USE
Connect your Web3 wallet and paste the key registry/wallet contract address. The tool never hardcodes addresses—you specify the contract you're vouching for. Enter the compromised key address and the new key address to replace it. Select the cascade method, set the cascade depth (number of systems to propagate the rotation to), and optionally specify affected contracts as a comma-separated list. Provide custom cascade data if required. Check "Approve token spending" to handle approvals automatically, "Force cascade" to bypass eligibility checks, or "High priority cascade" for urgent rotations. Click "Fetch key state" to view key status, expiry, cascade eligibility, cascade status, cascade depth, approvals required, execution delay, platform fee, and rotation history. Review the displayed key status and cascade parameters carefully—cascade rotation replaces compromised keys across multiple systems. Click "Execute cascade" to submit the rotation transaction. Transaction status, gas costs, and confirmation are displayed upon completion.
MECHANICAL ADVANTAGE: COMPREHENSIVE KEY STATE AGGREGATION WITH CASCADE HISTORY DISCOVERY
Unlike hardcoded key rotation tools that only handle single keys, this tool fetches eight different state variables in parallel using Promise.all with individual error boundaries, ensuring that a revert in one view function doesn't prevent retrieval of other critical metrics. The tool automatically discovers rotation history by iterating through rotation event indices until it hits empty entries (capped at 10 for performance), displaying old and new key addresses and status for full transparency. The tool dynamically selects the appropriate cascade method based on user input—cascadeRotation with depth and contracts, rotateKeysCascade with priority, executeCascade with force, and revokeAndReplace for immediate replacement. Gas estimation factors in cascade method complexity and affected contracts count, and the tool uses receipt.effectiveGasPrice post-transaction for accurate cost reporting rather than relying on the pre-EIP-1559 gasPrice cap. Key status, expiry, and cascade depth are displayed prominently, enabling informed security decisions.
WHAT IT CANNOT SEE
This tool cannot verify that the wallet contract or key registry contract is legitimate or has not been compromised. It cannot detect if the cascade parameters have been manipulated or if the contracts have been upgraded or modified. Cascade rotation may not execute at optimal gas price due to network conditions or succeed if the contract is paused or frozen. The tool cannot recover funds if execution fails due to contract bugs or insufficient approval. It cannot verify that cascade parameters are valid, predict gas prices during congestion, or detect if the rotation has been front-run. The tool cannot ensure that all rotations in the cascade will complete, verify off-chain key compromise status, or provide legal or security advice. It cannot guarantee that the new keys are secure, verify the correctness of the cascade sequence, ensure that all approvals will be received, or track cascade status outside of the tool. Key rotation is a critical security operation—ensure the key is truly compromised before executing a cascade.
PLEASE NOTE
This tool operates on EVM-compatible chains only. It reads from and writes to key registry contracts but provides no legal or security advice. All cascade rotation decisions remain your responsibility. Always verify contract addresses, key addresses, and cascade parameters before submitting transactions. The tool displays current state but does not automatically rotate—you must review and confirm each transaction through your wallet. Gas costs vary by network conditions and cascade depth—the tool estimates but cannot guarantee optimal pricing. Cascade rotations may require approvals from multiple signers—ensure you have the required approvals before execution. Cascade depth determines how many systems are affected—higher depth means more extensive rotation but may take longer to complete.