Hinkal Protocol - 2

QuantstampCode version: not recorded (see the report)

Quantstamp reviewed Hinkal (Hinkal Protocol - 2) on 28 Aug 2026: 14 findings, 0 critical; 9 marked fixed, 3 acknowledged, 2 open.

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

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings14

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium001
Low238
LowArbitrary Emporium Calls Allow Theft of Untracked AssetsAcknowledged

`EmporiumUpgradeable.runAction()` executes the caller-supplied `stack.ops` as arbitrary calls from the Emporium contract. However, its balance checks only protect the caller-supplied `circomData.erc20TokenAddresses`. An attacker can submit a Min0 proof with no token rows and set `signerAddress` to `address(0)`, which requires no signature in `verifyWallet()`. The attacker can then use `stack.ops` to transfer residual ERC20 tokens or native ETH from Emporium. An empty token array prevents the resulting balance decrease from being checked. This allows anyone to steal assets accidentally transferred, donated, or stranded in Emporium. The attacker may also spend third-party assets through allowances previously granted by Emporium.

LowNative ETH Sent without Matching `address(0)` Token Slot Is LostAcknowledged

The accounting in `transact()` only properly includes `msg.value` into `balanceDif` upon encountering the `erc20TokenAddresses` set to `address(0)`. The circuit's pairwise uniqueness constraint ensures at most one `address(0)` slot. However, there is no checks for the case where the token set contains no native-ETH slot, but there are native tokens send along with the transaction. These would then be lost in the contract.

LowProblematic Zero HashesAcknowledged

`0` as a hash could be problematic and short-cut Merkle tree paths.

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

Hinkal
Audits1 audit by 1 firmLast audit Aug 2026, by Quantstamp.
Critical findingsNo open critical findingsIn 1 report.
Open Hinkal’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 2026

See Quantstamp’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