FHEVM, a full-stack framework for integrating Fully Homomorphic Encryption (FHE) with blockchain applications
This report summarizes scanner evidence for zama-ai/fhevm, a Rust project with 24,730 GitHub stars. SynthScan examined 1,489,652 lines of code across 4547 source files, recording 3475 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 4.3 (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.
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-11-17.
Can maintainers explain intent, assumptions, and trade-offs? 2472 finding(s).
Are imports declared and package/API names verified? 118 finding(s).
Are wrappers, guards, and repeated structures necessary? 1605 finding(s).
Which changes need focused human review? 3475 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
The scanner identified 3475 distinct pattern matches across 20 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | listener/docker-compose.yaml | 26 | # ── Base infrastructure (always starts) ────────────────────────────── | COMMENT |
| MEDIUM | listener/docker-compose.yaml | 48 | # ── Message brokers (always start) ─────────────────────────────────── | COMMENT |
| MEDIUM | listener/docker-compose.yaml | 77 | # ── RPC proxy (optional) ───────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/docker-compose.yaml | 91 | # ── Listener instances (one per chain, pick via --profile) ─────────── | COMMENT |
| MEDIUM | listener/docker-compose.yaml | 115 | # ── Monitoring (optional) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/listener-core.yaml | 10 | # ── Base infrastructure (always starts) ────────────────────────────── | COMMENT |
| MEDIUM | listener/listener-core.yaml | 12 | # ── Message brokers (always start) ─────────────────────────────────── | COMMENT |
| MEDIUM | listener/listener-core.yaml | 43 | # ── RPC proxy (optional) ───────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/listener-core.yaml | 57 | # ── Listener instances (one per chain, pick via --profile) ─────────── | COMMENT |
| MEDIUM | listener/listener-core.yaml | 85 | # ── Monitoring (optional) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/control.rs | 96 | // ── Routes ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/control.rs | 186 | // ── Wire types ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/control.rs | 242 | // ── Errors ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/full_block.rs | 39 | // ── 1. Wire-up: broker + ListenerConsumer ────────────────────────────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/full_block.rs | 55 | // ── 2. Declare both queues *before* publishing or consuming ──────────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/full_block.rs | 61 | // ── 3. Register both full-block (wildcard) filters ───────────────────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/full_block.rs | 68 | // ── 4. One consumer per flow — print every block as it arrives ───────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/full_block.rs | 78 | // ── 5. Wait for Ctrl-C, then shut both flows down cleanly ────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/main.rs | 61 | // ── Wire-up: env config, broker, one ListenerConsumer ───────────────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/main.rs | 88 | // this process — see `catchup_state` ───────────────────────────────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/main.rs | 95 | // runtime cancel updates the handler as well as the listener ──────── | COMMENT |
| MEDIUM⚡ | listener/crates/example/src/main.rs | 101 | // watcher, and spawns its consumers ────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/main.rs | 120 | // or cancel — without a redeploy ────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/example/src/main.rs | 130 | // ── Run until Ctrl-C or an unexpected consumer exit ──────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 34 | // ── Global test recorder ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 49 | // ── Assertion helpers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 167 | // ── Shared payload ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 182 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 184 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 212 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 214 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 238 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 240 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 301 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 303 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 360 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 362 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 422 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 424 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 485 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 487 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 552 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 554 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 606 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/metrics_e2e.rs | 608 | // ═══════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 60 | // ── Test 1: probe comes from PEL, not from new messages ─────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 166 | // ── Test 2: half_open_timeout reopens when PEL is emptied ───────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 277 | // ── Step 1: shared test payload ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 326 | // ── Generic Consumer trait helper ───────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 423 | // ── Test 1: run_simple roundtrip ────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 459 | // ── Test 2: run_with_retry — handler fails then succeeds ────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 530 | // ── Test 3: multi-publish roundtrip ─────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 593 | // ── Test 4: run_with_retry → DLQ after max_retries ─────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 668 | // ── Test 5: AckDecision::Dead — immediate dead-stream without retry ─────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 882 | // ── Circuit is Open ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 998 | // ── Test 8: Transient failures retry indefinitely (bounded retry ignored) ────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 1191 | // ── Test 9: Transient -> Permanent transition re-enables bounded DLQ path ────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 1282 | // ── Test 10: run — steady-state pending retry ──────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 1376 | // ── Test 9: DynPublisher multichain fanout + control routing ─────────────────── | COMMENT |
| MEDIUM | listener/crates/shared/broker/tests/redis_e2e.rs | 1775 | // ── Test 10: prefetch-safe does not double-dispatch slow handlers ─────────────── | COMMENT |
| 815 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s-connector/crates/gw-listener/tests/block_tracking.rs | 1 | mod common; | COMMENT |
| LOW | kms-connector/crates/gw-listener/tests/catchup.rs | 1 | mod common; | COMMENT |
| LOW | kms-connector/crates/gw-listener/src/core/config.rs | 21 | /// The URL of the Postgres database. | COMMENT |
| LOW | kms-connector/crates/proxy/src/core/config.rs | 21 | COMMENT | |
| LOW | kms-connector/crates/utils/src/types/extra_data.rs | 21 | } | COMMENT |
| LOW | kms-connector/crates/utils/src/config/wallet.rs | 21 | Local(PrivateKeySigner), | COMMENT |
| LOW | kms-connector/crates/tx-sender/tests/recovery.rs | 41 | #[case::prep_keygen_request("PrepKeygenRequest")] | COMMENT |
| LOW | …rates/tx-sender/src/core/kms_response_picker/picker.rs | 61 | impl KmsResponsePicker for DbKmsResponsePicker { | COMMENT |
| LOW | …/crates/tx-sender/src/monitoring/operation_recovery.rs | 1 | use crate::monitoring::{DECRYPTION_TABLES, OPERATION_TABLES}; | COMMENT |
| LOW | kms-connector/crates/kms-worker/tests/attempt_limit.rs | 41 | #[case::crsgen_processing_not_removed_on_error(TestEventType::Crsgen)] | COMMENT |
| LOW | …connector/crates/kms-worker/tests/integration_tests.rs | 41 | }; | COMMENT |
| LOW | …connector/crates/kms-worker/tests/integration_tests.rs | 61 | #[case::kms_context_destroyed(TestEventType::KmsContextDestroyed, false)] | COMMENT |
| LOW | …connector/crates/kms-worker/tests/integration_tests.rs | 141 | .connect_mocked_client(asserter.clone()); | COMMENT |
| LOW | …nnector/crates/kms-worker/tests/event_picker/simple.rs | 1 | use connector_utils::tests::{ | COMMENT |
| LOW | kms-connector/crates/kms-worker/src/core/config.rs | 41 | /// The limit number of events to fetch from the database. | COMMENT |
| LOW | kms-connector/crates/kms-worker/src/core/config.rs | 61 | #[serde(deserialize_with = "deserialize_kms_generation_contract_config")] | COMMENT |
| LOW | kms-connector/crates/kms-worker/src/core/config.rs | 121 | )] | COMMENT |
| LOW | …r/crates/kms-worker/src/core/kms_response_publisher.rs | 21 | pub trait KmsResponsePublisher { | COMMENT |
| LOW | …ctor/crates/kms-worker/src/core/event_picker/picker.rs | 61 | COMMENT | |
| LOW | …ates/kms-worker/src/core/event_processor/decryption.rs | 1401 | /// Where the legacy request transaction was sent, relative to the Decryption contract. | COMMENT |
| LOW | kms-connector/crates/endpoint/src/core/config.rs | 41 | pub error_serve_window: Duration, | COMMENT |
| LOW | kms-connector/crates/endpoint/src/core/http/decrypt.rs | 1 | //! Request flow shared by `POST /v1/public-decrypt` and `POST /v1/user-decrypt`. | COMMENT |
| LOW | kms-connector/crates/endpoint/src/core/http/decrypt.rs | 61 | /// Outcome of the lookup transaction of [`find_response_or_store_request`]. | COMMENT |
| LOW | kms-connector/crates/api/src/types.rs | 161 | impl PadWitness { | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 1 | # Example configuration for KMS Connector's `KmsWorker` | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 21 | ethereum_chain_id = 11155111 | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 41 | # db_long_event_polling = "60s" | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 61 | # kms_connect_timeout = "5s" | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 81 | # max_handles_per_decryption = 50 | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 101 | # ENV: KMS_CONNECTOR_S3_GET_TIMEOUT (format: https://docs.rs/humantime/latest/humantime/) | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 121 | # ENV: KMS_CONNECTOR_CIPHERTEXT_POOL_SLOTS | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 141 | # erc1271_gas_limit = 250000 | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 161 | [gateway_config_contract] | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 181 | # domain_name = "KMSGeneration" | COMMENT |
| LOW | kms-connector/config/kms-worker.toml | 201 | # Env var format: JSON string | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 1 | # Example configuration for KMS Connector's `TransactionSender` | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 21 | ethereum_chain_id = 11155111 | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 41 | COMMENT | |
| LOW | kms-connector/config/tx-sender.toml | 61 | # healthcheck_timeout = "3s" | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 81 | # gas_multiplier_percent = 115 | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 101 | # Address of the Decryption contract (required) | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 121 | # EIP-712 domain version for KMSGeneration contract (optional, defaults to "1") | COMMENT |
| LOW | kms-connector/config/tx-sender.toml | 141 | # ENV: KMS_CONNECTOR_AWS_KMS_CONFIG__KEY_ID | COMMENT |
| LOW | kms-connector/config/proxy.toml | 1 | # Example configuration for KMS Connector's `Proxy` | COMMENT |
| LOW | kms-connector/config/proxy.toml | 21 | tx_sender_address = "0x0000000000000000000000000000000000000000" | COMMENT |
| LOW | kms-connector/config/proxy.toml | 41 | COMMENT | |
| LOW | kms-connector/config/proxy.toml | 61 | # ENV: KMS_CONNECTOR_SHUTDOWN_GRACE_PERIOD (format: https://docs.rs/humantime/latest/humantime/) | COMMENT |
| LOW | kms-connector/config/proxy.toml | 81 | # it when the proxy sits behind a TLS-terminating layer (ingress, service mesh...). | COMMENT |
| LOW | kms-connector/config/endpoint.toml | 1 | # Example configuration for KMS Connector's `Endpoint` | COMMENT |
| LOW | kms-connector/config/endpoint.toml | 21 | # are rejected with `503 overloaded` (optional, defaults to 1000) | COMMENT |
| LOW | kms-connector/config/endpoint.toml | 41 | # max_allowed_contracts = 10 | COMMENT |
| LOW | kms-connector/config/endpoint.toml | 61 | # ENV: KMS_CONNECTOR_HEALTHCHECK_TIMEOUT (format: https://docs.rs/humantime/latest/humantime/) | COMMENT |
| LOW | kms-connector/config/gw-listener.toml | 1 | # Example configuration for KMS Connector's `GatewayListener` | COMMENT |
| LOW | kms-connector/config/gw-listener.toml | 21 | ethereum_chain_id = 11155111 | COMMENT |
| LOW | kms-connector/config/gw-listener.toml | 41 | # ENV: KMS_CONNECTOR_DECRYPTION_POLLING (format: https://docs.rs/humantime/latest/humantime/) | COMMENT |
| LOW | kms-connector/config/gw-listener.toml | 61 | # How long the Gateway head may stay the same before a warning is logged (optional, defaults to 10m) | COMMENT |
| LOW | kms-connector/config/gw-listener.toml | 81 | # Format: hex string with 0x prefix | COMMENT |
| LOW | kms-connector/config/gw-listener.toml | 101 | # ENV: KMS_CONNECTOR_KMS_GENERATION_CONTRACT__DOMAIN_VERSION | COMMENT |
| LOW | kms-connector/.cargo/deny.toml | 1 | # This template contains all of the possible sections and their default values | COMMENT |
| LOW | kms-connector/.cargo/deny.toml | 21 | # `target_family = "unix"` configuration, that only having windows targets in | COMMENT |
| 1358 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gateway-contracts/tasks/kmsContext.ts | 17 | function buildKmsNodeTuplesFromEnv(): [string, string, string, string][] { | CODE |
| LOW | gateway-contracts/tasks/kmsContext.ts | 35 | function buildUpdateKmsContextArgs(newContextId: bigint): unknown[] { | CODE |
| LOW | gateway-contracts/tasks/kmsContext.ts | 46 | function resolveGatewayConfigAddress(useInternalProxyAddress: boolean, override?: string): string { | CODE |
| LOW | gateway-contracts/tasks/upgradeContracts.ts | 17 | function getImplementationDirectory(input: string): string { | CODE |
| LOW | gateway-contracts/tasks/upgradeContracts.ts | 114 | async function checkImplementationArtifacts( | CODE |
| LOW | gateway-contracts/tasks/upgradeContracts.ts | 147 | async function deployImplementationForPreparedUpgrade( | CODE |
| LOW | gateway-contracts/tasks/mockedTokenFund.ts | 35 | export async function approveContractWithMaxAllowance( | CODE |
| LOW | gateway-contracts/tasks/getters.ts | 7 | async function loadGatewayConfigContract( | CODE |
| LOW | gateway-contracts/tasks/utils/loadVariables.ts | 39 | export function loadAddressEnvVarsFromFile(fileName: string) { | CODE |
| LOW | gateway-contracts/tasks/utils/stringOps.ts | 25 | export function pascalCaseToAddressEnvVar(str: string) { | CODE |
| LOW | gateway-contracts/tasks/deployment/contracts.ts | 10 | async function deployContractImplementation( | CODE |
| LOW | gateway-contracts/tasks/deployment/utils.ts | 25 | export function createSolidityAddressesFile(fileName: string) { | CODE |
| LOW | gateway-contracts/tasks/deployment/utils.ts | 38 | export function appendAddressToSolidityFile(name: string, address: string, solidityFileName: string) { | CODE |
| LOW | gateway-contracts/tasks/deployment/utils.ts | 77 | export function setGatewayContractAddress(name: string, address: string) { | CODE |
| LOW | gateway-contracts/tasks/deployment/empty_proxies.ts | 17 | async function deployEmptyUUPSGatewayConfig(ethers: HardhatEthersHelpers, upgrades: HardhatUpgrades, deployer: Wallet) { | CODE |
| LOW | …racts/tasks/deployment/paymentBridging/setAddresses.ts | 10 | function setPaymentBridgingContractAddress(name: string) { | CODE |
| LOW | …racts/tasks/deployment/paymentBridging/setAddresses.ts | 20 | export function setPaymentBridgingContractAddresses() { | CODE |
| LOW | …y-contracts/tasks/deployment/paymentBridging/mocked.ts | 16 | async function deployMockedPaymentBridgingContract( | CODE |
| LOW | gateway-contracts/test/InputVerification.ts | 66 | async function setPriorityConsensusTxSender( | CODE |
| LOW | gateway-contracts/test/Decryption.ts | 138 | async function prepareAddCiphertextFixture() { | CODE |
| LOW | gateway-contracts/test/GatewayConfig.ts | 61 | async function getInputsForDeployFixture() { | CODE |
| LOW | gateway-contracts/test/GatewayConfig.ts | 118 | async function readDeprecatedPrioritySlot(proxyAddress: string): Promise<string> { | CODE |
| LOW | gateway-contracts/test/utils/wallets.ts | 26 | export async function createAndFundRandomWallet() { | CODE |
| LOW | gateway-contracts/test/utils/eip712/decryption.ts | 48 | export async function getSignaturesPublicDecrypt( | CODE |
| LOW | gateway-contracts/test/utils/eip712/decryption.ts | 110 | export async function getSignaturesUserDecryptRequest( | CODE |
| LOW | gateway-contracts/test/utils/eip712/decryption.ts | 175 | export async function getSignaturesDelegatedUserDecryptRequest( | CODE |
| LOW | gateway-contracts/test/utils/eip712/decryption.ts | 226 | export async function getSignaturesUserDecryptResponse( | CODE |
| LOW⚡ | …ay-contracts/rust_bindings/src/i_ciphertext_commits.rs | 27 | function getAddCiphertextMaterialConsensusTxSenders(bytes32 ctHandle) external view returns (address[] memory); | CODE |
| LOW⚡ | …ay-contracts/rust_bindings/src/i_ciphertext_commits.rs | 29 | function getSnsCiphertextMaterials(bytes32[] memory ctHandles) external view returns (SnsCiphertextMaterial[] memory | CODE |
| LOW⚡ | …ay-contracts/rust_bindings/src/i_ciphertext_commits.rs | 31 | function isCiphertextMaterialAdded(bytes32 ctHandle) external view returns (bool); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_ciphertext_commits.rs | 1638 | function getAddCiphertextMaterialConsensusTxSenders(bytes32 ctHandle) external view returns (address[] memory); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_ciphertext_commits.rs | 1989 | function getSnsCiphertextMaterials(bytes32[] memory ctHandles) external view returns (SnsCiphertextMaterial[] memory); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_ciphertext_commits.rs | 2316 | function isCiphertextMaterialAdded(bytes32 ctHandle) external view returns (bool); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_input_verification.rs | 16 | function getRejectProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_input_verification.rs | 17 | function getVerifyProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_input_verification.rs | 1366 | function getRejectProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | …ay-contracts/rust_bindings/src/i_input_verification.rs | 1532 | function getVerifyProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 94 | function getCoprocessorMajorityThreshold() external view returns (uint256); | CODE |
| LOW⚡ | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 109 | function getKmsTxSendersForContext(uint256 contextId) external view returns (address[] memory); | CODE |
| LOW⚡ | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 112 | function getPublicDecryptionThresholdForContext(uint256 contextId) external view returns (uint256); | CODE |
| LOW⚡ | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 113 | function getUserDecryptionThresholdForContext(uint256 contextId) external view returns (uint256); | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 129 | function unpauseAllGatewayContracts() external; | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 130 | function updateCoprocessorThreshold(uint256 newCoprocessorThreshold) external; | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 8461 | function getCoprocessorMajorityThreshold() external view returns (uint256); | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 10796 | function getKmsTxSendersForContext(uint256 contextId) external view returns (address[] memory); | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 11258 | function getPublicDecryptionThresholdForContext(uint256 contextId) external view returns (uint256); | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 11418 | function getUserDecryptionThresholdForContext(uint256 contextId) external view returns (uint256); | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 13918 | function unpauseAllGatewayContracts() external; | CODE |
| LOW | gateway-contracts/rust_bindings/src/i_gateway_config.rs | 14061 | function updateCoprocessorThreshold(uint256 newCoprocessorThreshold) external; | CODE |
| LOW | …eway-contracts/rust_bindings/src/input_verification.rs | 50 | function getRejectProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | …eway-contracts/rust_bindings/src/input_verification.rs | 51 | function getVerifyProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | …eway-contracts/rust_bindings/src/input_verification.rs | 4793 | function getRejectProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW | …eway-contracts/rust_bindings/src/input_verification.rs | 4959 | function getVerifyProofConsensusTxSenders(uint256 zkProofId) external view returns (address[] memory); | CODE |
| LOW⚡ | gateway-contracts/rust_bindings/src/decryption.rs | 1502 | function delegatedUserDecryptionRequest(CtHandleContractPair[] memory ctHandleContractPairs, IDecryption.RequestVali | CODE |
| LOW⚡ | gateway-contracts/rust_bindings/src/decryption.rs | 1504 | function getDecryptionConsensusTxSenders(uint256 decryptionId) external view returns (address[] memory); | CODE |
| LOW⚡ | gateway-contracts/rust_bindings/src/decryption.rs | 1508 | function isDelegatedUserDecryptionReady(CtHandleContractPair[] memory ctHandleContractPairs, bytes memory) external | CODE |
| LOW | gateway-contracts/rust_bindings/src/decryption.rs | 10892 | function delegatedUserDecryptionRequest(CtHandleContractPair[] memory ctHandleContractPairs, IDecryption.RequestValidity | CODE |
| LOW | gateway-contracts/rust_bindings/src/decryption.rs | 11338 | function getDecryptionConsensusTxSenders(uint256 decryptionId) external view returns (address[] memory); | CODE |
| LOW | gateway-contracts/rust_bindings/src/decryption.rs | 11950 | function isDelegatedUserDecryptionReady(CtHandleContractPair[] memory ctHandleContractPairs, bytes memory) external view | CODE |
| LOW⚡ | …eway-contracts/rust_bindings/src/ciphertext_commits.rs | 50 | function getAddCiphertextMaterialConsensusTxSenders(bytes32 ctHandle) external view returns (address[] memory); | CODE |
| 660 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …us-detector/src/manifest_consensus/manifest_archive.rs | 472 | let Some(first_detailed_block) = current.signed.payload.detailed_range.blocks.first() | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 191 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 307 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 400 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 438 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 476 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 508 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 540 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 572 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 605 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 641 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 702 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 739 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 781 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 859 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 904 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 958 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 999 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1043 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1095 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1139 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1167 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1209 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1263 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1306 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1342 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1398 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1458 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1519 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/delegated_user_decrypt_v2_test.rs | 1579 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 134 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 220 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 324 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 449 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 504 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 535 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 572 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 610 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 653 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 687 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 717 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 752 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 787 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 827 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 923 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 966 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1011 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1042 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1082 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1121 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1158 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1209 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1249 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1282 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1316 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1366 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1407 | &setup.settings.gateway.blockchain_rpc.chain_id.to_string(), | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1439 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1499 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| CRITICAL | relayer/tests/user_decrypt_v2_test.rs | 1555 | let chain_id = setup.settings.gateway.blockchain_rpc.chain_id.to_string(); | CODE |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | listener/crates/shared/broker/tests/redis_e2e.rs | 340 | // Step 2: handler — from broker | COMMENT |
| LOW⚡ | listener/crates/shared/broker/tests/redis_e2e.rs | 349 | // Step 3: run consumer in background | COMMENT |
| LOW | listener/crates/shared/broker/tests/redis_e2e.rs | 482 | // Step 2: handler — from broker; fails on the first two calls, succeeds on the third | COMMENT |
| LOW | listener/crates/shared/broker/tests/redis_e2e.rs | 548 | // Step 2: handler — from broker | COMMENT |
| LOW | listener/crates/shared/broker/tests/redis_e2e.rs | 618 | // Step 2: handler — from broker; always fails so the message exhausts max_retries | COMMENT |
| LOW⚡ | listener/crates/shared/broker/tests/amqp_e2e.rs | 139 | // Step 2: handler — from broker | COMMENT |
| LOW⚡ | listener/crates/shared/broker/tests/amqp_e2e.rs | 148 | // Step 3: run consumer in background | COMMENT |
| LOW | listener/crates/shared/broker/tests/amqp_e2e.rs | 253 | // Step 2: handler — from broker; fails on the first two calls, succeeds on the third | COMMENT |
| LOW | listener/crates/shared/broker/tests/amqp_e2e.rs | 328 | // Step 2: handler — from broker | COMMENT |
| LOW | listener/crates/shared/broker/src/amqp/exchange.rs | 53 | /// NOTE: This method may be deprecated in the future as exchange management | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 442 | // Step 2: Process under lock. The lock spans the cron sleep inside | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 447 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 452 | // Step 4: Publish next iteration AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 518 | // Step 2: Process under lock. The lock spans the cron sleep inside | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 523 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 528 | // Step 4: Publish next iteration AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 594 | // Step 2: Process under lock. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 597 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 602 | // Step 4: Publish continuation message AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 684 | // Step 0: Inactive flow — skip and end the loop deliberately. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 690 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 708 | // Step 2: Process under lock. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 711 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 716 | // Step 4: Publish continuation message AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 786 | // Step 2: Process under lock. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 789 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 794 | // Step 4: Publish cursor resume AFTER lock release, then Ack. | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 426 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 502 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 576 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 770 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 596 | // Step 5: Create shared state for producer-consumer coordination | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 601 | // Step 6: Spawn both tasks concurrently | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1859 | // Step 5: Create shared state for producer-consumer coordination | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1864 | // Step 6: Spawn both tasks concurrently | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1883 | // Step 7: Await both tasks to completion. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1893 | // Step 8: Unwrap JoinHandle results — a JoinError means the task panicked, | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 528 | // Step 1: Get the latest canonical block from DB (the "tip" of our chain view). | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 557 | // Step 2: Get the current chain height from the RPC node | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 570 | // Step 3: If the chain hasn't advanced beyond our DB tip, there's nothing to do | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 581 | // Step 4: Calculate the inclusive range [range_start, range_end] | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 623 | // Step 7: Await both tasks to completion. | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 635 | // Step 8: Unwrap JoinHandle results — a JoinError means the task panicked, | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 654 | // Step 9: Analyze outcomes — cursor takes priority since it's the authority | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1794 | // Step 1: Get the latest final block from DB (the finality tip). | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1822 | // Step 2: Get the current final block number from the RPC node | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1835 | // Step 3: If finality hasn't advanced beyond our tip, there's nothing to do | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1846 | // Step 4: Calculate the inclusive range [range_start, range_end] | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1911 | // Step 9: Analyze outcomes — the consumer takes priority since it's the | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 66 | // Step 1: Check if block exists and its current status | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 85 | // Step 2: Mark other canonical blocks at same height as UNCLE (before INSERT to | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 99 | // Step 3: Insert or update the block as CANONICAL | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 167 | // Step 1: Check if block exists and its current status | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 189 | // Step 2: Mark other canonical blocks at same height as UNCLE | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 202 | // Step 3: Insert or update the block as CANONICAL | COMMENT |
| LOW | host-contracts/LZ_BRIDGE_WIRING_RUNBOOK.md | 27 | ## Step 1 - Select the environment | COMMENT |
| LOW | host-contracts/LZ_BRIDGE_WIRING_RUNBOOK.md | 62 | ## Step 2 - Recreate bridge deployments | COMMENT |
| LOW | host-contracts/LZ_BRIDGE_WIRING_RUNBOOK.md | 92 | ## Step 3 - Generate LayerZero wiring transactions | COMMENT |
| LOW | host-contracts/LZ_BRIDGE_WIRING_RUNBOOK.md | 118 | ## Step 4 - Augment previous wiring transactions with setDstChainId calls | COMMENT |
| LOW | host-contracts/LZ_BRIDGE_WIRING_RUNBOOK.md | 139 | ## Step 5 - Execute Ethereum-side wiring via Aragon | COMMENT |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | listener/crates/shared/broker/tests/redis_e2e.rs | 340 | // Step 2: handler — from broker | COMMENT |
| LOW⚡ | listener/crates/shared/broker/tests/redis_e2e.rs | 349 | // Step 3: run consumer in background | COMMENT |
| LOW | listener/crates/shared/broker/tests/redis_e2e.rs | 482 | // Step 2: handler — from broker; fails on the first two calls, succeeds on the third | COMMENT |
| LOW | listener/crates/shared/broker/tests/redis_e2e.rs | 548 | // Step 2: handler — from broker | COMMENT |
| LOW | listener/crates/shared/broker/tests/redis_e2e.rs | 618 | // Step 2: handler — from broker; always fails so the message exhausts max_retries | COMMENT |
| LOW⚡ | listener/crates/shared/broker/tests/amqp_e2e.rs | 139 | // Step 2: handler — from broker | COMMENT |
| LOW⚡ | listener/crates/shared/broker/tests/amqp_e2e.rs | 148 | // Step 3: run consumer in background | COMMENT |
| LOW | listener/crates/shared/broker/tests/amqp_e2e.rs | 253 | // Step 2: handler — from broker; fails on the first two calls, succeeds on the third | COMMENT |
| LOW | listener/crates/shared/broker/tests/amqp_e2e.rs | 328 | // Step 2: handler — from broker | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 442 | // Step 2: Process under lock. The lock spans the cron sleep inside | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 447 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 452 | // Step 4: Publish next iteration AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 518 | // Step 2: Process under lock. The lock spans the cron sleep inside | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 523 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 528 | // Step 4: Publish next iteration AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 594 | // Step 2: Process under lock. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 597 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 602 | // Step 4: Publish continuation message AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 684 | // Step 0: Inactive flow — skip and end the loop deliberately. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 690 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 708 | // Step 2: Process under lock. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 711 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 716 | // Step 4: Publish continuation message AFTER lock release, then Ack. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 786 | // Step 2: Process under lock. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 789 | // Step 3: Release lock BEFORE publishing (eliminates race with other handlers). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/workers.rs | 794 | // Step 4: Publish cursor resume AFTER lock release, then Ack. | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 426 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 502 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 576 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW | listener/crates/listener_core/src/core/workers.rs | 770 | // Step 1: Try to acquire the distributed lock (non-blocking). | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 596 | // Step 5: Create shared state for producer-consumer coordination | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 601 | // Step 6: Spawn both tasks concurrently | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1859 | // Step 5: Create shared state for producer-consumer coordination | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1864 | // Step 6: Spawn both tasks concurrently | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1883 | // Step 7: Await both tasks to completion. | COMMENT |
| LOW⚡ | listener/crates/listener_core/src/core/evm_listener.rs | 1893 | // Step 8: Unwrap JoinHandle results — a JoinError means the task panicked, | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 528 | // Step 1: Get the latest canonical block from DB (the "tip" of our chain view). | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 557 | // Step 2: Get the current chain height from the RPC node | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 570 | // Step 3: If the chain hasn't advanced beyond our DB tip, there's nothing to do | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 581 | // Step 4: Calculate the inclusive range [range_start, range_end] | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 623 | // Step 7: Await both tasks to completion. | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 635 | // Step 8: Unwrap JoinHandle results — a JoinError means the task panicked, | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 654 | // Step 9: Analyze outcomes — cursor takes priority since it's the authority | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1794 | // Step 1: Get the latest final block from DB (the finality tip). | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1822 | // Step 2: Get the current final block number from the RPC node | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1835 | // Step 3: If finality hasn't advanced beyond our tip, there's nothing to do | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1846 | // Step 4: Calculate the inclusive range [range_start, range_end] | COMMENT |
| LOW | listener/crates/listener_core/src/core/evm_listener.rs | 1911 | // Step 9: Analyze outcomes — the consumer takes priority since it's the | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 66 | // Step 1: Check if block exists and its current status | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 85 | // Step 2: Mark other canonical blocks at same height as UNCLE (before INSERT to | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 99 | // Step 3: Insert or update the block as CANONICAL | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 167 | // Step 1: Check if block exists and its current status | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 189 | // Step 2: Mark other canonical blocks at same height as UNCLE | COMMENT |
| LOW | …tes/listener_core/src/store/repositories/block_repo.rs | 202 | // Step 3: Insert or update the block as CANONICAL | COMMENT |
| LOW⚡ | …ne/host-listener/tests/stack_version_listener_tests.rs | 132 | // Step 1: the listener is live and reacts. It reconciles on startup as well | COMMENT |
| LOW⚡ | …ne/host-listener/tests/stack_version_listener_tests.rs | 140 | // Step 2: replace the pool through the production path. This closes the | COMMENT |
| LOW | …ne/host-listener/tests/stack_version_listener_tests.rs | 152 | // Step 3: a transition the listener must still see. Before the fix the task | COMMENT |
| LOW⚡ | coprocessor/fhevm-engine/zkproof-worker/src/verifier.rs | 691 | // Step 1: Deserialize and verify the proof | COMMENT |
| LOW⚡ | coprocessor/fhevm-engine/zkproof-worker/src/verifier.rs | 695 | // Step 2: Compute blob hash used to seed the compact-list re-randomization | COMMENT |
| LOW⚡ | coprocessor/fhevm-engine/zkproof-worker/src/verifier.rs | 701 | // Step 3: Re-randomize the verified compact list, then expand | COMMENT |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ayer/src/gateway/arbitrum/transaction/nonce_manager.rs | 36 | /// A robust, in-memory nonce manager for a scalable transaction engine. | COMMENT |
| MEDIUM | …ayer/src/gateway/arbitrum/transaction/nonce_manager.rs | 178 | /// Implements the `NonceManager` trait for seamless integration with Alloy's provider stack. | COMMENT |
| MEDIUM | sdk/js-sdk/scripts/wasm/tfhe/startWorkers.template.js | 64 | // once on the main thread (via environment.ts isBrowserLike, robust to bundler | COMMENT |
| MEDIUM | sdk/js-sdk/src/core/modules/encrypt/module/init-p.ts | 471 | // (robust to bundler `process` shims) — the worker bootstrap no longer detects it. | COMMENT |
| MEDIUM | sdk/js-sdk/src/wasm/tfhe/v1.8.1/startWorkers.js | 64 | // once on the main thread (via environment.ts isBrowserLike, robust to bundler | COMMENT |
| MEDIUM⚡ | .github/workflows/test-suite-consensus.yml | 166 | # Stack-only selections also need their harness checked before provisioning. | COMMENT |
| MEDIUM⚡ | .github/workflows/test-suite-consensus.yml | 686 | # GPU provisioning requires both a GPU plan and successful harness checks. | COMMENT |
| MEDIUM | …ows/sdk-cleartext-publish-host-contracts-cleartext.yml | 17 | # A reusable workflow cannot elevate the caller's GITHUB_TOKEN: whatever sdk-cleartext-publish-package.yml | COMMENT |
| MEDIUM | …/workflows/sdk-cleartext-publish-hardhat-plugin-v2.yml | 17 | # A reusable workflow cannot elevate the caller's GITHUB_TOKEN: whatever sdk-cleartext-publish-package.yml | COMMENT |
| MEDIUM | …/workflows/sdk-cleartext-publish-hardhat-plugin-v3.yml | 17 | # A reusable workflow cannot elevate the caller's GITHUB_TOKEN: whatever sdk-cleartext-publish-package.yml | COMMENT |
| MEDIUM | test-suite/fhevm/consensus/inventory.yaml | 1276 | # ---------------------------------------------------------------- harness contracts | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-degraded-consensus.sh | 111 | # Service churn can leave the harness resolver unable to resolve names even | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-degraded-consensus.sh | 113 | # the harness when resolution does not recover; restarting alone can retain | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-stackless-cases.sh | 4 | # harness HAR-01, HAR-02, HAR-03, MAT-05-CANARY-CLASSES | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-stackless-cases.sh | 15 | # scripts/run-stackless-cases.sh [--leg harness|comparator|rust-regression|all] | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-failure-matrix.sh | 270 | # Service churn can leave the harness resolver unable to resolve names even | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-failure-matrix.sh | 272 | # the harness when resolution does not recover; restarting alone can retain | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/lib/gpu02-transport.sh | 3 | # their normal transport, and no production module imports harness code. | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/lib/gpu-session.sh | 38 | # fleet from inside the harness. | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/lib/suite-process.sh | 205 | # Reuse the same idle harness filesystem: its private recovery journal | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/lib/suite-process.sh | 223 | # A replacement destroys the old harness filesystem. Quiesce its owned work, | COMMENT |
| MEDIUM | …te/fhevm/docker-compose/coprocessor-docker-compose.yml | 53 | # a crash loop. The harness resets exhausted retry budgets with an explicit | COMMENT |
| MEDIUM | …t-suite/gateway-stress/src/blockchain/nonce_manager.rs | 13 | /// A robust, in-memory nonce manager for a scalable transaction engine. | COMMENT |
| MEDIUM | …t-suite/gateway-stress/src/blockchain/nonce_manager.rs | 106 | // Implements the `NonceManager` trait for seamless integration with Alloy's provider stack. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | test-suite/fhevm/src/consensus/fork-replay.test.ts | 46 | elif [[ "$1" == exec && "$3" == node ]]; then | CODE |
| HIGH⚡ | test-suite/fhevm/src/consensus/fork-replay.test.ts | 48 | elif [[ "$1" == exec && "$3" == cat ]]; then | CODE |
| HIGH⚡ | test-suite/fhevm/src/consensus/fork-replay.test.ts | 57 | elif [[ "$2" == f5-verify ]]; then echo VERIFIED; fi | CODE |
| HIGH | …suite/fhevm/src/consensus/upgrade-interruption.test.ts | 28 | elif [[ "$MODE" == after-cutover-commit ]]; then echo v0.15; | CODE |
| HIGH | test-suite/fhevm/src/consensus/runner-recovery.test.ts | 326 | print('127.0.0.1 db'); sys.exit(0) | CODE |
| HIGH⚡ | test-suite/fhevm/src/consensus/build-receipt.test.ts | 44 | elif [[ "$1" == inspect ]]; then | CODE |
| HIGH⚡ | test-suite/fhevm/src/consensus/build-receipt.test.ts | 48 | elif [[ "$3" == '{{.Image}}' ]]; then | CODE |
| HIGH⚡ | test-suite/fhevm/src/consensus/build-receipt.test.ts | 51 | elif [[ "$1" == image ]]; then : | CODE |
| HIGH | …suite/fhevm/src/consensus/topology-observation.test.ts | 22 | elif [[ "$1" == exec ]]; then | CODE |
| HIGH | …evm/src/consensus/key-application-interruption.test.ts | 31 | elif [[ "$MODE" == parent-exit || -e "$TRACE.stopped" ]]; then echo 0; | CODE |
| HIGH | …evm/src/consensus/key-application-interruption.test.ts | 32 | elif [[ "$MODE" == early-release && ! -e "$TRACE.polled" ]]; then touch "$TRACE.polled"; echo 0; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | listener/docker-compose.yaml | 3 | # Usage: | COMMENT |
| LOW | ci/preview-env/scripts/bg/bg-propose-raw.sh | 17 | # Usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/verify.ts | 6 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/verify.ts | 33 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/verify.ts | 59 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/enableModule.ts | 6 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/accounts.ts | 7 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/deploy.ts | 8 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/deploy.ts | 108 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/safe/tasks/deploy.ts | 149 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/safe/tasks/safeOwnershipTransfer.ts | 41 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/safe/tasks/safeOwnershipTransfer.ts | 112 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/safe/tasks/safeOwnershipTransfer.ts | 135 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/safe/tasks/safeOwnershipTransfer.ts | 203 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/safe/tasks/safeOwnershipTransfer.ts | 260 | // Example usage: | COMMENT |
| LOW | …tracts/contracts/pauserSetWrapper/tasks/deployMocks.ts | 23 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/staking/tasks/verify.ts | 11 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/staking/tasks/verify.ts | 38 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/staking/tasks/verify.ts | 63 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/staking/tasks/verify.ts | 90 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/staking/tasks/verify.ts | 106 | // Example usage: | COMMENT |
| LOW | protocol-contracts/contracts/staking/tasks/accounts.ts | 7 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/staking/tasks/addEligibleAccount.ts | 12 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/staking/tasks/addEligibleAccount.ts | 61 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/staking/tasks/addEligibleAccount.ts | 79 | // Example usage: | COMMENT |
| LOW | …ontracts/contracts/staking/tasks/addEligibleAccount.ts | 96 | // Example usage: | COMMENT |
| LOW | …ntracts/staking/tasks/ownership/zamaTokenMinterRole.ts | 42 | // Example usage: | COMMENT |
| LOW | …staking/tasks/ownership/protocolStakingGovernorRole.ts | 45 | // Example usage: | COMMENT |
| LOW | …/staking/tasks/ownership/protocolStakingManagerRole.ts | 75 | // Example usage: | COMMENT |
| LOW | …/staking/tasks/ownership/protocolStakingManagerRole.ts | 92 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/operatorStaking.ts | 83 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/operatorStaking.ts | 121 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/operatorStaking.ts | 159 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/operatorStaking.ts | 175 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/operatorStaking.ts | 191 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/protocolStaking.ts | 67 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/protocolStaking.ts | 84 | // Example usage: | COMMENT |
| LOW | …/contracts/staking/tasks/deployment/protocolStaking.ts | 101 | // Example usage: | COMMENT |
| LOW | …racts/staking/tasks/deployment/upgrades/luganodesV2.ts | 56 | // Example usage: | COMMENT |
| LOW | …racts/staking/tasks/deployment/upgrades/luganodesV2.ts | 64 | // Example usage: | COMMENT |
| LOW⚡ | sdk/js-sdk/contracts/scripts/fhevm-deploy.sh | 34 | # Usage: | COMMENT |
| LOW | test-suite/fhevm/scenarios/three-of-three-fork.yaml | 26 | ## Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | listener/config/listener-default.yaml | 3 | # This file is the single source of truth for all listener config defaults. | COMMENT |
| MEDIUM⚡ | listener/config/erpc-base.yaml | 8 | # This file is the default baseConfig in the Helm chart. | COMMENT |
| MEDIUM | charts/listener/configs/listener-default.yaml | 3 | # This file is the single source of truth for all listener config defaults. | COMMENT |
| MEDIUM⚡ | charts/listener/configs/erpc-base.yaml | 8 | # This file is the default baseConfig in the Helm chart. | COMMENT |
| MEDIUM⚡ | .github/hooks/install.sh | 3 | # Define the directory containing the custom hook scripts | COMMENT |
| MEDIUM⚡ | .github/hooks/install.sh | 6 | # Define the Git hooks directory | COMMENT |
| MEDIUM⚡ | .github/hooks/install.sh | 12 | # Create the hooks directory if it doesn't exist | COMMENT |
| MEDIUM | …t-suite/fhevm/templates/config/kms-core-threshold.toml | 5 | # This file is the static, cluster-shared base. Two kinds of values are NOT final here: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/protocol/architecture/gateway.md | 36 | ### Decryption orchestration | COMMENT |
| MEDIUM | relayer/README.md | 78 | ├── orchestrator/ # Event orchestration system | CODE |
| MEDIUM | relayer/README.md | 82 | ├── startup_recovery.rs # Startup recovery orchestration | CODE |
| MEDIUM | …hub/workflows/test-suite-orchestrate-e2e-gpu-tests.yml | 5 | # Same orchestration as test-suite-orchestrate-e2e-tests: build every repo-owned | COMMENT |
| MEDIUM | …hub/workflows/test-suite-orchestrate-e2e-gpu-tests.yml | 121 | # Every non-worker service, from this ref, exactly as the CPU orchestration | COMMENT |
| MEDIUM | …thub/workflows/test-suite-e2e-threshold-post-merge.yml | 4 | # main. These legs used to run inside the merge-queue orchestration, where they were | COMMENT |
| MEDIUM | …thub/workflows/test-suite-e2e-threshold-post-merge.yml | 9 | # of test-suite-orchestrate-e2e-tests.yml with `run-threshold-legs: true`. | COMMENT |
| MEDIUM | .github/workflows/coprocessor-gpu-docker-build.yml | 51 | # Callable, so the e2e-on-GPU orchestration can build the workers it is about | COMMENT |
| MEDIUM | .github/workflows/coprocessor-docker-build.yml | 136 | # orchestration reads that as "no diff", and the stack silently runs a stale | COMMENT |
| MEDIUM | test-suite/fhevm/scripts/run-failure-matrix.sh | 506 | # invocation and enabling isolated tests of the actual orchestration. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …or/fhevm-engine/gw-listener/tests/gw_listener_tests.rs | 241 | "SELECT last_block_num FROM gw_listener_last_block WHERE dummy_id = TRUE", | CODE |
| LOW | …or/fhevm-engine/gw-listener/tests/gw_listener_tests.rs | 479 | "SELECT last_block_num FROM {gcs_schema}.gw_listener_last_block WHERE dummy_id = true" | CODE |
| LOW | coprocessor/fhevm-engine/gw-listener/src/gw_listener.rs | 1161 | (dummy_id, last_block_num, earliest_open_ct_commits_block) | CODE |
| LOW | coprocessor/fhevm-engine/gw-listener/src/gw_listener.rs | 1163 | ON CONFLICT (dummy_id) DO UPDATE SET | CODE |
| LOW | coprocessor/fhevm-engine/gw-listener/src/gw_listener.rs | 1197 | "INSERT into gw_listener_last_block (dummy_id, last_block_num, earliest_open_ct_commits_block) | CODE |
| LOW | coprocessor/fhevm-engine/gw-listener/src/gw_listener.rs | 1199 | ON CONFLICT (dummy_id) DO UPDATE SET | CODE |
| LOW | coprocessor/fhevm-engine/gw-listener/src/gw_listener.rs | 1242 | WHERE dummy_id = true | CODE |
| LOW | coprocessor/fhevm-engine/gw-listener/src/gw_listener.rs | 1433 | WHERE dummy_id = true" | CODE |
| LOW⚡ | coprocessor/fhevm-engine/upgrade-controller/src/lib.rs | 5251 | (dummy_id, last_block_num) | CODE |
| LOW⚡ | coprocessor/fhevm-engine/upgrade-controller/src/lib.rs | 5261 | "INSERT INTO public.gw_listener_last_block (dummy_id, last_block_num) | CODE |
| LOW⚡ | coprocessor/fhevm-engine/upgrade-controller/src/lib.rs | 5263 | ON CONFLICT (dummy_id) DO UPDATE SET last_block_num = EXCLUDED.last_block_num", | CODE |
| LOW | coprocessor/fhevm-engine/upgrade-controller/src/lib.rs | 1037 | WHERE dummy_id = true), | CODE |
| LOW | coprocessor/fhevm-engine/upgrade-controller/src/lib.rs | 1047 | WHERE dummy_id = true), | CODE |
| LOW | coprocessor/fhevm-engine/upgrade-controller/src/lib.rs | 4433 | sqlx::query(&format!("INSERT INTO {schema}.gw_listener_last_block (dummy_id,last_block_num) VALUES (TRUE | CODE |
| LOW | …vm-engine/upgrade-controller/src/coprocessor_tables.rs | 134 | // Singleton row (dummy_id PK); merged so the GCS gw-listener's last-seen | COMMENT |
| LOW | …vm-engine/upgrade-controller/src/coprocessor_tables.rs | 139 | conflict_cols: &["dummy_id"], | CODE |
| LOW | …ssor/fhevm-engine/consensus-detector/src/state_hash.rs | 718 | WHERE dummy_id = true" | CODE |
| LOW | …ssor/fhevm-engine/consensus-detector/src/state_hash.rs | 791 | WHERE dummy_id = true), | CODE |
| LOW | …e9efcc733a594dabf67663d7ed4ec8807bab3e9aab8659844.json | 3 | "query": "INSERT into gw_listener_last_block (dummy_id, last_block_num, earliest_open_ct_commits_block)\n VALUE | CODE |
| LOW | …f7c9abc7ac129d246a9e596fb71edb1d0b9338e392b8a1134.json | 3 | "query": "\n SELECT last_block_num, earliest_open_ct_commits_block\n FROM gw_listener_last_block\n | CODE |
| LOW | test-suite/e2e/test/consensus/degradedConsensus.ts | 97 | 'SELECT last_block_num::text FROM gw_listener_last_block WHERE dummy_id = TRUE', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/benchmark_parser.py | 170 | except Exception as err: | CODE |
| LOW | ci/benchmark_parser.py | 299 | except Exception as err: | CODE |
| LOW | ci/preview-env/scripts/deploy/kms-context-switch.sh | 118 | except Exception as exc: | CODE |
| LOW | ci/preview-env/scripts/deploy/kms-context-switch.sh | 134 | except Exception as exc: | CODE |
| LOW | ci/preview-env/scripts/deploy/kms-context-switch.sh | 155 | except Exception as exc: | CODE |
| LOW | ci/preview-env/scripts/deploy/kms-context-switch.sh | 171 | except Exception as exc: | CODE |
| LOW | ci/preview-env/scripts/wallets/fund-wallets.py | 150 | except Exception as exc: # noqa: BLE001 — Job should fail loud | CODE |
| LOW | …-engine/transaction-sender/scripts/run-gateway-soak.py | 16 | except Exception: raise RuntimeError('Gateway preflight failed; raw diagnostic withheld') from None | CODE |
| LOW | …-engine/transaction-sender/scripts/run-gateway-soak.py | 60 | except Exception as error: | CODE |
| MEDIUM | …-engine/transaction-sender/scripts/run-gateway-soak.py | 12 | def rpc(m,p): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …naOFT/deployments/ethereum-mainnet/ZamaOFTAdapter.json | 1353 | "metadata": "{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{ | CODE |
| MEDIUM | …/solanaOFT/deployments/ethereum-mainnet/ZamaERC20.json | 1379 | "metadata": "{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{ | CODE |
| MEDIUM | …naOFT/deployments/ethereum-testnet/ZamaOFTAdapter.json | 1353 | "metadata": "{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\" | CODE |
| MEDIUM | …/solanaOFT/deployments/ethereum-testnet/ZamaERC20.json | 1379 | "metadata": "{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\" | CODE |
| MEDIUM | .github/workflows/codeql.yml | 52 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …essor/fhevm-engine/tfhe-worker/src/tests/migrations.rs | 5 | // Mostly auto-generated by AI. Could use some cleaning but covers the main scenarios. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | listener/scripts/ct-lint-extras.sh | 47 | # Check if this target changed vs the target branch | COMMENT |
| LOW | ci/check_spdx_licenses.sh | 32 | # Check if file matches any exclude pattern | COMMENT |
| LOW | sdk/js-sdk/scripts/utils/compile-FHETest.sh | 94 | # Check if FHETest.sol is already deployed | COMMENT |
| LOW | …b/workflows/host-contracts-docker-deployment-tests.yml | 80 | # Check if the container exited with success (exit code 0) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/benchmark_parser.py | 116 | CODE | |
| LOW | ci/local_docs_link_check.py | 130 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | relayer/src/bin/console-mock.rs | 1 | // TODO: implement console mock here | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/js-sdk/src/core/base/bytes.ts | 1009 | * function processData(data: unknown) { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/preview-env/scripts/wallets/fund-wallets.py | 10 | CODE |