AI Slop Code Risk Monitor

foundry-rs/foundry

SlopCodeMonitor badge for foundry-rs/foundry Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

2.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for foundry-rs/foundry, a Rust project with 10,740 GitHub stars. SynthScan examined 612,204 lines of code across 1245 source files, recording 1246 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.7 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.7
Adjusted Signal
2.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.7K
Stars
Rust
Language
612.2K
Lines of Code
1.2K
Files
1.2K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1181 finding(s).

Hallucinated Dependency & Supply Chain Risk 3.2/100 · LOW

Are imports declared and package/API names verified? 41 finding(s).

Agent Over-Engineering Ratio 4.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 475 finding(s).

PR Review Velocity Impact 12.8/100 · LOW

Which changes need focused human review? 1246 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 40HIGH 1MEDIUM 36LOW 1169

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1246 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block676 hits · 614 pts
SeverityFileLineSnippetContext
LOWCargo.toml621alloy-sol-type-parser = { git = "https://github.com/alloy-rs/core", rev = "1e17055e111d087cd303186f9c4eeaee9af11684" }COMMENT
LOWCargo.toml641# alloy-rpc-types-eth = { git = "https://github.com/alloy-rs/alloy", rev = "395521c" }COMMENT
LOWdeny.toml1# This section is considered when running `cargo deny check advisories`COMMENT
LOWdeny.toml101license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]COMMENT
LOWcrates/test-utils/macros/src/lib.rs21/// a multi-threaded Tokio runtime.COMMENT
LOWcrates/test-utils/src/util.rs41///COMMENT
LOWcrates/test-utils/src/prj.rs101 fn from(id: T) -> Self {COMMENT
LOWcrates/lint/src/sol/high/arbitrary_send_erc20.rs561 _ => {}COMMENT
LOWcrates/lint/src/sol/med/unsafe_oz_erc721_mint.rs981}COMMENT
LOWcrates/lint/src/sol/med/cheatcode_environment.rs1//! Finds raw environment reads whose values can cross a Foundry environment mutation.COMMENT
LOWcrates/verify/src/verify.rs361 /// Wait for verification result after submission.COMMENT
LOWcrates/verify/src/verify.rs381 /// Prints the standard json compiler input.COMMENT
LOWcrates/verify/src/bytecode.rs121 /// Etherscan options.COMMENT
LOWcrates/verify/src/etherscan/flatten.rs61 /// provided compiler. If the compiler is missing it will be installed.COMMENT
LOWcrates/config/src/coverage.rs21 Attribution,COMMENT
LOWcrates/config/src/coverage.rs41 #[serde(default = "default_lcov_version", deserialize_with = "deserialize_lcov_version")]COMMENT
LOWcrates/config/src/coverage.rs61 pub exclude_tests: bool,COMMENT
LOWcrates/config/src/fee.rs1//! EIP-1559 fee estimation configuration.COMMENT
LOWcrates/config/src/symbolic.rs41 /// Whether fuzz branch frontiers should guide targeted symbolic fuzz-test seeding.COMMENT
LOWcrates/config/src/symbolic.rs61 pub solver_command: Option<String>,COMMENT
LOWcrates/config/src/symbolic.rs81 /// Maximum number of calls in a bounded symbolic invariant sequence.COMMENT
LOWcrates/config/src/vyper.rs21 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/config/src/extend.rs1use std::collections::HashMap;COMMENT
LOWcrates/config/src/mutation.rs41 Vec::new()COMMENT
LOWcrates/config/src/mutation.rs61 /// other mutants can proceed. Cleanup backlog is bounded by the configuredCOMMENT
LOWcrates/config/src/error.rs101COMMENT
LOWcrates/config/src/fs_permissions.rs41 }COMMENT
LOWcrates/config/src/lib.rs161#[cfg(not(test))]COMMENT
LOWcrates/config/src/lib.rs181/// The profile is set to the value of the `profile` field.COMMENT
LOWcrates/config/src/lib.rs201 /// selected on the `Figment`. When a `Config` is extracted, this field isCOMMENT
LOWcrates/config/src/lib.rs221 /// Base files cannot extend (inherit) other files.COMMENT
LOWcrates/config/src/lib.rs241 pub auto_detect_remappings: bool,COMMENT
LOWcrates/config/src/lib.rs281 /// Whether to include gas reports for tests.COMMENT
LOWcrates/config/src/lib.rs301 /// install itCOMMENT
LOWcrates/config/src/lib.rs321 pub model_checker: Option<ModelCheckerSettings>,COMMENT
LOWcrates/config/src/lib.rs341 /// rpc_headers = ["x-custom-header:value", "x-another-header:another-value"]COMMENT
LOWcrates/config/src/lib.rs361 pub deny: DenyLevel,COMMENT
LOWcrates/config/src/lib.rs381 #[serde(rename = "no_match_path", with = "from_opt_glob")]COMMENT
LOWcrates/config/src/lib.rs401 pub coverage: CoverageConfig,COMMENT
LOWcrates/config/src/lib.rs441 /// Block gas limit.COMMENT
LOWcrates/config/src/lib.rs461 pub block_difficulty: u64,COMMENT
LOWcrates/config/src/lib.rs481 /// "evm.bytecode",COMMENT
LOWcrates/config/src/lib.rs501 /// Whether to print the names of the compiled contracts.COMMENT
LOWcrates/config/src/lib.rs521 /// Disables storage caching entirely. This overrides any settings made inCOMMENT
LOWcrates/config/src/lib.rs541 /// so results do not change; unused keys cost extra RPC requests. Requires storage caching.COMMENT
LOWcrates/config/src/lib.rs561 ///COMMENT
LOWcrates/config/src/lib.rs581 /// Configuration for `forge fmt`COMMENT
LOWcrates/config/src/lib.rs601COMMENT
LOWcrates/config/src/lib.rs661COMMENT
LOWcrates/config/src/lib.rs681 /// PRIVATE: This structure may grow, As such, constructing this structure shouldCOMMENT
LOWcrates/config/src/lib.rs881 /// Unlike [`load_with_root`](Self::load_with_root), if the selected profile (viaCOMMENT
LOWcrates/config/src/lib.rs1241 /// src = "src"COMMENT
LOWcrates/config/src/lib.rs1381 /// Returns the directory in which dependencies should be installedCOMMENT
LOWcrates/config/src/lib.rs1921 ///COMMENT
LOWcrates/config/src/lib.rs1941 /// # ExampleCOMMENT
LOWcrates/config/src/lib.rs1961 /// # ReturnsCOMMENT
LOWcrates/config/src/lib.rs2041 /// let rpc_url = config.get_rpc_url_or("http://localhost:8545").unwrap();COMMENT
LOWcrates/config/src/lib.rs2061 /// ```COMMENT
LOWcrates/config/src/lib.rs2341 venom: self.vyper.venom.clone(),COMMENT
LOWcrates/config/src/lib.rs2361 /// use serde::Deserialize;COMMENT
616 more matches not shown…
Hyper-Verbose Identifiers451 hits · 436 pts
SeverityFileLineSnippetContext
LOW…9d27527Ada2CF29fBDAB2973cfa243845a08Bd3F/metadata.json13 "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.9;\n\nimport \"@openzeppelin/contracts/utils/CODE
LOW…9d27527Ada2CF29fBDAB2973cfa243845a08Bd3F/metadata.json43 "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.8.9;\n\nimport \"./BleepsRoles.sol\";\nimport \CODE
LOW…Db53f47aC61FE54F456A4eb3E09832D08Dd7BEec/metadata.json1[{"SourceCode":{"language":"Solidity","sources":{"@solidstate/contracts/token/ERC1155/base/ERC1155Base.sol":{"content":"CODE
LOW…3a23F943181408EAC424116Af7b7790c94Cb97a5/metadata.json1[{"SourceCode":{"language":"Solidity","sources":{"src/bridges/hop/interfaces/amm.sol":{"content":"// SPDX-License-IdentiCODE
LOW…9AB6b21cDF116f611110b048987E58894786C244/metadata.json1[{"SourceCode":{"language":"Solidity","sources":{"contracts/InterestRates/InterestRatePositionManager.f.sol":{"content":CODE
LOW…71356E37e0368Bd10bFDbF41dC052fE5FA24cD05/metadata.json1[{"SourceCode":{"language":"Solidity","sources":{"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDXCODE
LOW…35Fb958109b70799a8f9Bc2a8b1Ee4cC62034193/metadata.json1[{"SourceCode":"/**\r\n *Submitted for verification at Etherscan.io on 2022-02-19\r\n*/\r\n\r\n/**\r\n *Submitted for veCODE
LOW…044b75f554b886A065b9567891e45c79542d7357/metadata.json1[{"SourceCode":{"language":"Solidity","sources":{"contracts/InputStream.sol":{"content":"// SPDX-License-Identifier: UNLCODE
LOW⚡crates/cast/tests/cli/selectors.rs311 function myUniqueFunctionWithinLocalProject(uint256 a) external {CODE
LOW⚡crates/cast/tests/cli/selectors.rs321 function myUniqueLibFunctionWithinLocalProject(E) external pure {}CODE
LOW⚡crates/cast/tests/cli/selectors.rs323 function myUniqueLibStructWithinLocalProject(S calldata) external pure {}CODE
LOWcrates/cast/tests/cli/run.rs196 function updateCounterInExternalLib(CounterInExternalLib.Info storage counterInfo, uint256 counter) public {CODE
LOWcrates/forge/tests/cli/coverage.rs1055 function testTypeConversionCoverage() external {CODE
LOWcrates/forge/tests/cli/coverage.rs4356 function getArtifactPathByDeployedCode(bytes calldata code) external view returns (string memory);CODE
LOWcrates/forge/tests/cli/coverage.rs4534 function testConstructorTrailingData() external {CODE
LOWcrates/forge/tests/cli/inline_config.rs343 function testInlineIsolateCanCreateFile() public {CODE
LOWcrates/forge/tests/cli/config.rs2668 function testSnapshotGasSectionExternal() public {{CODE
LOWcrates/forge/tests/cli/build.rs260 function testExternalArtifactIsDeployable() public {CODE
LOWcrates/forge/tests/cli/failure_assertions.rs433 function testDSTestFailingAssertions() public {CODE
LOWcrates/forge/tests/cli/failure_assertions.rs483 function testShouldBeMarkedAsFailedBecauseOfSetup() public {CODE
LOWcrates/forge/tests/cli/failure_assertions.rs515 function testFailShouldBeMarkedAsFailedBecauseOfAfterInvariant()CODE
LOWcrates/forge/tests/cli/failure_assertions.rs551 function testFailShouldBeMarkedAsFailedBecauseOfSetup() public {CODE
LOWcrates/forge/tests/cli/failure_assertions.rs581 function emitAnonymousEventNonIndexed(uint256 a) external {CODE
LOWcrates/forge/tests/cli/failure_assertions.rs596 function testShouldFailEmitDifferentEventNonIndexed() public {CODE
LOWcrates/forge/tests/cli/failure_assertions.rs643 function testShortPartialDoesNotMatch(uint256) public view {CODE
LOWcrates/forge/tests/cli/json.rs26 function testJsonParseAndSerialize() public {CODE
LOWcrates/forge/tests/cli/lint.rs25 function divideBeforeMultiplyMedium() public {CODE
LOWcrates/forge/tests/cli/lint.rs130915 | function divideBeforeMultiplyMedium() public {CODE
LOWcrates/forge/tests/cli/lint.rs139915 | function divideBeforeMultiplyMedium() public {CODE
LOWcrates/forge/tests/cli/lint.rs149215 | function divideBeforeMultiplyMedium() public {CODE
LOW⚡crates/forge/tests/cli/bind_json.rs91 function deserializeTopLevelStruct(string memory json) public pure returns (TopLevelStruct memory) {CODE
LOW⚡crates/forge/tests/cli/bind_json.rs95 function deserializeTopLevelStruct(string memory json, string memory path) public pure returns (TopLevelStruct memorCODE
LOW⚡crates/forge/tests/cli/bind_json.rs99 function deserializeTopLevelStructArray(string memory json, string memory path) public pure returns (TopLevelStruct[CODE
LOW⚡crates/forge/tests/cli/bind_json.rs111 function deserializeContractLevelStruct(string memory json) public pure returns (BindJsonTest.ContractLevelStruct meCODE
LOW⚡crates/forge/tests/cli/bind_json.rs115 function deserializeContractLevelStruct(string memory json, string memory path) public pure returns (BindJsonTest.CoCODE
LOW⚡crates/forge/tests/cli/bind_json.rs119 function deserializeContractLevelStructArray(string memory json, string memory path) public pure returns (BindJsonTeCODE
LOWcrates/forge/tests/cli/svm.rs198 function testLargeContractDeployment() public {CODE
LOWcrates/forge/tests/cli/svm.rs209 function testCalldataFloorPreservesRegularGas() public {CODE
LOWcrates/forge/tests/cli/svm.rs223 function testValueTransferWithLowGas() public {CODE
LOWcrates/forge/tests/cli/svm.rs236 function testStateGasSnapshotIncludesRefund() public {CODE
LOWcrates/forge/tests/cli/svm.rs251 function testCalldataFloorWithLowGas() public {CODE
LOWcrates/forge/tests/cli/svm.rs261 function testDeployCodeChargesCreateStateGas() public {CODE
LOWcrates/forge/tests/cli/precompiles.rs483 function expectKeychainAdminVerified(address account, bytes32 digest, bytes calldata signature) external;CODE
LOWcrates/forge/tests/cli/doc.rs2390 function explicitActionWithLocalNotice(uint256 value) external;CODE
LOWcrates/forge/tests/cli/doc.rs2428 function explicitActionWithLocalNotice(uint256 value) external override {}CODE
LOWcrates/forge/tests/cli/test_cmd/core.rs58 function testMultipleAssertFailures() public {CODE
LOWcrates/forge/tests/cli/test_cmd/core.rs113 function testRevertedCallFailureIsDropped() public {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs67 function checkAssumeNoRevertInvalidChild() public {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs102 function checkSymbolicCalldataLoad(uint16 offset, uint256 marker) public pure {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs123 function checkSymbolicCalldataCopy(uint16 offset, uint256 marker) public pure {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs145 function checkSymbolicCalldataCopyDest(uint16 dest, uint256 marker) public pure {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs164 function checkSymbolicCalldataCopySize(uint8 n) public pure {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs189 function checkCalldataCopyDestAndSize(uint8 rawDest, uint8 rawSize, bytes32 marker) public {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs271 function checkSymbolicCallInputOffset(uint16 offset, uint256 marker) public view {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs308 function checkSymbolicCallOutputSize(uint8 rawSize) public view {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs348 function checkSymbolicCallInputSize(uint8 rawSize, uint256 marker) public view {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs665 function checkMockedSymbolicTargetMayMiss(address callee, address user) public {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs675 function checkMockedSymbolicTargetAlwaysHits(address callee) public {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs738 function checkExpectRevertOnSymbolicTarget(address target, uint256 x) public {CODE
LOWcrates/forge/tests/cli/test_cmd/symbolic_calls.rs744 function checkForbiddenCallOnSymbolicTarget(address target, uint256 x) public {CODE
391 more matches not shown…
Hallucination Indicators40 hits · 400 pts
SeverityFileLineSnippetContext
CRITICALcrates/verify/src/etherscan/flatten.rs27 let metadata = context.project.settings.solc.metadata.as_ref();CODE
CRITICALcrates/cast/src/cmd/erc20/permit.rs187 self.send_tx.eth.wallet.from.is_none_or(|from| from == owner),CODE
CRITICALcrates/script/src/build.rs315 if self.args.evm.rpc.rpc_url.is_some() {CODE
CRITICALcrates/script/src/build.rs348 && self.args.evm.rpc.rpc_url.is_some()CODE
CRITICALcrates/script/src/library_deployments.rs160 || self.script_config.evm_opts.env.gas_price.is_some()CODE
CRITICALcrates/script/src/library_deployments.rs164 || self.script_config.config.fs_permissions.permissions.iter().any(|permission| {CODE
CRITICALcrates/chisel/src/dispatcher.rs350 let executor_builder = self.session.source.config.executor_builder.clone();CODE
CRITICALcrates/forge/src/runner.rs523 self.mcr.tcfg.multi_network.pass_network.as_ref(),CODE
CRITICALcrates/forge/src/runner.rs993 [] if !self.mcr.tcfg.multi_network.all_override_networks.is_empty() => {CODE
CRITICALcrates/forge/src/runner.rs1869 if (self.cr.mcr.tcfg.showmap.is_some() || self.cr.mcr.tcfg.fuzz_only)CODE
CRITICALcrates/forge/src/runner.rs1877 if let Some(showmap) = self.cr.mcr.tcfg.showmap.as_ref() {CODE
CRITICALcrates/forge/src/runner.rs3891 let execution_pass = if self.cr.mcr.tcfg.multi_network.all_override_networks.is_empty() {CODE
CRITICALcrates/forge/src/runner.rs3893 } else if self.cr.mcr.tcfg.multi_network.pass_network.is_some() {CODE
CRITICALcrates/forge/src/runner.rs3957 let showmap = self.cr.mcr.tcfg.showmap.as_ref();CODE
CRITICALcrates/forge/src/runner.rs3958 let minimize = self.cr.mcr.tcfg.fuzz_minimize.as_ref();CODE
CRITICALcrates/forge/src/runner.rs5053 let fuzz_input = self.cr.mcr.tcfg.fuzz_input.as_ref();CODE
CRITICALcrates/forge/src/runner.rs5074 if let Some(showmap) = self.cr.mcr.tcfg.showmap.as_ref() {CODE
CRITICALcrates/forge/src/runner.rs5091 if let Some(minimize) = self.cr.mcr.tcfg.fuzz_minimize.as_ref() {CODE
CRITICALcrates/evm/core/src/evm/eth.rs124 Ok(ResultAndState::new(result, self.ctx.journaled_state.inner.state.clone()))CODE
CRITICALcrates/evm/core/src/evm/tempo.rs142 Ok(ResultAndState::new(result, self.ctx.journaled_state.inner.state.clone()))CODE
CRITICALcrates/anvil/tests/it/fork.rs2132 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/fork.rs2259 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/fork.rs2274 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/fork.rs2337 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/fork.rs2624 let status = res.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/fork.rs2757 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/fork.rs2772 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/traces.rs2258 let status = tx.inner.inner.inner.receipt.status.coerce_status();CODE
CRITICALcrates/anvil/tests/it/logs.rs135 .flat_map(|receipt| receipt.unwrap().inner.inner.inner.receipt.logs.clone())CODE
CRITICALcrates/anvil/src/eth/backend/mem/in_memory_db.rs444 self.inner.inner.cache.block_hashes.remove(&(min_number - U256::ONE));CODE
CRITICALcrates/anvil/src/eth/backend/mem/in_memory_db.rs446 self.inner.inner.cache.block_hashes.insert(number, hash);CODE
CRITICALcrates/anvil/src/eth/backend/mem/in_memory_db.rs481 self.block_hash_head = self.inner.inner.cache.block_hashes.keys().copied().max();CODE
CRITICALcrates/anvil/src/eth/backend/mem/in_memory_db.rs812 db.inner.inner.cache.accounts.get_mut(&deleted).unwrap().account_state =CODE
CRITICALcrates/anvil/src/eth/backend/mem/in_memory_db.rs942 db.inner.inner.cache.accounts.get_mut(&deleted).unwrap().account_state =CODE
CRITICALcrates/anvil/src/eth/backend/mem/in_memory_db.rs952 fresh.inner.inner.cache.accounts.get_mut(&deleted).unwrap().account_state =CODE
CRITICALcrates/cheatcodes/src/inspector.rs3756 let result = if ccx.state.core.config.blocked_cheatcodes.contains(&cheat.func.selector_bytes) {CODE
CRITICALcrates/cheatcodes/src/evm.rs1903 ccx.state.core.config.running_artifact.clone().expect("expected running contract").nameCODE
CRITICALcrates/cheatcodes/src/evm.rs2549 let artifacts = ccx.state.core.config.available_artifacts.as_ref()?;CODE
CRITICALcrates/cheatcodes/src/evm/fork.rs428 let mut evm_opts = ccx.state.core.config.evm_opts.clone();CODE
CRITICALcrates/cheatcodes/src/evm/fork.rs444 && ccx.state.core.config.rpc_storage_caching.enable_for_endpoint(&url),CODE
Decorative Section Separators24 hits · 71 pts
SeverityFileLineSnippetContext
MEDIUMcrates/forge/tests/cli/lint.rs2562 "rendered": "warning: unused lint suppression for 'divide-before-multiply'\n ╭▸ src/Json.sol:5:5\n │\n5 │ // forCODE
MEDIUMcrates/doc/src/render.rs28// ── rendering context ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs67// ── contract ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs276// ── free functions ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs294// ── constants ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs316// ── standalone items ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs339// ── function section ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs432// ── natspec comment collection ────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs675// ── markdown output helpers ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/render.rs1084// ── public entry point ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/vocs.rs92// ── vocs.config.ts ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/vocs.rs271// ── homepage ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/vocs.rs307// ── homepage link rewriting ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/vocs.rs544// ── package.json ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/vocs.rs563// ── helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/hir_ext.rs26// ── name-to-page map ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/hir_ext.rs139// ── inheritance links ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/hir_ext.rs179// ── inheritdoc resolution ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/hir_ext.rs682// ── inline link replacement ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/hir_ext.rs1100// ── path helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/utils.rs16// ── git source ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/doc/src/utils.rs42// ── deployments ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/cheatcodes/src/expected_emit.rs25 /// ┌───────┬───────┬───────┬───────┬────┐COMMENT
MEDIUMcrates/cheatcodes/src/expected_emit.rs27 /// └───────┴───────┴───────┴───────┴────┘COMMENT
Verbosity Indicators18 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡crates/cast/src/cmd/keychain.rs1400 // Step 1: Tempo Accounts store lookup.COMMENT
LOW⚡crates/cast/src/cmd/keychain.rs1405 // Step 2: RPC reachability.COMMENT
LOWcrates/cast/src/cmd/keychain.rs1435 // Step 3: chain-id match + final entry selection.COMMENT
LOW⚡crates/cast/src/cmd/keychain.rs1459 // Step 4: local signing readiness.COMMENT
LOW⚡crates/cast/src/cmd/keychain.rs1462 // Step 5: on-chain key state.COMMENT
LOWcrates/forge/src/cmd/bind_json.rs54 // Step 1: Read and preprocess sourcesCOMMENT
LOW⚡crates/forge/src/cmd/bind_json.rs73 // Step 2: Preprocess sources to handle potentially invalid bindingsCOMMENT
LOW⚡crates/forge/src/cmd/bind_json.rs79 // Step 3: Find structs and generate bindingsCOMMENT
LOW⚡crates/forge/src/cmd/bind_json.rs83 // Step 4: Write bindingsCOMMENT
LOWcrates/evm/core/src/backend/mod.rs1172 // here's an edge case where we need to check if this account has been created, inCOMMENT
LOWcrates/cheatcodes/src/test/revert_handlers.rs194 // we need to check if it matches our criteriaCOMMENT
LOWcrates/cheatcodes/src/test/revert_handlers.rs200 // We need to check if this revert matches our expected criteriaCOMMENT
LOW⚡.github/scripts/tempo-check.sh605# Step 1: Get the fee_payer_signature_hash using --tempo.print-sponsor-hashCOMMENT
LOW⚡.github/scripts/tempo-check.sh606# Step 2: Sign it with the sponsor's private keyCOMMENT
LOW⚡.github/scripts/tempo-check.sh607# Step 3: Send with --tempo.sponsor and --tempo.sponsor-signatureCOMMENT
LOW⚡.github/scripts/tempo-check.sh625# Step 1: Get the hash that the sponsor needs to signCOMMENT
LOW⚡.github/scripts/tempo-check.sh631# Step 2: Sponsor signs the hashCOMMENT
LOW⚡.github/scripts/tempo-check.sh635# Step 3: Send the sponsored transaction with the signature. With --json, cast reportsCOMMENT
Structural Annotation Overuse15 hits · 32 pts
SeverityFileLineSnippetContext
LOW⚡crates/cast/src/cmd/keychain.rs1400 // Step 1: Tempo Accounts store lookup.COMMENT
LOW⚡crates/cast/src/cmd/keychain.rs1405 // Step 2: RPC reachability.COMMENT
LOWcrates/cast/src/cmd/keychain.rs1435 // Step 3: chain-id match + final entry selection.COMMENT
LOW⚡crates/cast/src/cmd/keychain.rs1459 // Step 4: local signing readiness.COMMENT
LOW⚡crates/cast/src/cmd/keychain.rs1462 // Step 5: on-chain key state.COMMENT
LOWcrates/forge/src/cmd/bind_json.rs54 // Step 1: Read and preprocess sourcesCOMMENT
LOW⚡crates/forge/src/cmd/bind_json.rs73 // Step 2: Preprocess sources to handle potentially invalid bindingsCOMMENT
LOW⚡crates/forge/src/cmd/bind_json.rs79 // Step 3: Find structs and generate bindingsCOMMENT
LOW⚡crates/forge/src/cmd/bind_json.rs83 // Step 4: Write bindingsCOMMENT
LOW⚡.github/scripts/tempo-check.sh605# Step 1: Get the fee_payer_signature_hash using --tempo.print-sponsor-hashCOMMENT
LOW⚡.github/scripts/tempo-check.sh606# Step 2: Sign it with the sponsor's private keyCOMMENT
LOW⚡.github/scripts/tempo-check.sh607# Step 3: Send with --tempo.sponsor and --tempo.sponsor-signatureCOMMENT
LOW⚡.github/scripts/tempo-check.sh625# Step 1: Get the hash that the sponsor needs to signCOMMENT
LOW⚡.github/scripts/tempo-check.sh631# Step 2: Sponsor signs the hashCOMMENT
LOW⚡.github/scripts/tempo-check.sh635# Step 3: Send the sponsored transaction with the signature. With --json, cast reportsCOMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml220 # Create the GitHub release as a draft up-front so that all matrix jobsCOMMENT
MEDIUM.github/scripts/combine-benchmarks.sh12# Define the benchmark files and their section namesCOMMENT
MEDIUM.github/scripts/tempo-check.sh197# Create an access key for testingCOMMENT
MEDIUM.github/scripts/tempo-check.sh594# Create a sponsor wallet for testing sponsored (gasless) transactionsCOMMENT
MEDIUM.github/scripts/tempo-check.sh729# Create a script that calls multiple contracts and batch them into a single txCOMMENT
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMcrates/forge/src/cmd/doc.rs29 /// ready-to-use [vocs](https://vocs.dev) site scaffold alongside theCOMMENT
MEDIUMcrates/doc/src/vocs.rs42 // Write user-editable scaffold files only on first run so that manualCOMMENT
MEDIUMcrates/doc/src/vocs.rs77 // Always regenerate: unlike user-editable scaffold files, index.mdx isCOMMENT
MEDIUMcrates/doc/src/builder.rs31 /// Total time spent writing the vocs site scaffold.COMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/common/src/preprocessor/data.rs144 /// Example usage:COMMENT
LOWcrates/cheatcodes/spec/src/vm.rs3508 /// Example usage:COMMENT
LOW.github/scripts/bump-tempo.sh7# Usage:COMMENT
LOW.github/scripts/bump-solar.sh7# Usage:COMMENT
LOW.github/scripts/tempo-mpp.sh10# Usage:COMMENT
Slop Phrases2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…9AB6b21cDF116f611110b048987E58894786C244/metadata.json1[{"SourceCode":{"language":"Solidity","sources":{"contracts/InterestRates/InterestRatePositionManager.f.sol":{"content":CODE
MEDIUMcrates/primitives/src/network/mod.rs27/// Note: This is a basic implementation ("for now") that provides the core NetworkCOMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/scripts/tests/test_tempo_check.py20trap 'kill "$pid" 2>/dev/null || true; wait "$pid" 2>/dev/null || true' EXITCODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcrates/forge/src/result.rs49 /// Essentially `identifier => signature => result`.COMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/scripts/matrices.py101CODE
LOW.github/scripts/compare-benchmark-thresholds.py77CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcrates/lint/docs/todo-comment.md24 // TODO: implement access controlCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/scripts/setup-foundryup.sh9# Check if foundryup script exists in the repoCOMMENT