Opengradient 2nd smart contract audit

HashlockCode version: not recorded (see the report)

Hashlock reviewed OpenGradient (Opengradient 2nd smart contract audit) on 1 Jul 2026: 12 findings, 0 critical; 9 marked fixed, 3 acknowledged.

No open critical findings
Open the reportOpen OpenGradient’s security record

Report hosted on GitHub.

Trustblock does not review code.

Findings12

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low039
LowOPGStakingVault - Ownership handover does not migrate AccessControl roles; previous owner retains DEFAULT_ADMIN_ROLE / FUNDER_ROLEFixed

The report gives no description here.

LowOPGStakingVault#_decimalsOffset - sOPG share token reports 24 decimals (18 underlying + 6 offset), an undocumented integration/display caveatFixed

The report gives no description here.

LowOPGStakingVault#_deposit - No reentrancy guard on deposit/withdraw paths; token-contingent, only relevant if OPG had ERC-777-style transfer hooksFixed

The report gives no description here.

LowOPGStakingVault#fundReward - Records the requested amount, not the delivered amount, causing accounting desync and totalAssets() underflow DoS under fee-on-transfer / rebasing tokensFixed

The report gives no description here.

LowOPGStakingVault#fundReward - Rewards funded to an empty or dust-level vault are stranded behind virtual shares or disproportionately capturedFixed

The report gives no description here.

LowOPGStakingVault#maxDeposit - previewDeposit/previewMint return non-zero quotes while deposits are paused; spec-compliant, but an integrator caveatFixed

The report gives no description here.

LowOPGStakingVault#renounceOwnership - Renouncing ownership while deposits are paused permanently bricks depositsFixed

The report gives no description here.

LowOPGStakingVault#renounceRole - Sole DEFAULT_ADMIN_ROLE holder can renounce, irreversibly freezing role administration and disabling reward fundingFixed

The report gives no description here.

LowOPGStakingVault#streamedRewards - streamedRewards() tracks only the current stream and resets to zero on every fundReward, misleading off-chain consumersFixed

The report gives no description here.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Part of OpenGradient’s security record

OpenGradient
Audits2 audits by 1 firmLast audit Jul 2026, by Hashlock.
Critical findingsNo open critical findingsAcross 2 reports.
Open OpenGradient’s security record

Security firm

Hashlock

198 projects reviewed · 279 reports · latest Jul 2026

See Hashlock’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us