Methodology
DISCLAIMER // NFA // DYOR
This analysis is based on observations of the contract behavior. We are not smart contract security experts. This document aims to explain what the contract appears to do based on the code. It should not be considered a comprehensive security audit or financial advice. Always verify critical information independently and consult with blockchain security professionals for important decisions.
⊙ generated by robots | curated by humans
| METADATA | |
|---|---|
| Contract Address | 0x00a9F390...0d25BA (etherscan) |
| Network | Ethereum Mainnet |
| Analysis Date | 2026-11-27 |
Overview
App's source is verified on Etherscan, so the analysis read src/App.sol and the three Solady files it imports, then checked them against chain state. Because App's purpose is to serve bytes, the bytes were checked too: the four chunk contracts were read directly, the dapp was reassembled and decompressed on both chains, and the result was compared with what html() and request() return.
The served dapp was treated as data, not as part of the contract. It was searched for network calls, external scripts and the transactions it builds, which is what bears on App's trust model. It was not reviewed line by line.
Comments in the source were read but not relied on. Where these documents quote a comment, they say so. Revert paths, routing and the lock were exercised with cast call, using state overrides to put App into a locked state or empty its widget list without sending a transaction. The setup transactions were replayed with cast run to see the calls the Ops vault made.
Because DNZN LABS publishes both this contract and this site, the analysis used only public sources: Etherscan, public Remote Procedure Call (RPC) endpoints, and the deployed code. The DNZN LABS project space supplied the identity mapping for the addresses involved.
Thought Process
mindmap
root((App))
Obtain
Etherscan source verified
Runtime 7,154 bytes
Created via Deterministic Deployment Proxy
Owner set in constructor
Structure
Two SSTORE2 pointer lists
gzipped and locked flags
Solady Ownable owner slot
Serving
html bootstrap
request routing
resolveMode 5219
Payload equals chunks
Content
Decompressed on both chains
One config line differs
Network calls inventoried
Widget SRI matches
Control
Ops vault executeQueued
Not locked
lock simulates ok
One-step transfer
Cross-chain
Same code and owner
Same chunk addresses
Widget chunk identical
Dapp chunks differ
Verification Guide
The analysis used Foundry's cast against an Ethereum mainnet RPC and the public Base RPC, plus Etherscan API v2 for verified source, creation data, internal transactions and logs on Ethereum.
External Resources
- Etherscan API v2: verified source, Application Binary Interface (ABI), compiler settings, creation data, internal transactions and logs for Ethereum
- Base public RPC: code, nonce, storage and calls on Base, which the Etherscan free tier does not serve
- Foundry
castreference: command syntax
The specifications and sources behind the findings are listed in the References of the main analysis.
Commandline Tools
Tip
Commands below use cast from the Foundry Toolkit. To run the commands below, you must set the RPC URL environment variable:
Fetch Code and Creation Data
# RUNTIME BYTECODE
cast code 0x00a9F390A6010d045e0d34856048DdD6910d25BA
# CREATION TRANSACTION: SENT TO THE DETERMINISTIC DEPLOYMENT PROXY
# INPUT = 32-BYTE SALT ‖ INIT CODE; THE LAST 128 BYTES ARE THE CONSTRUCTOR ARGUMENTS (OWNER, "v0.1")
cast tx 0x37d157cc643bb26358d59e6de43bc967b5bcffd72e57d26a2ec57bdd5f8d3295
Read the State
# OWNER, COUNTS, FLAGS, VERSION
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "owner()(address)"
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "chunkCount()(uint256)"
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "widgetChunkCount()(uint256)"
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "gzipped()(bool)"
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "locked()(bool)"
# RAW SLOTS: 0 chunks.length, 1 widgetChunks.length, 2 gzipped|locked, 3 version, SOLADY OWNER SLOT
cast storage 0x00a9F390A6010d045e0d34856048DdD6910d25BA 2
cast storage 0x00a9F390A6010d045e0d34856048DdD6910d25BA \
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927
# CHUNK POINTERS ARE APP'S CREATE ADDRESSES AT NONCES 1-4
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "chunks(uint256)(address)" 0
cast compute-address 0x00a9F390A6010d045e0d34856048DdD6910d25BA --nonce 1
Check What Is Served
The dapp can be rebuilt from the chunks without calling html(), and the two compared. Each chunk's code is a 0x00 byte followed by data.
# REASSEMBLE THE GZIP STREAM FROM THE THREE CHUNKS (DROP THE LEADING 00 OF EACH)
for p in 0x029E4004a2Be5fd03db9aDCee825898Ef70D98F4 \
0x87eE9c5C1857f57C941A880be4BbC036471780A3 \
0x295fF302b881280C245491aD0109324654239227; do
cast code $p | cut -c5- | xxd -r -p
done > app.html.gz
gunzip -c app.html.gz > app.html
# COMPARE WITH html(): THE BASE64 INSIDE atob("...") MUST DECODE TO app.html.gz
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "html()(string)"
# WIDGET AND ITS SRI HASH (COMPARE WITH widgetSri IN THE DAPP'S CFG LINE)
cast code 0x93Fa808681b91aA401eF4f83F961cf17bab19044 | cut -c5- | xxd -r -p > widget.js
echo "sha384-$(openssl dgst -sha384 -binary widget.js | base64)"
grep -o "widgetSri: '[^']*'" app.html
# ROUTING
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA \
"request(string[],(string,string)[])(uint16,string,(string,string)[])" '["widget.js"]' '[]'
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA \
"request(string[],(string,string)[])(uint16,string,(string,string)[])" '["favicon.ico"]' '[]'
# SERVING COST
cast estimate 0x00a9F390A6010d045e0d34856048DdD6910d25BA "html()"
Exercise the Revert Paths
cast call simulates a call from any address without sending it. State overrides set slot 2 to 0x…0101 to simulate a locked App.
# STRANGER: EXPECT 0x82b42900 Unauthorized()
cast call --from 0x000000000000000000000000000000000000dEaD \
0x00a9F390A6010d045e0d34856048DdD6910d25BA "addChunk(bytes)" 0x00
# OWNER, EIP-7702 ACCOUNT AS A POINTER: EXPECT 0x449e1ab9 ForeignChunk(address)
cast call --from 0x00c0e88778E3e3d17AcaaBC7550deC7Ab61F3790 \
0x00a9F390A6010d045e0d34856048DdD6910d25BA "setChunks(address[],bool)" \
"[0x357836fFcB45307FA7ff2A574F505753c961902B]" true
# OWNER, EOA AS A POINTER: EXPECT 0xef9230eb CodelessChunk(address)
cast call --from 0x00c0e88778E3e3d17AcaaBC7550deC7Ab61F3790 \
0x00a9F390A6010d045e0d34856048DdD6910d25BA "setChunks(address[],bool)" \
"[0x5A158aF8DC28FE756dB81Ef669e4Db2536bBC50d]" true
# OWNER, LOCK AT CURRENT STATE: EXPECT SUCCESS (EMPTY RETURN)
cast call --from 0x00c0e88778E3e3d17AcaaBC7550deC7Ab61F3790 \
0x00a9F390A6010d045e0d34856048DdD6910d25BA "lock()"
# OWNER, AFTER LOCK: EXPECT 0x0f2e5b6c Locked()
cast call --from 0x00c0e88778E3e3d17AcaaBC7550deC7Ab61F3790 \
0x00a9F390A6010d045e0d34856048DdD6910d25BA "addChunk(bytes)" 0x00 \
--override-state-diff 0x00a9F390A6010d045e0d34856048DdD6910d25BA:0x2:0x0000000000000000000000000000000000000000000000000000000000000101
Replay the Setup
# THE VAULT'S executeQueued CALL AND THE FOUR App CALLS IT BATCHED
cast run 0x60b99bb398141901b5e7c4d521727522a659e359e2810f3466f9999baf59fb69 --quick
Compare Base
cast code 0x00a9F390A6010d045e0d34856048DdD6910d25BA --rpc-url https://mainnet.base.org
cast call 0x00a9F390A6010d045e0d34856048DdD6910d25BA "owner()(address)" --rpc-url https://mainnet.base.org
cast codesize 0x295fF302b881280C245491aD0109324654239227 --rpc-url https://mainnet.base.org
Document Verification
The drafted documents were re-checked before publication in five independent passes, each with a narrow scope and each reading from primary sources rather than from the draft. Running them separately matters: a claim can be correctly formatted, non-redundant, neutral in tone, free of filler, and still be factually wrong, and a single reviewer holding all five concerns at once reliably drops the last one.
| DIMENSION | WHAT IT CHECKS | CHECKED AGAINST |
|---|---|---|
| Facts | Addresses, block heights, dates, sizes, selector values, gas figures, routing results, every quantitative claim | Live chain state via cast on Ethereum and Base, Etherscan API v2, the verified src/App.sol and Solady sources, the reassembled content |
| Standards | Address display format, explorer links on every on-chain reference, table casing, section separators, icon semantics, glossary term wrapping, nav registration | CLAUDE.md, docs/glossary.md, mkdocs.yml |
| Redundancy | Duplicated tables and paragraphs across the six documents, and the same claim stated with different values in two places | The document set itself |
| Voice | Superlatives asserted without a verification clause, opinion adjectives, speculation about intent or users | CLAUDE.md writing standards |
| Filler | Rhetorical padding — meta-narration, telegraphed structure, formulaic emphasis | CLAUDE.md anti-patterns |
Every disagreement the fact pass raised was re-derived from chain or source before any edit was made, on the assumption that the checker is as capable of being wrong as the draft. A claim was only changed where the contradicting value could be reproduced from a command in the Verification Guide above.
Token Cost Breakdown
| PHASE | DESCRIPTION | TOKENS |
|---|---|---|
| Phase 0 | Obtain the Contract | 25 tok |
| Phase 1 | Discovery & Understanding | 20 tok |
| Phase 2 | Deep Dive Analysis | 45 tok |
| Phase 3 | Risk & Trust Analysis | 10 tok |
| Phase 4 | Documentation Generation | 90 tok |
| Phase 5 | Document Verification | 655 tok |
| TOTAL | Complete Contract Analysis | 845 tok |
Phase 5 accounts for most of the total because the fact pass re-ran the on-chain reads on Ethereum and Base, reassembled and compared the served content, and replayed the revert paths rather than reading values from the draft.
Note: Token costs are estimates based on typical conversation lengths and complexity. Actual consumption may vary by ±10-15% depending on API responses, iterative refinement, and verification steps.