Skip to content

Commit

Permalink
chore: upload security reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Nov 26, 2024
1 parent 7921ecf commit d06b483
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions security-reports/2023-09-30-Nibiru-ITN2-Chain-Halt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Postmortem

## Summary

On Sept 30 @ 22:16:01 UTC time, the `nibiru-itn-2` network halted at block `1131575`.

## Root Cause

The binary was missing a wasm extension that copies the `wasm` smart contract folder for state syncs. Nodes that joined the network via state sync were missing `wasm` smart contracts. Later on, these nodes became validator nodes, and the set of smart contracts differed between validator nodes.

A tx in block `1131574` was submitted against one of these missing smart contracts (with code_id 3). Some validators were able to execute the tx successfully and other validators errored out since they didn’t have the wasm smart contract in their local disk. Hence the chain halted while validating the `app_hash` in block `1131575`.

## Resolution

The issue was fixed in [PR #1616](https://github.com/NibiruChain/nibiru/pull/1616) and backported to the [v0.21.x release branch](https://github.com/NibiruChain/nibiru/tree/releases/v0.21.x) (currently in [v0.21.11](https://github.com/NibiruChain/nibiru/releases/tag/v0.21.11)).
13 changes: 13 additions & 0 deletions security-reports/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Nibiru/security-reports

Audits and security reports related to Nibiru blockchain, related smart contracts, and core applications.

## Audit History

- **2024-11 Nibiru Audit - Code4rena Competitive Audit**: (Report in progress)
- **2024-10 Nibiru Audit - Code4rena Zenith Audit**: (Report in progress)
- **2023-09-30-Nibiru-ITN2-Chain-Halt.md**: Report of a chain halt resulting from
high volatility in Nibiru Oracle exchange rates, causing unwarranted slashing of
the validator set that powers the oracle.
- **2023-07-Nibiru-Zellic-Audit-Report.pdf**: ...
- **2023-05-Nibiru-Salus-Penetration-Testing-Report-V2-脱敏.pdf**: ...

0 comments on commit d06b483

Please sign in to comment.