Security
What can go wrong, who holds what power, what has been checked, and what has not.
What an attacker would want
Sillu was designed against five aims, written down before any contract code.
- A credential without the work. A chip named as someone else's, a copied design passed off as original, a wrong chip that slips through a sample.
- The float. Sillu pays for the free lessons from a float held in the Fab. Many wallets, huge designs or replayed signatures could try to drain it.
- Our running costs. Requests that make the relay send transactions that fail.
- Learners' wallets, or the site itself.
- Other learners' progress. Starving a grading call of gas so a right chip is failed, or letting a chip's seed block age out.
What stands in the way
Results. Only the Fab can tell the Grader who made a chip, and it writes that once, when the chip is made. The Grader runs the chip on TapeOut itself. Nothing off chain takes part in a result, and no function changes one afterwards.
Copies. A design identical to an earlier one in the same lesson passes, and is marked. See What a credential proves.
Chips inside chips. A chip may reuse only chips its own maker passed a lesson with.
The float. A free chip needs the learner's own signature over the exact design, with a number that can be used once and a deadline. Each wallet gets three free tries per free lesson. A daily cap limits free chips across everyone, and a ceiling limits what one chip may cost in parts. The relay adds its own limits per person, per wallet and per network address before it sends anything.
Gas. Every chip gets the same fixed gas per beat whoever sends the call, and a grading call that cannot provide it stops without writing a result. A stranger cannot fail your chip by under-funding the call.
Money. The Fab keeps income and floats in separate ledgers, and either can leave only to one payout address fixed at deploy.
Who holds power
One operator wallet can add and retire lessons, set prices and the free-lesson limits, name the relay, pause the Fab, and withdraw to the payout address. It cannot change a result, a credential, who made a chip, or any contract's code. The full list is in Contracts and addresses.
The relay's wallet can do one thing: submit a design a learner signed, on a free lesson, within the limits above. Its key exists only in the hosting provider's secret store.
What Sillu depends on and does not control
- TapeOut's contracts. The processor factory can be upgraded by TapeOut's multisig, and two of its implementations have no published source. Tests that run against X Layer pin their behaviour and fail first if it changes.
- X Layer's sequencer produces the block hashes that pick sampled tests. A sequencer that wanted a particular learner to pass a slightly wrong chip could, in principle, choose a block for it.
- The sign-in provider vouches for who a free-path learner is, and provides the wallets of learners who sign in with email or Google.
- Public endpoints. The site reads X Layer through public RPC endpoints. The verify page asks two of them separately and shows whether they agree.
What has been checked, and by whom
- A threat model with a rule for every contract function, each mapped to the code that enforces it
and the test that shows it. It is in the repository at
docs/security/threat-model.md. - Unit, fuzz and invariant tests on a fork of X Layer, including chips built to be as expensive as each lesson's limits allow, and 36 memory chips each broken in one named way.
- Attack tests against the live contracts and the relay on forks, grouped by aim: credentials, denial, the free path, money, the netlist reader, and the wiring between the contracts.
- A review by a reader who had seen none of the build, working only from a written brief. Its one serious finding was the memory-bit replay, fixed by the lesson revision of 23 November 2026.
All of this was commissioned and run by the team that built Sillu. No outside auditor has looked at these contracts. They hold small amounts: a float for free lessons and lesson income.
Known limits
- Sampled lessons can pass a chip with a rare fault. The odds are on the Grading page.
- A credential shows which wallet made a chip, not which person.
- A chip must be graded within 8,191 blocks of being made, or it expires and has to be made again.
- If the free path's float runs out, free lessons stop until it is refilled. Paid lessons do not depend on it for the tape-out fee, only for the small BEM cost of parts.
Reporting a problem
Open an issue in the repository, or write to the team through the X account linked in the footer.