WATS Wallet Info
WATS Wallet is a self-custody, multi-chain Web3 wallet built by Alltoscan LLC and shipped as three products under one brand: a Chrome extension, a mobile app and an NFC Metal Card. It covers Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, Solana and TON. On EVM networks every action is charged in one token, ATS, through an ERC-4337 paymaster that debits a single balance on BSC; Solana transactions pay their own native fee in SOL, while fees on TON are paid in ATS too. WATS does not natively support Bitcoin, and it never holds your keys.
TrustNet Score
The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.
Real-Time Threat Detection
Real-time threat detection, powered by Cyvers.io,
is currently not
activated
for this project.
This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks.
For more information, click here.
Summary and Final Words
No crucial issues found
The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.
Ownership is not renounced
The owner retains significant control, which could potentially be used to modify key contract parameters.
Scope of Work
This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.
The auditing process consists of the following systematic steps:
- Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
- Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
- Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
- Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
- Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
- Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
- Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.
A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.
Final Words
The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.
Smart Contract Analysis Statement
Contract Analysis
The ATSRemotePaymaster v2 contract is a revision of the previously audited cross-chain ERC-4337 v0.8 paymaster. It pays the gas of operations on a destination chain without taking any token there, because the user has already paid in ATS on BSC through the ATSGasCollector. The paymaster only checks a signature from a trusted backend key that vouches for that payment, together with an absolute per-operation gas cap set by the owner and a per-operation cap signed by the backend. The paymaster data layout and the signed digest are unchanged from the first audit. New in v2 are mandatory signature windows: every authorisation must state a start and an end time at most one hour apart. The re-audit covered the source verified on Sourcify with an exact match on Arbitrum Sepolia, Base Sepolia and Polygon Amoy; all three deployments share one source tree.
Ownership Privileges
The ownership is held through a two-step handover. On the three v2 testnet deployments the owner is still the deploying EOA and no transfer is pending; for mainnet the team intends the same 2-of-3 Safe that owns the legacy contracts. The owner retains the following privileges:
- Setting and rotating the backend signer; rotation invalidates every signature of the previous key
- Setting the absolute per-operation gas cap, where zero keeps sponsorship closed
- Pausing and resuming all sponsorship
- Withdrawing the EntryPoint deposit and any stake
- The owner cannot renounce ownership
- No owner action takes effect with a delay, as no timelock is in place
Security Features
The contract implements several positive security features:
- Every authorisation must carry an explicit window of at most one hour, so leaked, hoarded or pre-rotation signatures expire on their own
- Signatures are bound to the full operation, the chain id and the paymaster address, which rules out replay across operations, chains and contracts
- Invalid signatures return a failed-signature result instead of reverting, while malformed data and owner policy revert with custom errors
- Fail-closed defaults: sponsorship stays closed until the owner sets both a signer and a gas cap
- No post-operation logic, no token handling and no rescue function, which keeps the attack surface minimal
- The trust model, the limits of maxCostCap and the off-chain nature of settlementId are documented plainly in English NatSpec
Re-audit Outcome
The reverting signature check, the documentation of maxCostCap and settlementId, the custom errors and the English documentation are fixed. The central trust concern is acknowledged by design and only partially mitigated: the new signature windows stop old signatures from living on, but whoever holds the backend key can still sign fresh operations for accounts they control and collect the gas as bundle beneficiary until the deposit is empty, which we confirmed again in testing. No on-chain budget was added. On the testnets the same backend EOA signs for both paymasters on every chain, and it is the same key that controls the still-funded legacy remote paymasters. Keeping the deposits small, moving the key to KMS or HSM custody and using a separate signer per chain and paymaster remain the main controls. No new vulnerability was introduced by the changes, and Slither and Aderyn reported no new valid issue.
Note - This re-audit report consists of a security analysis of the ATSRemotePaymaster v2 smart contract. This analysis did not include economic analysis of the contract's tokenomics. Moreover, we only audited the main contract for the ATSRemotePaymaster team. Other contracts associated with the project were not audited by our team. The legacy remote paymasters remain deployed and funded on mainnet until the v2 contracts replace them. We recommend investors do their own research before investing.
Files and details
Findings and Audit result
medium Issues | 1 findings
Resolved
#1 medium Issue
A single backend key controls the whole deposit on nine chains
The contract sponsors any operation that carries a valid backend signature and has no on-chain evidence that the user paid on BSC. A leaked signer key lets an attacker sign operations for fresh accounts and collect the gas as the bundle beneficiary until the deposit is gone, limited only by maxGasCostWei per operation and not by the number of operations. In our testing five such operations moved 0.0043 of the native coin from the deposit to the attacker's bundler. The same EOA signs for both paymasters on all chains, and the signed maxCostCap gives no extra protection because every input of maxCost is already part of the signed hash.
low Issues | 1 findings
Resolved
#1 low Issue
Invalid signatures revert instead of failing gracefully
The comment above the return statement says an invalid signature yields a failed signature result instead of a revert. ECDSA.recover reverts for zeroed, high-s and otherwise unrecoverable signatures, so such operations abort validation with a revert. This breaks gas estimation with placeholder signatures and does not follow the ERC-4337 rule that signature failures must return SIG_VALIDATION_FAILED.
optimization Issues | 1 findings
Resolved
#1 optimization Issue
Use custom errors instead of revert strings
Validation uses six require statements with revert strings. Custom errors are cheaper to deploy and to revert with.
informational Issues | 2 findings
Resolved
#1 informational Issue
maxCostCap and settlementId are not enforced on-chain
maxCost is derived from gas limits and maxFeePerGas that are all part of the signed hash, so the separate maxCostCap check cannot fail for an operation the backend actually signed and does not limit the damage of a leaked key. settlementId is hashed but never recorded, so the only replay protection on the destination chain is the EntryPoint nonce. Both values are useful for backend bookkeeping but do not add on-chain security.
Resolved
#2 informational Issue
Documentation is Turkish only
All comments and NatSpec are written in Turkish, which makes the clearly stated trust assumptions hard to verify for external integrators and users.