OneStable

OneStable Smart Contract Audit Report

Share
Share
EVMEVM
BridgeCross chainRelayer
EVMEVM
BridgeCross chain+1

QuillAudits audited the OneStable smart contracts on EVM between Nov 12, 2025 and Nov 25, 2025. The audit found 7 issues: 1 high, 1 medium, 4 low, 1 informational, of which 5 resolved and 2 acknowledged.

kyc
KYC VerificationQuillAudits Verified
icon
kyc
Verified ContractsContract Verification Status
icon
kyc
Vigilant SquadQuillAudits Multilayered Audit
icon

Project Description

The Onestable suite implements a two-sided cross-chain bridge with relayer adapters that coordinate sending and receiving transferable messages and tokens between a source and destination chain. The Source and Destination Bridge contracts handle deposit/withdraw flows, message hashing, and finalization checks, while the RelayerAdapter contracts provide relayer-facing entrypoints, signature verification, and gas/payment accounting. The system enforces replay protection, nonce and id tracking, and uses packed calldata/hash checks to ensure the integrity of cross-chain payloads. Access control and fee handling are delegated to adapter layers so the core bridge logic stays minimal and auditable. Event emissions at each step provide on-chain proofs for external relayers and watchers. Overall, the design separates core finalisation logic from relayer/payment mechanics for clearer security boundaries.

Timeline

S1
Nov 12, 2025
IA
Nov 18, 2025
S2
Nov 25, 2025

Scope of Audit

The scope of this Audit was to analyze the OneStable  Smart Contracts for quality, security, and correctness.

Methodology: the QuillAudits smart contract audit process.

icon
speedometer
0
50%
60%
70%
90%
100%
96.8%
QUILLAUDITS SCORE
Remediation Score93
Operational Resilience73
Governance & Centralization50
Tests, Coverage & Doc18

Critical

High

Medium

Low

Informational

open00000
acknowledged00101
partially resolved00000
resolved01040

High Severity Issues

Missing Domain Separation in Relayer Signatures

Resolved
arrow-right
Description

The adapter verifies signatures over a raw keccak256 hash that contains only the message fields.
The signature does not include any domain separation such as:
• the bridge contract address
• the protocol name/version
• the actual chainId of the execution environment
Although fields like srcChainId appear in the payload, these are usercontrolled data fields and do not bind the signature to this specific contract or deployment.
Without proper domain separation, a signature intended for one deployment, environment, or contract instance may be valid on another contract that uses the same message format.
This breaks a core guarantee of EIP-712, which exists specifically to prevent cross-deployment and cross-protocol signature replay:

Contract

OnestableRelayerAdapter.sol

Recommendation

Adopt EIP-712 typed structured signatures and include a domain separator containing:
• protocol name
• version
• block.chainid
• address(this)
This ensures the signature is cryptographically bound to this specific contract and cannot be replayed elsewhere.

Medium Severity Issues

Low Severity Issues

Informational Issues

Appendix

Disclaimer

OneStable

OneStable

High Severity Issues
Medium Severity Issues
Low Severity Issues
Informational Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC