Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
This report presents the forensic synthetic code analysis of foundry-rs/foundry, a Rust project with 10,487 GitHub stars. SynthScan v2.0 examined 437,481 lines of code across 1041 source files, recording 930 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 930 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 541 | idna_adapter = "=1.1.0" | COMMENT |
| LOW | Cargo.toml | 561 | # alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "395521c" } | COMMENT |
| LOW | Cargo.toml | 581 | # alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "395521c" } | COMMENT |
| LOW | deny.toml | 21 | # This section is considered when running `cargo deny check bans`. | COMMENT |
| LOW | crates/test-utils/src/util.rs | 41 | /// | COMMENT |
| LOW | crates/test-utils/src/prj.rs | 101 | fn from(id: T) -> Self { | COMMENT |
| LOW | crates/lint/src/linter/early.rs | 41 | fn check_path(&mut self, _ctx: &LintContext, _path: &'ast ast::PathSlice) {} | COMMENT |
| LOW | crates/lint/src/sol/macros.rs | 1 | /// Macro for defining lints and relevant metadata for the Solidity linter. | COMMENT |
| LOW | crates/lint/src/sol/macros.rs | 21 | pub static $id: SolLint = SolLint { | COMMENT |
| LOW | crates/lint/src/sol/high/arbitrary_send_erc20.rs | 141 | gcx: Gcx<'hir>, | COMMENT |
| LOW | crates/lint/src/sol/analysis/mod.rs | 1 | //! Shared analysis primitives reused by Solidity lints. | COMMENT |
| LOW | crates/lint/src/sol/med/dangerous_unary_operator.rs | 21 | // RHS is a `Binary` (or `Ternary`) with the `-a` unary as its leftmost operand. Follow the | COMMENT |
| LOW | crates/verify/src/verify.rs | 361 | COMMENT | |
| LOW | crates/verify/src/verify.rs | 381 | /// the browser. | COMMENT |
| LOW | crates/verify/src/verify.rs | 401 | )] | COMMENT |
| LOW | crates/verify/src/etherscan/flatten.rs | 61 | /// provided compiler. If the compiler is missing it will be installed. | COMMENT |
| LOW | crates/config/src/coverage.rs | 21 | Attribution, | COMMENT |
| LOW | crates/config/src/coverage.rs | 41 | COMMENT | |
| LOW | crates/config/src/coverage.rs | 61 | /// Glob patterns of source files to exclude from the coverage report. | COMMENT |
| LOW | crates/config/src/fee.rs | 1 | //! EIP-1559 fee estimation configuration. | COMMENT |
| LOW | crates/config/src/symbolic.rs | 41 | /// Whether fuzz branch frontiers should guide targeted symbolic fuzz-test seeding. | COMMENT |
| LOW | crates/config/src/symbolic.rs | 61 | pub solver_portfolio: Vec<String>, | COMMENT |
| LOW | crates/config/src/symbolic.rs | 81 | #[serde(default)] | COMMENT |
| LOW | crates/config/src/vyper.rs | 21 | #[serde(default, skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | crates/config/src/extend.rs | 1 | use std::collections::HashMap; | COMMENT |
| LOW | crates/config/src/mutation.rs | 41 | } | COMMENT |
| LOW | crates/config/src/mutation.rs | 61 | /// mutation worker count. | COMMENT |
| LOW | crates/config/src/error.rs | 101 | COMMENT | |
| LOW | crates/config/src/fs_permissions.rs | 41 | } | COMMENT |
| LOW | crates/config/src/lib.rs | 141 | pub use compilation::{CompilationRestrictions, SettingsOverrides}; | COMMENT |
| LOW | crates/config/src/lib.rs | 161 | /// | COMMENT |
| LOW | crates/config/src/lib.rs | 181 | pub struct Config { | COMMENT |
| LOW | crates/config/src/lib.rs | 201 | pub root: PathBuf, | COMMENT |
| LOW | crates/config/src/lib.rs | 261 | /// The Solc instance to use if any. | COMMENT |
| LOW | crates/config/src/lib.rs | 281 | /// Whether to activate optimizer | COMMENT |
| LOW | crates/config/src/lib.rs | 301 | pub verbosity: u8, | COMMENT |
| LOW | crates/config/src/lib.rs | 321 | /// You can also the ETH_RPC_HEADERS env variable like so: | COMMENT |
| LOW | crates/config/src/lib.rs | 341 | #[serde(default, skip_serializing)] | COMMENT |
| LOW | crates/config/src/lib.rs | 361 | /// Only show coverage for files that do not match the specified regex pattern. | COMMENT |
| LOW | crates/config/src/lib.rs | 381 | pub mutation: MutationConfig, | COMMENT |
| LOW | crates/config/src/lib.rs | 401 | /// the initial balance of each deployed test contract | COMMENT |
| LOW | crates/config/src/lib.rs | 441 | /// | COMMENT |
| LOW | crates/config/src/lib.rs | 461 | pub extra_output: Vec<ContractOutputSelection>, | COMMENT |
| LOW | crates/config/src/lib.rs | 481 | /// Whether to turn on SSA CFG-based code generation via the IR. | COMMENT |
| LOW | crates/config/src/lib.rs | 501 | #[serde(default, skip_serializing_if = "RpcEndpoints::is_empty")] | COMMENT |
| LOW | crates/config/src/lib.rs | 521 | /// included in solc's output selection, see also [`OutputSelection`]. | COMMENT |
| LOW | crates/config/src/lib.rs | 601 | /// Restrictions on compilation of certain files. | COMMENT |
| LOW | crates/config/src/lib.rs | 801 | } | COMMENT |
| LOW | crates/config/src/lib.rs | 821 | /// use foundry_config::Config; | COMMENT |
| LOW | crates/config/src/lib.rs | 1061 | self.canonic_at(root) | COMMENT |
| LOW | crates/config/src/lib.rs | 1221 | /// | COMMENT |
| LOW | crates/config/src/lib.rs | 1501 | /// **NOTE**: this uses the paths as they are and does __not__ modify them, see | COMMENT |
| LOW | crates/config/src/lib.rs | 1581 | /// | COMMENT |
| LOW | crates/config/src/lib.rs | 1601 | /// # Example | COMMENT |
| LOW | crates/config/src/lib.rs | 1621 | /// # Returns | COMMENT |
| LOW | crates/config/src/lib.rs | 1701 | /// let rpc_url = config.get_rpc_url_or("http://localhost:8545").unwrap(); | COMMENT |
| LOW | crates/config/src/lib.rs | 1721 | /// ``` | COMMENT |
| LOW | crates/config/src/lib.rs | 1961 | }) | COMMENT |
| LOW | crates/config/src/lib.rs | 1981 | /// | COMMENT |
| LOW | crates/config/src/lib.rs | 2121 | }) | COMMENT |
| 540 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …9d27527Ada2CF29fBDAB2973cfa243845a08Bd3F/metadata.json | 13 | "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.9;\n\nimport \"@openzeppelin/contracts/utils/ | CODE |
| LOW | …9d27527Ada2CF29fBDAB2973cfa243845a08Bd3F/metadata.json | 43 | "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.9;\n\nimport \"./BleepsRoles.sol\";\nimport \ | CODE |
| LOW | …Db53f47aC61FE54F456A4eb3E09832D08Dd7BEec/metadata.json | 1 | [{"SourceCode":{"language":"Solidity","sources":{"@solidstate/contracts/token/ERC1155/base/ERC1155Base.sol":{"content":" | CODE |
| LOW | …3a23F943181408EAC424116Af7b7790c94Cb97a5/metadata.json | 1 | [{"SourceCode":{"language":"Solidity","sources":{"src/bridges/hop/interfaces/amm.sol":{"content":"// SPDX-License-Identi | CODE |
| LOW | …9AB6b21cDF116f611110b048987E58894786C244/metadata.json | 1 | [{"SourceCode":{"language":"Solidity","sources":{"contracts/InterestRates/InterestRatePositionManager.f.sol":{"content": | CODE |
| LOW | …71356E37e0368Bd10bFDbF41dC052fE5FA24cD05/metadata.json | 1 | [{"SourceCode":{"language":"Solidity","sources":{"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX | CODE |
| LOW | …35Fb958109b70799a8f9Bc2a8b1Ee4cC62034193/metadata.json | 1 | [{"SourceCode":"/**\r\n *Submitted for verification at Etherscan.io on 2022-02-19\r\n*/\r\n\r\n/**\r\n *Submitted for ve | CODE |
| LOW | …044b75f554b886A065b9567891e45c79542d7357/metadata.json | 1 | [{"SourceCode":{"language":"Solidity","sources":{"contracts/InputStream.sol":{"content":"// SPDX-License-Identifier: UNL | CODE |
| LOW | crates/cast/tests/cli/main.rs | 4180 | function updateCounterInExternalLib(CounterInExternalLib.Info storage counterInfo, uint256 counter) public { | CODE |
| LOW | crates/forge/tests/cli/coverage.rs | 1013 | function testTypeConversionCoverage() external { | CODE |
| LOW | crates/forge/tests/cli/inline_config.rs | 388 | function testInlineIsolateCanCreateFile() public { | CODE |
| LOW | crates/forge/tests/cli/config.rs | 1849 | function testSnapshotGasSectionExternal() public {{ | CODE |
| LOW | crates/forge/tests/cli/failure_assertions.rs | 421 | function testDSTestFailingAssertions() public { | CODE |
| LOW | crates/forge/tests/cli/failure_assertions.rs | 470 | function testShouldBeMarkedAsFailedBecauseOfSetup() public { | CODE |
| LOW | crates/forge/tests/cli/failure_assertions.rs | 501 | function testFailShouldBeMarkedAsFailedBecauseOfAfterInvariant() | CODE |
| LOW | crates/forge/tests/cli/failure_assertions.rs | 536 | function testFailShouldBeMarkedAsFailedBecauseOfSetup() public { | CODE |
| LOW | crates/forge/tests/cli/failure_assertions.rs | 565 | function emitAnonymousEventNonIndexed(uint256 a) external { | CODE |
| LOW | crates/forge/tests/cli/failure_assertions.rs | 580 | function testShouldFailEmitDifferentEventNonIndexed() public { | CODE |
| LOW | crates/forge/tests/cli/json.rs | 25 | function testJsonParseAndSerialize() public { | CODE |
| LOW | crates/forge/tests/cli/lint.rs | 25 | function divideBeforeMultiplyMedium() public { | CODE |
| LOW | crates/forge/tests/cli/lint.rs | 778 | 15 | function divideBeforeMultiplyMedium() public { | CODE |
| LOW | crates/forge/tests/cli/lint.rs | 865 | 15 | function divideBeforeMultiplyMedium() public { | CODE |
| LOW | crates/forge/tests/cli/lint.rs | 929 | 15 | function divideBeforeMultiplyMedium() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/bind_json.rs | 90 | function deserializeTopLevelStruct(string memory json) public pure returns (TopLevelStruct memory) { | CODE |
| LOW⚡ | crates/forge/tests/cli/bind_json.rs | 94 | function deserializeTopLevelStruct(string memory json, string memory path) public pure returns (TopLevelStruct memor | CODE |
| LOW⚡ | crates/forge/tests/cli/bind_json.rs | 98 | function deserializeTopLevelStructArray(string memory json, string memory path) public pure returns (TopLevelStruct[ | CODE |
| LOW⚡ | crates/forge/tests/cli/bind_json.rs | 110 | function deserializeContractLevelStruct(string memory json) public pure returns (BindJsonTest.ContractLevelStruct me | CODE |
| LOW⚡ | crates/forge/tests/cli/bind_json.rs | 114 | function deserializeContractLevelStruct(string memory json, string memory path) public pure returns (BindJsonTest.Co | CODE |
| LOW⚡ | crates/forge/tests/cli/bind_json.rs | 118 | function deserializeContractLevelStructArray(string memory json, string memory path) public pure returns (BindJsonTe | CODE |
| LOW | crates/forge/tests/cli/precompiles.rs | 314 | function expectKeychainAdminVerified(address account, bytes32 digest, bytes calldata signature) external; | CODE |
| LOW | crates/forge/tests/cli/test_cmd/core.rs | 55 | function testMultipleAssertFailures() public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 19 | function checkSymbolicCalldataLoad(uint16 offset, uint256 marker) public pure { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 63 | function checkSymbolicCalldataCopy(uint16 offset, uint256 marker) public pure { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 108 | function checkSymbolicCalldataCopyDest(uint16 dest, uint256 marker) public pure { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 150 | function checkSymbolicCalldataCopySize(uint8 n) public pure { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 198 | function checkCalldataCopyDestAndSize(uint8 rawDest, uint8 rawSize, bytes32 marker) public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 257 | function checkSymbolicCallInputOffset(uint16 offset, uint256 marker) public view { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 317 | function checkSymbolicCallOutputSize(uint8 rawSize) public view { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 380 | function checkSymbolicCallInputSize(uint8 rawSize, uint256 marker) public view { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 1272 | function checkSymbolicValueTransfer(uint256 amount) public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 1329 | function checkSymbolicInsufficientValue(uint256 amount) public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_calls.rs | 1384 | function checkSymbolicCallcodeValue(uint256 amount) public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic.rs | 144 | function checkEnabledByContractConfig(uint256 x) public pure { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/symbolic.rs | 4265 | function checkConstrainedStorageKeyUsesConcreteSlot(uint256 key) public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/symbolic.rs | 4271 | function checkRandomUintRejectsOversizedBits() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/symbolic.rs | 4275 | function checkCreateUintRejectsOversizedBits() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/symbolic.rs | 4279 | function checkCreateIntRejectsOversizedBits() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/symbolic.rs | 4283 | function checkPrankDelegatecallReportsUnsupported() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/repros.rs | 816 | function testExpectEmitPreservesRevertWhenCallRevertsBeforeLog() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/repros.rs | 823 | function testExpectEmitPreservesRevertReason() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/repros.rs | 830 | function testExpectEmitPreservesCustomError() public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/symbolic_storage.rs | 398 | function checkNativeGenericStorage(address owner) public view { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/trace.rs | 43 | function testTraceWithConflictingSignatures() public { | CODE |
| LOW | crates/forge/tests/cli/test_cmd/trace.rs | 133 | function testStructTracesUseContractAbi() public view { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/mod.rs | 1005 | function testHistoryContractDeployed() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/mod.rs | 1009 | function testInitialHistoryWindowSeeded() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/mod.rs | 1018 | function testRollStoresParentBlockHash() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/mod.rs | 1119 | function testRollDoesNotPopulateReplacedHistoryContract() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/mod.rs | 1128 | function testRollDoesNotExposeSeededHistorySlotAfterEtch() public { | CODE |
| LOW⚡ | crates/forge/tests/cli/test_cmd/mod.rs | 1137 | function testSetBlockhashDoesNotPopulateReplacedHistoryContract() public { | CODE |
| 158 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | crates/verify/src/etherscan/flatten.rs | 27 | let metadata = context.project.settings.solc.metadata.as_ref(); | CODE |
| CRITICAL | crates/cast/src/cmd/wallet/mod.rs | 1258 | assert_eq!(args.send_tx.eth.etherscan.chain.map(|chain| chain.id()), Some(4217)); | CODE |
| CRITICAL | crates/cast/src/cmd/wallet/mod.rs | 1268 | args.send_tx.eth.wallet.raw.private_key.as_deref(), | CODE |
| CRITICAL | crates/forge/src/runner.rs | 703 | self.mcr.tcfg.multi_network.pass_network.as_ref(), | CODE |
| CRITICAL | crates/forge/src/runner.rs | 1115 | if !self.mcr.tcfg.multi_network.all_override_networks.is_empty() { | CODE |
| CRITICAL | crates/forge/src/runner.rs | 2006 | if (self.cr.mcr.tcfg.showmap.is_some() || self.cr.mcr.tcfg.fuzz_only) | CODE |
| CRITICAL | crates/forge/src/runner.rs | 2014 | if let Some(showmap) = self.cr.mcr.tcfg.showmap.as_ref() { | CODE |
| CRITICAL | crates/forge/src/runner.rs | 3475 | if let Some(showmap) = self.cr.mcr.tcfg.showmap.clone() { | CODE |
| CRITICAL | crates/forge/src/runner.rs | 3610 | if let Some(minimize) = self.cr.mcr.tcfg.fuzz_minimize.as_ref() { | CODE |
| CRITICAL | crates/forge/src/runner.rs | 4729 | if let Some(showmap) = self.cr.mcr.tcfg.showmap.clone() { | CODE |
| CRITICAL | crates/forge/src/runner.rs | 4757 | if let Some(minimize) = self.cr.mcr.tcfg.fuzz_minimize.as_ref() { | CODE |
| CRITICAL | crates/evm/core/src/evm/eth.rs | 98 | Ok(ResultAndState::new(result, self.ctx.journaled_state.inner.state.clone())) | CODE |
| CRITICAL | crates/evm/core/src/evm/tempo.rs | 185 | Ok(ResultAndState::new(result, self.ctx.journaled_state.inner.state.clone())) | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 718 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 845 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 860 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 921 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 1208 | let status = res.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 1336 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/fork.rs | 1351 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/traces.rs | 1049 | let status = tx.inner.inner.inner.receipt.status.coerce_status(); | CODE |
| CRITICAL | crates/anvil/tests/it/logs.rs | 135 | .flat_map(|receipt| receipt.unwrap().inner.inner.inner.receipt.logs.clone()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/doc/src/render.rs | 27 | // ── public entry point ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 162 | // ── rendering context ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 183 | // ── contract ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 455 | // ── free functions ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 478 | // ── constants ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 505 | // ── standalone items ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 616 | // ── function section ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 754 | // ── natspec comment collection ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/render.rs | 944 | // ── markdown output helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 86 | // ── vocs.config.ts ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 265 | // ── homepage ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 301 | // ── homepage link rewriting ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 527 | // ── package.json ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 546 | // ── helpers ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/hir_ext.rs | 25 | // ── name-to-page map ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/hir_ext.rs | 211 | // ── inheritance links ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/hir_ext.rs | 251 | // ── inheritdoc resolution ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/hir_ext.rs | 643 | // ── inline link replacement ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/hir_ext.rs | 896 | // ── path helpers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/utils.rs | 15 | // ── git source ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/doc/src/utils.rs | 41 | // ── deployments ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/cheatcodes/src/test/expect.rs | 107 | /// ┌───────┬───────┬───────┬───────┬────┐ | COMMENT |
| MEDIUM | crates/cheatcodes/src/test/expect.rs | 109 | /// └───────┴───────┴───────┴───────┴────┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1450 | // Step 4: local signing readiness. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1458 | // Step 5: on-chain key state. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1507 | // Step 7: expiry. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1515 | // Step 8: hardfork detection (used for limits and allowed-calls checks). | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1519 | // Step 9: spending limits. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1524 | // Step 10: allowed calls (TIP-1011, T3+ only). | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1358 | // Step 1: local registry lookup. | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1370 | // Step 2: RPC reachability. | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1420 | // Step 3: chain-id match + final entry selection. | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1495 | // Step 6: revoked? | COMMENT |
| LOW | crates/forge/src/cmd/bind_json.rs | 54 | // Step 1: Read and preprocess sources | COMMENT |
| LOW⚡ | crates/forge/src/cmd/bind_json.rs | 73 | // Step 2: Preprocess sources to handle potentially invalid bindings | COMMENT |
| LOW⚡ | crates/forge/src/cmd/bind_json.rs | 79 | // Step 3: Find structs and generate bindings | COMMENT |
| LOW⚡ | crates/forge/src/cmd/bind_json.rs | 83 | // Step 4: Write bindings | COMMENT |
| LOW | crates/evm/core/src/backend/mod.rs | 886 | // here's an edge case where we need to check if this account has been created, in | COMMENT |
| LOW | crates/cheatcodes/src/inspector.rs | 1920 | // we need to check if we've found all the emits. | COMMENT |
| LOW | crates/cheatcodes/src/test/revert_handlers.rs | 200 | // we need to check if it matches our criteria | COMMENT |
| LOW | crates/cheatcodes/src/test/revert_handlers.rs | 206 | // We need to check if this revert matches our expected criteria | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 580 | # Step 1: Get the fee_payer_signature_hash using --tempo.print-sponsor-hash | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 581 | # Step 2: Sign it with the sponsor's private key | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 582 | # Step 3: Send with --tempo.sponsor and --tempo.sponsor-signature | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 584 | # Step 1: Get the hash that the sponsor needs to sign | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 590 | # Step 2: Sponsor signs the hash | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 594 | # Step 3: Send the sponsored transaction with the signature | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1450 | // Step 4: local signing readiness. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1458 | // Step 5: on-chain key state. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1507 | // Step 7: expiry. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1515 | // Step 8: hardfork detection (used for limits and allowed-calls checks). | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1519 | // Step 9: spending limits. | COMMENT |
| LOW⚡ | crates/cast/src/cmd/keychain.rs | 1524 | // Step 10: allowed calls (TIP-1011, T3+ only). | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1358 | // Step 1: local registry lookup. | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1370 | // Step 2: RPC reachability. | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1420 | // Step 3: chain-id match + final entry selection. | COMMENT |
| LOW | crates/cast/src/cmd/keychain.rs | 1495 | // Step 6: revoked? | COMMENT |
| LOW | crates/forge/src/cmd/bind_json.rs | 54 | // Step 1: Read and preprocess sources | COMMENT |
| LOW⚡ | crates/forge/src/cmd/bind_json.rs | 73 | // Step 2: Preprocess sources to handle potentially invalid bindings | COMMENT |
| LOW⚡ | crates/forge/src/cmd/bind_json.rs | 79 | // Step 3: Find structs and generate bindings | COMMENT |
| LOW⚡ | crates/forge/src/cmd/bind_json.rs | 83 | // Step 4: Write bindings | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 580 | # Step 1: Get the fee_payer_signature_hash using --tempo.print-sponsor-hash | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 581 | # Step 2: Sign it with the sponsor's private key | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 582 | # Step 3: Send with --tempo.sponsor and --tempo.sponsor-signature | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 584 | # Step 1: Get the hash that the sponsor needs to sign | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 590 | # Step 2: Sponsor signs the hash | COMMENT |
| LOW⚡ | .github/scripts/tempo-check.sh | 594 | # Step 3: Send the sponsored transaction with the signature | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release.yml | 105 | # Create the GitHub release as a draft up-front so that all matrix jobs | COMMENT |
| MEDIUM | .github/scripts/combine-benchmarks.sh | 12 | # Define the benchmark files and their section names | COMMENT |
| MEDIUM | .github/scripts/tempo-check.sh | 169 | # Create an access key for testing | COMMENT |
| MEDIUM | .github/scripts/tempo-check.sh | 489 | # Create a new unrestricted key, then add scope restrictions via set-scope | COMMENT |
| MEDIUM | .github/scripts/tempo-check.sh | 569 | # Create a sponsor wallet for testing sponsored (gasless) transactions | COMMENT |
| MEDIUM | .github/scripts/tempo-check.sh | 682 | # Create a script that calls multiple contracts and batch them into a single tx | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/forge/src/opts.rs | 161 | /// Generate scaffold files. | COMMENT |
| MEDIUM | crates/forge/src/cmd/doc.rs | 29 | /// ready-to-use [vocs](https://vocs.dev) site scaffold alongside the | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 37 | // Write user-editable scaffold files only on first run so that manual | COMMENT |
| MEDIUM | crates/doc/src/vocs.rs | 71 | // Always regenerate: unlike user-editable scaffold files, index.mdx is | COMMENT |
| MEDIUM | crates/doc/src/builder.rs | 28 | /// Total time spent writing the vocs site scaffold. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/common/src/preprocessor/data.rs | 153 | /// Example usage: | COMMENT |
| LOW | crates/cheatcodes/spec/src/vm.rs | 3129 | /// Example usage: | COMMENT |
| LOW | .github/scripts/bump-tempo.sh | 7 | # Usage: | COMMENT |
| LOW | .github/scripts/tempo-mpp.sh | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/forge/src/result.rs | 56 | /// Essentially `identifier => signature => result`. | COMMENT |
| MEDIUM | crates/evm/fuzz/src/strategies/invariants.rs | 87 | /// leverage the evolving fuzz dictionary. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …9AB6b21cDF116f611110b048987E58894786C244/metadata.json | 1 | [{"SourceCode":{"language":"Solidity","sources":{"contracts/InterestRates/InterestRatePositionManager.f.sol":{"content": | CODE |
| MEDIUM | crates/primitives/src/network/mod.rs | 25 | /// Note: This is a basic implementation ("for now") that provides the core Network | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/matrices.py | 101 | CODE | |
| LOW | .github/scripts/compare-benchmark-thresholds.py | 77 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/forge/tests/cli/verify_bytecode.rs | 363 | // TODO: Add test utils for base such as basescan keys and alchemy keys. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/setup-foundryup.sh | 9 | # Check if foundryup script exists in the repo | COMMENT |