RGB smart contract audit

HashlockCode version: not recorded (see the report)

Hashlock reviewed RGB (RGB smart contract audit) on 1 Jun 2025: 6 findings, 0 critical; 5 marked fixed, 1 acknowledged.

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

Report hosted on GitHub.

Trustblock does not review code.

Findings6

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium013
Low002
MediumRgbToken#_chargePixels - Hardcoded gas formula in pixel fee calculation leads to economic imbalanceFixed

The report gives no description here.

MediumRgbToken#_chargePixels/_transferFromPayee/_withdrawContract - Use of transfer() for ETH payments causes risks for contract recipientsFixed

The report gives no description here.

MediumRgbToken#_getParticipantId/completeCanvas - Unbounded participant and winner arrays in RGB lottery system enable permanent freezing of fundsFixed

The report gives no description here.

LowRgbToken - Unused participantIdToIndex mapping in CanvasParticipants struct wastes storageFixed

The report gives no description here.

LowRgbToken#RegisterLotteryContract/registerStampsContract - Missing zero-address validation in contract registration functions allows temporary loss of functionalityFixed

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 RGB’s security record

RGB
Audits1 audit by 1 firmLast audit Jun 2025, by Hashlock.
Critical findingsNo open critical findingsIn 1 report.
Open RGB’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