Sample audits · Multi-repository audits

aeyakovenko: tower_sim, turbine, bunker_coin and dts02-6502-signer

Four small repositories of one author, each audited at one commit: two simulations in Rust, the LaTeX source of a paper, and the specification and Python simulation of a 65C02 signing device.

Pages of this audit: Overview · tower_sim (32) · turbine (8) · bunker_coin (4) · dts02-6502-signer (133)

Auditedaeyakovenko/tower_sim at commit b972ccba3f6f2178defe15d826b117f80fcbc09a
aeyakovenko/turbine at commit 40c08faacd29984de3db7701767b85fe19071a10
aeyakovenko/bunker_coin at commit e533ca1e33c18495d5d3268dde798285240b8417
aeyakovenko/dts02-6502-signer at commit a7cbac2ed7093a3cd994c4b7f1109396cd1d2faf
Date15 November 2026; suggested fixes written 16 November 2026
How it ranlocal run on our workstation, full audit, Standard review
Verdict after reviewPass with notes (Fail if a High finding remains after review, otherwise Pass with notes)

The suggested fixes were written by a reviewer after the audit, with the code open. They were not compiled or run.

0
High after review
4
Medium after review
124
Low after review
49
Info after review
3
excluded on review

177 findings after review, in 4 repositories: 32 in tower_sim, 8 in turbine, 4 in bunker_coin, 133 in dts02-6502-signer. Each finding is counted once and shown in full on the page of its repository.

By repository

Each row is one repository's share of the one set of findings counted above; the rows add up to its totals.

RepositoryCommitFindingsHighMediumLowInfoExcluded on review
tower_simb972ccb32012380
turbine40c08fa801430
bunker_coine533ca1400310
dts02-6502-signera7cbac21330294373
All 4 repositories17704124493
How this audit was made

This audit uses a fuller method than our first audit of 4 November 2026 (page removed 9 November 2026): the whole code was read file by file, then checked against our written rules, then against our detection checks. Because the method differs, the totals of the two audits are not comparable. All 4 Medium findings of the audit were checked again by a second reviewer, and so were 7 of its 124 Low findings; the other Low and Info findings are shown as first rated. The code was read at the commit named above; it was not built or run.

How far the reading reached. Each reading reports the line ranges it covered, and a script checks every report against the file:

Compared with the first audit

Same commit as the first audit: on 17 November 2026 the default branch of each repository had no later commit. Each finding of our first audit of 4 November 2026 (page removed 9 November 2026) was checked again against the code; the table of each repository is on its page. This audit uses a fuller method, so the totals of the two audits are not comparable.

Still in the code = the code at the audited commit, the same commit the first audit read, still has the defect. Reported again = this audit lists it under the number shown. Not re-reported = this audit does not list it as a finding of its own. Cannot tell = it could not be decided from the code.

RepositoryFindings in the first auditStill in the codeCannot tellReported againNot re-reported
tower_sim54150
turbine43140
bunker_coin00000
dts02-6502-signer77052

All findings by repository (177)

#RepositoryAfter reviewFinding
6001tower_simMediumType or unit mismatch: The switching proof in Node::vote (optimistic_conf_check) is on the main simulation path of every fork switch, so every run of four_partitions is affected and the fork-switch and liveness results the simulation reports are wrong.
6004tower_simLowComment and code disagree: bank.rs says a higher vote needs 1/2 of the lockout, but primary_threshold_slot passes mult = 1 << 4, i.e. 1/16
6006tower_simLowType or unit mismatch: calc_subcommittee draws SUBCOMMITTEE_SIZE = 200 values with replacement (lines 99-101) into a HashSet.
6007tower_simLowCommittee and block-producer selection use StdRng and DefaultHasher, whose algorithms can change between releases, so results are not reproducible
6008tower_simLowComment and code disagree: The design note defines the committee seed as slow_hash(penultimate snapshot hash, voting epoch number).
6009tower_simLowComment and code disagree: The note says both committees must have 2/3+ votes on the same fork. check_group_oc (bank.rs:88-106) counts only nodes whose latest vote slot is exactly the same slot (front of the tower, or the root).
6010tower_simLowMissing domain check: Forks.roots only grows. It receives every rooted slot, and the line that would prune it (line 142) is commented out. main runs four_partitions for TIME*100_000 = 25,600,000 slots.
6011tower_simLowMissing defensive check: get_incrased_lockouts is a pub fn that unwraps a lookup of the proposed tower's root slot in the receiver's own root and vote set.
6012tower_simLowMissing defensive check: The default for a slot that the receiver does not hold is u64::MAX, so the very next assert (lockout <= e.lockout) fails for any such slot with lockout >= skip_lockout.
6013tower_simLowMissing defensive check: Network::step is a public API. With num_partitions == 0 the loop at line 84 does not run and last.unwrap panics with an unhelpful message.
6014tower_simLowMissing defensive check: Also at line 138. zip silently stops at the shorter of the two slices, and nothing checks that active.len == partitions.len in partition_step, repair_partitions, vote or check_same_partition.
6015tower_simLowMissing defensive check: lib.rs publishes bank, forks and tower as a library.
6016tower_simLowComment and code disagree: in partition_test_1, bp_1a is taken from partitions[3] (the 1_B group, same as bp_1b) and is never used
6017tower_simInfoNaming inconsistency: The function returns true when both a and b lie in any active partition, not when they lie in the same one (lines 111-124).
6018tower_simInfoNaming inconsistency: The function four_partitions (line 83), which main calls, creates three partitions and then repairs down to one.
6019tower_simInfoNaming inconsistency: The public method name has a typo ('incrased').
6020tower_simInfonetwork.rs imports rayon::prelude but never uses it (the only parallel call is commented out at line 141), so the rayon dependency in Cargo.toml is unused
6021tower_simInfomain.rs imports NUM_NODES it never uses, and partition_test_1 and random_partitions are never called (main calls only four_partitions)
6028tower_simInfotower_sim: node ID (usize, bank.rs) and Slot (u64, tower.rs) are plain type aliases, so the compiler cannot catch one passed for the other
6029tower_simInfotower_sim main.rs only prints to standard output and uses no file, process, environment or network writes; keep result files out of the source folder
6030tower_simInfoRuntime and dependency currency: Pins read: edition = "2021" (line 4), rayon = "1.5.3" (caret range), rand = "0.8.3" (caret range), custom profile release-with-debug.
6602tower_simLowgroup_super_root takes a caller-supplied set but sizes its 2/3 index from subcom.primary.len, so secondary_super_root (bank.rs:151-152) is indexed by the primary's size.
6604tower_simLowA general u64 hash helper is declared in subcommittee.rs and taken only by network.rs (use at network.rs:5, call at network.rs:82).
6652tower_simLowPartition-membership range test inlined at three sites with no shared helper.
6653tower_simLowCross-cutting debug logging gate copied at six sites with a magic limit.
6655tower_simLowVote message built inline beside its sender class (Vote::new unused); bypass users 0 / bypass 2.
6656tower_simLowThe node's newest vote is selected at five sites besides the owner Tower::latest_vote.
6657tower_simLowBank, forks, node and subcommittee import each other.
6658tower_simLowPublic members with no caller outside their own class (13 of 64) in the tower_sim lib.
6704tower_simLowA pub function of a manager unit with no caller anywhere.
6706tower_simLowPrivate functions in the entry unit with no caller, kept behind a commented-out call.
6708tower_simLowState-holder structs expose pub fields that other modules read directly instead of through methods (14 members, no external writes found).
6002turbineMediumMissing domain check: main runs turbine_recoverable_duplicate_blocks, and the Monte Carlo statistics it prints are the product of the turbine crate.
6022turbineInfoNaming inconsistency: The literal 200 duplicates L0_SIZE and the array initialiser repeats 10_000 instead of NUM_NODES (lines 50, 153, 280, 376).
6023turbineInfoMissing domain check: main (line 13) runs this loop, which prints cumulative statistics for each of up to 100M blocks.
6031turbineInfoRuntime and dependency currency: Pins read: edition = "2021" (line 4), rand = "0.7.0" and rand_chacha = "0.2.2" (caret ranges).
6601turbineLowNode::check_recovered uses >= RECOVER_SIZE, but the turbine functions repeat the test inline as a strict > on the shred sum, needing one more shred
6701turbineLowPrivate constants (same literal value) re-declared as second private constants in sibling functions instead of one module-level constant.
6702turbineLowThe same invariant (a bad node neither relays nor stores shreds; an empty relay is skipped) is repeated as guards at 18 sites in 4 sibling simulation functions with no shared owner.
6707turbineLowThree simulation functions (about 300 lines) never called, selected only by a commented-out call.
6024bunker_coinLowbunker_coin.tex stops after the abstract: the paper has a title and an abstract but no body, no sections and no references
6025bunker_coinLowbunker_coin.tex abstract calls a recursive Poseidon hash chain both a proof of elapsed time and a verifiable delay function, and defines neither
6026bunker_coinLowComment and code disagree: The abstract states that the recursive Groth16 proof ensures 'integrity and confidentiality'.
6027bunker_coinInfoComment and code disagree: The date is April 1st, which suggests a joke paper, but the abstract is written as a serious protocol description (it also uses straight apostrophes for 'golden ticket' where LaTeX wants a backtick-apostrophe pair, line 13).
5001dts02-6502-signerLowMissing domain check: Check 0 <= addr and addr + len(data) <= 65536 in Machine.load, and raise ValueError.
5005dts02-6502-signerLowMissing domain check: Check after b58decode that --to and --blockhash are exactly 32 bytes, and that --lamports is 0 <= n < 2**64.
5006dts02-6502-signerLowMissing domain check: The signing seed is one unsalted SHA-256 of a text option.
5008dts02-6502-signerLowComment and code disagree: The ZP dict allocates up to SQJ2=$60 (line 47), CPTR=$40 and CRC=$42 sit in the same zero page, and T64 uses $80-$BF (line 49).
5009dts02-6502-signerLowMissing domain check: The wipe clears only $0200-$3FFF. The zero-page scratch ($10-$60, T64 at $80-$BF) and the stack page are left holding the last partial products, and spec.md line 251 names zero page as secret scratch in a live build.
5011dts02-6502-signerLowMissing defensive check: Two rd calls with side effects (the TRACE hash update) sit in one expression, and C leaves their order unspecified.
5012dts02-6502-signerLowComment and code disagree: The file header (line 3) says the emulator mirrors the Python core.
5013dts02-6502-signerInfoComment and code disagree: The FNV-1a trace comment (lines 30-32) sits after the io_writes field, so it reads as describing io_writes.
5014dts02-6502-signerLowMissing defensive check: The uint64 sum wraps for a large max_cycles. ctypes also converts a negative Python int to a huge unsigned value without error (emu.py line 42).
5015dts02-6502-signerLowMissing defensive check: `--freq 0` (a float option, __main__.py line 237) gives a ZeroDivisionError traceback, and a negative value gives a negative period.
5017dts02-6502-signerLowMissing domain check: Code taken from a markdown section is executed.
5019dts02-6502-signerLowWrite outside its own area: Write inventory: roms/ and SHA256SUMS (line 206), wiring/WIRING.md and wiring.csv (cmd_wiring, `--out` default `wiring`), a GTKWave VCD at any path (--vcd), sim/_build/_emu65.so (emu.py), and a temp dir with a key file (solana.py).
5020dts02-6502-signerLowMissing defensive check: A malformed hex or binary literal (`$` or `$GG`, `%2`) raises a bare ValueError instead of AsmError, so the line-number message is lost.
5021dts02-6502-signerInfoMissing defensive check: Memory-layout safety is enforced only by assert statements (here, and emu.py line 44 for the struct size). python -O removes them.
5022dts02-6502-signerInfoFw.setp (signer_harness.py) and Bench.run_to (runner.py) each accept either a name or a raw address in one parameter
5023dts02-6502-signerInfoMissing domain check: Product question (amount, recipient and key against signed bytes): the firmware checks only the envelope magic, profile, length, CRC and that the derived key equals the expected key.
5024dts02-6502-signerInfoMissing domain check: The signing ROM image carries 25 test entry points (t_fe_mul and others, lines 1364-1369).
5025dts02-6502-signerLowMissing defensive check: unittest.main is called before class TestBootRomIdealBus is defined (line 96), so running the file directly never runs that test.
5101dts02-6502-signerMediumBroken or wrong reference: The generator writes a 330 pF oscillator capacitor into the build list (wiring/WIRING.md line 73 and wiring/wiring.csv line 24).
5102dts02-6502-signerLowComment and code disagree: At the LOAD rising edge, width is the time since the last falling edge, which is the LOW time. tCSW is the minimum LOAD HIGH pulse, so check at the falling edge (load == 0) against the time since the rise.
5104dts02-6502-signerLowsim/timing.py says nothing else hard-codes timing, but sim/parts.py hard-codes many delays (display power switch, reset RC, EPROM, MAX7219_T table)
5105dts02-6502-signerLowComment and code disagree: build's docstring in board.py says pull-ups are (net, ohms, pf), but line 62 unpacks four values including level
5106dts02-6502-signerLowComment and code disagree: The connectivity docstring (line 469) says ('drop_wire', net, predicate-text), but the code takes (board, rail), and tests/test_breadboard.py:144 passes ('drop_wire', 'BB3', 'R+').
5107dts02-6502-signerLowMissing domain check: Search: no open in write_docs or vcd.py:16 passes an encoding.
5108dts02-6502-signerLowComment and code disagree: Search: spec.md lines 16 and 727 say rev 0.5 has no per-segment resistors and that the MAX7219 outputs are current sources.
5109dts02-6502-signerLowComment and code disagree: spec.md line 26 says the 60 pF per-line budget was replaced by 320 pF (P_D) and 150 pF (C_D) limits. board.DEFAULT_CAP (board.py:33, 60 and 45 pF) and this report still use 60 pF.
5110dts02-6502-signerLowMissing defensive check: Search: wire_report (line 583) sets phi2_seg only when a single wire joins exactly the U7 pin 2 strip and the U1 pin 37 strip.
5111dts02-6502-signerLowMissing domain check: Search: harness_checks (layout.py:596-644) applies length or capacitance limits only to PHI2 (U7 to U1), P_D and C_D.
5113dts02-6502-signerLowMissing defensive check: Search: m comes from re.search at line 196 and is never tested for None. qty above it returns None on a missing pattern.
5114dts02-6502-signerLowMissing defensive check: run_until(t_end) sets now = t_end whenever the next event lies after t_end, even if t_end < now.
5115dts02-6502-signerLowMissing defensive check: target stays empty if fewer than nth_write mixed-data writes occur within the 400,000-cycle window (line 45).
5116dts02-6502-signerLowMissing defensive check: press_keypad silently ignores a label that is not on the keypad, so a typo presses nothing and the test then observes 'no key'.
5117dts02-6502-signerInfoMissing domain check: After 10,000 violations further ones are dropped with no flag.
5118dts02-6502-signerInfoMissing defensive check: An assert used as input validation is removed under python -O, and a short ROM image would then fail later with IndexError.
5119dts02-6502-signerInfosim/layout.py needs a recent Python (math.dist) and README.md states 3.9 or later; confirm that Python release line is still supported
5120dts02-6502-signerInfoIdentifier spaces not kept apart: The third field of a hole is a row number for breadboard holes and a net name for panel pads.
5121dts02-6502-signerInfoIdentifier spaces not kept apart: The (part name, pin) key space is shared by real IC refs, layout items and behavioural sim parts (U42, OSC, KEYSW_*, QSW, RSER and digit names).
5122dts02-6502-signerInfoWrite outside its own area: write_docs overwrites wiring/wiring.csv and wiring/WIRING.md in place with no prior-value capture. vcd.py:16 opens a caller path with no close on error.
5123dts02-6502-signerInfoNaming inconsistency: vcc_pins is computed and never used. checks.py:160 has a dead 'j = 0'. parts.py defines HC595 (line 401), which board.py no longer instantiates.
5124dts02-6502-signerInfoType or unit mismatch: timing.py:13 gives the same part (HC14) tpd (4, 31).
5125dts02-6502-signerInfoMissing domain check: With CLR and PRE both low, Q and /Q are both high.
5201dts02-6502-signerLowBroken or wrong reference: Section 7.1 lists U8 pin 9 as grounded, but Section 8 (line 673) wires U8 pin 9 to DISPLAY_OE_N, with output pin 8 as DISPLAY_ON. sim/board.py line 139 also uses pin 9 as DISPLAY_OE_N.
5202dts02-6502-signerLowComment and code disagree: Revision 0.5 removed the DIP switch (lines 18 and 592) in favour of the 4x4 keypad.
5203dts02-6502-signerLowComment and code disagree: The 120 mA figure is the revision 0.4 nominal panel current (sim/analog.py display_current panel_nom_ma=120).
5204dts02-6502-signerInfoComment and code disagree: The same README (line 32), spec.md lines 10 and 1198, and FINDINGS.md line 149 describe sim/signer_fw.py, a working Ed25519 signer.
5205dts02-6502-signerLowComment and code disagree: README line 3 and spec.md line 5 say revision 0.5.
5207dts02-6502-signerLowComment and code disagree: The 'Confirmed correct' table is the revision 0.4 text.
5208dts02-6502-signerLowComment and code disagree: The spec (lines 354 and 597, 11.1 step 5) and tests/test_bus.py (lines 93-94, which assert 1.9-2.1 periods) say two master periods.
5210dts02-6502-signerLowComment and code disagree: The 'dominant costs' list uses first-version numbers.
5212dts02-6502-signerLowComment and code disagree: FINDINGS.md numbers the oscillator finding F2; F3 is the P_D capacitance budget.
5213dts02-6502-signerLowComment and code disagree: 127-890 kHz is the revision 0.3 spread for 330 pF (FINDINGS F2).
5214dts02-6502-signerLowComment and code disagree: The test is named test_power_numbers_in_spec but pins the pre-F7 numbers (0.30 A assumed in analog.power, 2.2 W, 45 °C). spec.md line 289 says 2.5 W and about 51 °C at 0.34 A.
5215dts02-6502-signerLowMissing domain check: The 'secrets wiped' check covers $0200-$3FFF only; the same range is checked at line 237.
5216dts02-6502-signerLowMissing test: test_fail_closed covers only profile 1, with no unknown-profile, extra-byte or truncated-envelope case the spec requires rejecting
5217dts02-6502-signerLowComment and code disagree: Spec 11.2 item 5 and 6.5 (lines 490-491, 1063) require a C_D gap of at least two master periods.
5218dts02-6502-signerInfoComment and code disagree: spec.md line 497 and FINDINGS F3 (line 54) claim unmapped reads return $FF 'up to roughly 1,000 pF' at 380 kHz.
5219dts02-6502-signerInfoMissing defensive check: max of an empty sequence raises ValueError when an overlap interval starts before the first recorded PHI2 fall.
5220dts02-6502-signerInfoCredentials location: The same seed text is repeated in tests/test_io_hygiene.py line 14 and as the --seed-text default in sim/__main__.py line 220.
5222dts02-6502-signerLowComment and code disagree: README says both CPUs pass the Klaus tests, but a clean checkout skips them until fetch_klaus.sh is run
5223dts02-6502-signerInfoREADME commands overwrite wiring/WIRING.md and wiring.csv and create roms/, sim/_build and third_party without saying so or how to undo
5225dts02-6502-signerInfoNaming inconsistency: Spec 4.1 defines '_N means active low', yet inverted nets also appear as an 'n' prefix (nRWB, nA15) and a '/' prefix (/Q_A, /Q_C).
5226dts02-6502-signerInfospec.md names the same decoder nets both Y3_N/Y4_N and PORT3_N/PORT4_N, and the alias is stated only at the end (line 905)
5227dts02-6502-signerInfoComment and code disagree: The module docstring and test name say firmware stores only to the canonical ports $7F02-$7F04, and spec 4.3 marks $7F05-$7F07 reserved.
5228dts02-6502-signerInfoMissing domain check: The constant-time claim (spec 10.2 and FINDINGS line 117) rests on two pseudo-random seeds, a single message, and only the derive and sign routines.
5301dts02-6502-signerLowA file over 1000 lines mandates extraction of its state ownership clusters.
5302dts02-6502-signerLowDead code that implies a design that does not exist; a limit has two write paths instead of one setter.
5303dts02-6502-signerLowShared mutable state in a module-level (static) object couples the generator, the harness and the tests.
5342dts02-6502-signerLowDead code that implies a design that does not exist.
5343dts02-6502-signerLowDead generated code with a stale comment.
5344dts02-6502-signerLowCross-file duplication of one conceptual implementation (N=3 copies of the shift-table build and masked row multiply).
5346dts02-6502-signerInfo500-800 line file with two or more identifiable clusters (note, plan extraction).
5381dts02-6502-signerLowLazily initialised global opcode table, no synchronisation.
5382dts02-6502-signerLowA fetched third-party artifact carries no pin, hash or no-check marker.
5384dts02-6502-signerLowEquivalence claim between the Python core and the C emulator is verified on a narrower unit than stated.
5385dts02-6502-signerInfoFile of 500-800 lines with two identifiable state ownership clusters: note and plan extraction.
5421dts02-6502-signerLowERC cannot fail on a part whose supply pin is unconnected.
5422dts02-6502-signerLowHandoff gap measurements pass vacuously when no gaps or intervals are found.
5423dts02-6502-signerLowThe 'deterministic worst-case' corner leaves other delays in the race path random.
5424dts02-6502-signerLowCorner delay overrides are never checked to take effect and are dead in the rev 0.4 build.
5425dts02-6502-signerLowSRAM model releases its outputs on unknown CE/OE/WE while the EPROM model drives on unknown enables, so the contention check is asymmetric.
5426dts02-6502-signerLowAnalog interface check computes a forced-beta figure but never compares it to a device limit.
5427dts02-6502-signerInfoSC56Digit.lit reads segment nets that nothing in the model drives, so it always reports a dark digit.
5462dts02-6502-signerLowDerived data (committed WIRING.md and wiring.csv) shows its verification verdict as live, with no freshness gate.
5463dts02-6502-signerLowThe same limit constants are written out separately in the checks and in the generated report text.
5464dts02-6502-signerInfolayout.py is 742 lines and holds several separable clusters (hole allocation, generation, connectivity and netlist, harness checks, document writer).
5504dts02-6502-signerLowSection 6.3 says U4 stays on for one remaining master period, Section 5.5 and the 6.5 table imply two.
5505dts02-6502-signerLowStaged bring-up step 3 omits U18, the only source of RD_WIN_N, so its own checks cannot pass at that stage.
5506dts02-6502-signerLowREADME.md requires Python 3.9 or later; confirm that release line is still supported and raise the minimum if it is not
5508dts02-6502-signerInfoThe spec has no worked example of one complete signing session, from envelope entry through review pages to approval.
5541dts02-6502-signerLowA verification claim names the unit it ran on; FINDINGS F10 cites a test that does not exist.
5542dts02-6502-signerLowStale figure stated as current in the findings log (contradicts the signing-firmware section).
5544dts02-6502-signerLowOptions list in F11 offers work already done; cycle figures disagree within the finding.
5545dts02-6502-signerLowThe verdict word is wider than the test behind it (constant-time claim rests on two seeds).
5547dts02-6502-signerLowScenario sweep passes without proving the scenario ran to completion.
5548dts02-6502-signerLowFINDINGS claims the bus-handoff results hold across Monte Carlo corners; the test measures one seed at one clock.
5549dts02-6502-signerLowA claim of 'every exit path' is tested on two paths.
5601dts02-6502-signerLowFirmware/host protocol constants (result record, envelope, sim mailbox, CRC-32) are re-declared on each side with no single owner.
5602dts02-6502-signerLowOne default (master clock 380 kHz) carried in two files plus the CLI default.
5603dts02-6502-signerLowHelper called from a source constant and from operator input, no precondition stated or checked at the helper.
5604dts02-6502-signerLowRelease producer cmd_roms writes ROM images and SHA256SUMS with no content gate and no read-back of the written files.
5605dts02-6502-signerLowComment asserts a quantity ('once') that the code does not enforce: KSTAB is an 8-bit counter incremented on every identical scan, so a held key is accepted again after 256 more scans.
5606dts02-6502-signerInfoSticky diagnostic flags: W65C02S.halted is never cleared on reset and Core.stopped is never read.
5651dts02-6502-signerMediumCLI option accepted but discarded by subcommand (control exposure is not control arming).
5652dts02-6502-signerLowSame logic in two implementations diverged (two MAX7219 models).
5654dts02-6502-signerLowShared struct declared twice checked by size only: The Python ctypes `M` (emu.py:13-28) and the C `typedef struct {...} M` (emu65.c:15-33) are one record declared in two languages.
5655dts02-6502-signerLowSimulation mailbox built inline beside its sender class.
5656dts02-6502-signerLowDisplay model flag priority wrong (MAX7219 shutdown vs display-test).
5657dts02-6502-signerLowShared helper written twice (.byte directive emitter).
5701dts02-6502-signerLowSkip if unchanged key must cover every input of the skipped work (shared-library rebuild keyed on source mtime only).
5702dts02-6502-signerLowSkip if unchanged key must cover every input of the skipped work (EPROM read-path signature collapses unknown enable into enabled).
5703dts02-6502-signerLowSole selector keyed on insertion order (negative list index) answers a domain question that a keyed lookup could answer.
5704dts02-6502-signerLowKey string in 2+ files (net, part and event names written as literals in many sim modules, no names module).
5706dts02-6502-signerLowEd25519 group and field arithmetic and SHA-512 implemented in project source instead of a proven library.
5707dts02-6502-signerInfoSame-layer edge read (opcode table owned by the CPU simulation module).
5708dts02-6502-signerLowCompensating control disarmed by a switch whose disarmed answer is indistinguishable from the healthy answer.
5709dts02-6502-signerLowCompensating control (spec RAM zeroisation $0000-$3FFF) weakened by a parameter default.
5751dts02-6502-signerLowFINDINGS.md still states old build counts (669 wires, 43 DIPs) where the generated list now gives 439 wires and 28 DIPs
5752dts02-6502-signerLowMachine.display_masks in emu.py has no caller, and FINDINGS.md claims it matches the gate-level display but no test compares them
5753dts02-6502-signerLowClass members with a public name that no code outside their own class calls (Core helpers rd/wr/nz/fetch/abs_/push/pull/ea/compare/adc/sbc/shift/branch_to/implied; asm.py class atom/try_eval/mode; Layout.landing; Net.tau_ns).
5754dts02-6502-signerLowThe memory read-path logic (enable-edge timestamps, signature memo, changed-address detection) is copied between the SRAM and EPROM models and the two copies already differ on unknown enables.
5755dts02-6502-signerLowThe VCD file handle is acquired in _bench_kw for every sub-command that takes --vcd, but only run and diag close it; handoff opens and never closes it, and race accepts --vcd / --freq / --rev03 and ignores all three.
5756dts02-6502-signerLowCore.stopped is never read, and STP/WAI raise UnknownOpcode (a cpu-halt violation) while emu65.c treats STP as a clean halt
5757dts02-6502-signerLowsolana.py's openssl_sign / openssl_verify call `openssl pkeyutl ... -rawin`, but README.md names the openssl CLI as a prerequisite with no version, while FINDINGS.md:153 says OpenSSL 3.0.
5758dts02-6502-signerLowThe key the firmware pins its derived public key against comes from the unauthenticated host envelope, although spec.md §10.3 says the independently configured expected key takes precedence; the check only catches a mistyped seed.
5802dts02-6502-signerInfoState edited outside its owner: engine Net/Simulator fields written by consumers.
5803dts02-6502-signerInfoState edited outside its owner: private and part-internal state of simulation parts written from consumer modules.
5804dts02-6502-signerInfoState edited outside its owner: Layout fields written by the module function generate, bypassing the class.
5805dts02-6502-signerInfoState is accessed through methods, never directly (Bench exposes sim/cpu/ram/h/edge_log).
5806dts02-6502-signerLowNew data containers include validation (simulation-model constructors accept invalid values).
5808dts02-6502-signerInfoThe VCD handle is released by 2 of the 3 commands that open it, on the success path only.
5809dts02-6502-signerInfoShared Part.out dedupe filter has no per-consumer parameter; consumers defeat it through the private _out dict.
5810dts02-6502-signerLowBuild options verified at 2 of 4 subsets.
5852dts02-6502-signerInfoUnused named constant beside the same value hard-coded in the assembly text.

Findings excluded on review are listed with their reasons on the page of their repository: dts02-6502-signer (3).

Want this for your code?

Upload a ZIP or link a public GitHub repo, pick the areas and the depth, and get findings by severity with fixes.