KMS Integration Test Tool for Signing
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
This tool tests KMS (Key Management Service) signing integration by analyzing on-chain signature verification patterns and contract validation logic. It performs a comprehensive suite of read-only checks against a target contract to verify that it correctly implements signature verification compatible with KMS-generated signatures. The tool checks for contract deployment verification, wallet connectivity, ecrecover implementation, signature validation patterns, replay protection mechanisms, and KMS-specific features like key rotation support. Results are presented as a detailed test report with pass/fail/warn statuses for each test, providing developers and security teams with clear visibility into their KMS integration readiness. This is essential for teams implementing KMS-based signing for administrative functions, multi-sig wallets, or automated contract interactions.
HOW TO USE
Connect your wallet (read-only, no transaction required) and select the target network. Enter the contract name and address that implements signature verification, and set the lookback blocks for log analysis. Click "test KMS signing integration" and the tool will verify the contract, analyze its bytecode for signature verification patterns, check wallet connectivity, and run a comprehensive test suite. Results display a summary with pass/fail/warn counts and an overall status, detailed test cards showing each test's outcome with supporting data, and a table of all tests. Use the report to identify integration gaps, verify KMS compatibility, and ensure your contract's signature validation logic is correctly implemented.
TECHNICAL MECHANISM
The analyzer uses ethers.js v5.7.2 to perform a multi-stage KMS integration test. First, it calls eth_getCode to verify the contract is deployed and uses block explorer APIs to fetch verification status. The tool then reads the current wallet state via BGWallet, capturing the connected address and chain ID for context. It analyzes the contract bytecode to detect signature verification patterns—specifically looking for ecrecover opcode usage, keccak256 hashing patterns, and standard signature validation flows (e.g., `require(ecrecover(hash, v, r, s) == signer)`). The tool also scans historical logs using eth_getLogs across the specified block range to identify signature verification events and usage patterns. Each test in the suite evaluates a specific aspect of KMS integration: contract deployment, wallet connectivity, signature verification support, ecrecover implementation, signature validation logic, KMS-compatible signing (secp256k1 curve detection), replay protection (nonce, chainId, deadline checks), and key rotation support (authorized signer mappings). Results are compiled into a structured report with detailed diagnostic information.
WHAT IT CANNOT SEE
This tool cannot actually test KMS signing or key management functionality—it performs analysis and verification only. It cannot access actual KMS keys, encrypted data, or off-chain signing systems. The tool is limited by the RPC provider's rate limits and block range availability for historical log queries. It cannot verify signatures that are not on-chain or have been generated outside the analyzed scope. The analysis relies on the accuracy and completeness of contract verification and signature data; unverified contracts or incomplete ABIs may produce incomplete results. It cannot analyze contracts that are not verified or have opaque implementation details where signature verification is obfuscated. The tool cannot test KMS integration with off-chain systems or external signing services beyond the contract's on-chain logic. It is limited to the specific contract instances and signatures that are accessible via RPC. It cannot guarantee that the contract's signature validation logic matches the KMS implementation without manual review—the tool identifies patterns but does not execute actual signature verification with KMS-generated signatures.
PLEASE NOTE
This is a read‑only analytics tool—it never submits transactions or signs anything. It is designed for EVM‑compatible chains and works best with contracts that implement standard signature verification patterns. The test results are for informational and audit purposes only and should not be considered a comprehensive security audit. Always manually review signature verification logic and perform actual KMS signing tests before deploying to production. The tool's pattern detection is heuristic and may miss custom verification implementations.