NEST Protocol security record

BNB Chain, Ethereum, Polygon (POS)nestprotocol.orgXGitHub

As of 3 Nov 2026, NEST Protocol has 1 audit report on Trustblock, by CertiK, dated 15 Jul 2022. That report lists no open critical findings.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

Record last updated . It holds audits, findings and contracts up to Nov 2026, and incidents up to Oct 2026. Trustblock does not review code.

Audits1

Newest first

AuditSecurity firmDateScopeCritical findingsReport
NEST ProtocolSecurity firm: CertiKDate: Scope: Files named in the reportNo open critical findingsOpen · skynet.certik.com

Findings13

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium001
Low406
MediumPotential ETH LossNEST Protocol · CertiK · 15 Jul 2022Fixed

In function `post()`, Miners will transfer tokens to post the price for all of the pairs in the channel, and the amount of paid ETH will record in the local variable `fee`. If the `channel.token0` or `pair.target` is ETH, the value of `fee` will decrease which means the tokens are frozen in this contract. But if more ETH is paid than is needed, the `msg.sender` will lose this part of ETH.

Open the report
LowDiscussion on Parameter `scale`NEST Protocol · CertiK · 15 Jul 2022Fixed

Since the value of `scale` must be 1, `scale` is not needed in the multiplication formula. ```solidity=356 // 1. Check arguments require(scale == 1, "NOM:!scale"); ``` ```solidity=379 // Freeze token0 fee = _freeze(balances, channel.token0, cn * uint(channel.unit) * scale, fee); ``` ```solidity=387 fee = _freeze(balances, pair.target, scale * equivalent, fee); ``` Also, `scale` can be replaced by fixed value 1 when emit event `Post` or call function `_create()` in function `post()`. ```solidity=394 // 6. Create token price sheet emit Post(channelId, cn, msg.sender, pair.sheets.length, scale, equivalent); // Only pairIndex 0 has reward _create(pair.sheets, accountIndex, uint32(scale), uint(config.pledgeNest), cn == 0 ? 1 : 0, equivalent); ``` In section 2.3 of [white paper](https://www.nestprotocol.org/doc/ennestwhitepaper.pdf), the scale looks like it can be any value. Please describe why the value of `scale` must be 1 in the function `post()`.

Open the report
LowDiscussion on RewardNEST Protocol · CertiK · 15 Jul 2022Fixed

According to our understanding, for each channel, there is no essential difference between `pair[0]` and the other pairs, but in real logic only `pair[0]` has a reward. Please teach us why only `pair[0]` has a reward and teach us what part of the official documentation is this reward mechanism documented in. ```solidity=396 // Only pairIndex 0 has reward ``` ```solidity=613 // Only pairIndex 0 has reward ```

Open the report
LowDiscussion on The Condition of `if` BranchNEST Protocol · CertiK · 15 Jul 2022Fixed

The condition of the `if` statement in line 856 is inconsistent with the comment in line 855. ```solidity=855 // Not the same block (or flag is false), calculate the price and update it if (flag || prev != height) { ```

Open the report
LowIncorrect CommentsNEST Protocol · CertiK · 15 Jul 2022Fixed

File : NestBatchMining.sol (function `take()`, line 444) The is no variable named `ethNum` in struct `PriceSheet`. ```solidity=444 // sheet.token0Scales + sheet.token1Scales is always two times to sheet.ethNum uint needNest1k = (takeNum << 2) * uint(sheet.nestNum1k) / (uint(sheet.token0Scales) + uint(sheet.token1Scales)); ```

Open the report
LowMissing Error MessagesNEST Protocol · CertiK · 15 Jul 2022Fixed

The **require** can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.

Open the report
LowMissing Zero Address ValidationNEST Protocol · CertiK · 15 Jul 2022Fixed

Addresses should be checked before assignment or external calls to make sure they are not zero addresses. ```solidity=740 payable(to).transfer(value); ``` - `to` is not zero-checked before being used.

Open the report

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="nest-protocol"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

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