Public Trust Directory / TypeScript / Document Processing

Hopper OCR Engine

hopperlabs-ai/hopper-engines-ocr

Structured document extraction and OCR pipeline engine with verification artifacts and deterministic test fixtures.

commit b925a55129 files (2.05 MB)Gate: ALLOWPublish: publishableAudited 2026-11-28

5-Dimension Deterministic Rubric

Trust Score Breakdown

Weights automatically renormalize across applicable verified dimensions. Non-applicable dimensions (e.g., Smart Contract Security when no .sol contracts exist) are explicitly marked rather than silently granted 100%.

Code Securitycode_security28/100 · Weight 36%
Confidence: 100% · Findings: C:0 H:4 M:0 L:0

4 verified code/workflow finding(s) across builtin-static + semgrep.

Supply Chain & Hygienesupply_chain_hygiene32/100 · Weight 29%
Confidence: 100% · Findings: C:0 H:3 M:1 L:2

6 verified supply-chain/hygiene finding(s); OSV scanner verified.

Secrets Posturesecrets_posture100/100 · Weight 36%
Confidence: 100% · Findings: C:0 H:0 M:0 L:0

0 distinct verified secret finding(s); gitleaks verified.

Smart Contract Securitysmart_contract_securityNot Applicable (0% weight)
Confidence: 0% · Findings: C:0 H:0 M:0 L:0

Not applicable: no Solidity (.sol) contracts in repository.

Web Surface Postureweb_surface_postureNot Applicable (0% weight)
Confidence: 0% · Findings: C:0 H:0 M:0 L:0

Not applicable: no web posture URL or snapshot provided.

Accepted Post-Refutation Findings (10)

Verified Findings

Every finding below passed receipt integrity checks, file-line citation hashing, and independent refutation review.

HIGHOSV-GHSA-46jr-4wx8-v453osv-scanner
bun.lock

Vulnerable dependency @modelcontextprotocol/server@2.1.0 (GHSA-46jr-4wx8-v453)

MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation

Evidence: @modelcontextprotocol/server@2.1.0

Independent Refutation Verdict (confirmed): Confirmed: deterministic finding from "dependency" (osv-scanner) has verified evidence receipts and executable source citations.
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-fc47de38f1e44663 · Receipt: rcpt_cf726dbbafce8a28 · Line SHA-256: 021fb596db81e6d0…

Remediation: Upgrade @modelcontextprotocol/server to a patched release that resolves GHSA-46jr-4wx8-v453.

HIGHOSV-GHSA-jm63-cq47-j5jposv-scanner
bun.lock

Vulnerable dependency @modelcontextprotocol/server@2.1.0 (GHSA-jm63-cq47-j5jp)

MCP TypeScript server SDK: Shared transport or server instances delivered one HTTP client's messages to another

Evidence: @modelcontextprotocol/server@2.1.0

Independent Refutation Verdict (confirmed): Confirmed: deterministic finding from "dependency" (osv-scanner) has verified evidence receipts and executable source citations.
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-7a8c9066cc541809 · Receipt: rcpt_cf726dbbafce8a28 · Line SHA-256: 021fb596db81e6d0…

Remediation: Upgrade @modelcontextprotocol/server to a patched release that resolves GHSA-jm63-cq47-j5jp.

HIGHOSV-GHSA-mrhx-c7xc-m3w5osv-scanner
bun.lock

Vulnerable dependency zod@4.6.2 (GHSA-mrhx-c7xc-m3w5)

Zod can exhaust memory while validating oversized constrained collections

Evidence: zod@4.6.2

Independent Refutation Verdict (confirmed): Confirmed: deterministic finding from "dependency" (osv-scanner) has verified evidence receipts and executable source citations.
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-3005828993e8ff3b · Receipt: rcpt_cf726dbbafce8a28 · Line SHA-256: 021fb596db81e6d0…

Remediation: Upgrade zod to a patched release that resolves GHSA-mrhx-c7xc-m3w5.

HIGHSEMGREP-hopper-js-child-process-exec-dynamicsemgrep
scripts/build-native.ts:62

Semgrep: hopper-js-child-process-exec-dynamic

Executing shell commands with dynamically constructed strings risks command injection.

Evidence: hopper-js-child-process-exec-dynamic

Independent Refutation Verdict (confirmed): Confirmed via rule "command-injection": Observed shell/process execution sink on cited lines. [scripts/build-native.ts:62-62]
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-61e79fd4d1cd221a · Receipt: rcpt_64d819ddf39e150d · Line SHA-256: f35f336896652bdf…

Remediation: Remediate the flagged code pattern according to the Semgrep rule guidance.

HIGHJS-CHILD-PROCESS-SHELLbuiltin-static
scripts/build-native.ts:62

Shell command interpolation or shell execution mode

Executing commands via a shell with interpolated/concatenated arguments risks command injection.

Evidence: return /^Identifier=(.+)$/mu.exec(`${said.stdout}\n${said.stderr}`)?.[1]?.trim() ?? null;

Independent Refutation Verdict (confirmed): Confirmed via rule "command-injection": Observed shell/process execution sink on cited lines. [scripts/build-native.ts:62-62]
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-fb054f5745e4d746 · Receipt: rcpt_59ef34085374629e · Line SHA-256: f35f336896652bdf…

Remediation: Use execFile/spawn with an explicit argv array and shell: false so user data cannot alter command structure.

HIGHSEMGREP-hopper-js-child-process-exec-dynamicsemgrep
scripts/package-runtime.ts:75

Semgrep: hopper-js-child-process-exec-dynamic

Executing shell commands with dynamically constructed strings risks command injection.

Evidence: hopper-js-child-process-exec-dynamic

Independent Refutation Verdict (confirmed): Confirmed via rule "command-injection": Observed shell/process execution sink on cited lines. [scripts/package-runtime.ts:75-75]
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-749f91d2109dd26d · Receipt: rcpt_64d819ddf39e150d · Line SHA-256: 4acf6665f2d97b25…

Remediation: Remediate the flagged code pattern according to the Semgrep rule guidance.

HIGHJS-CHILD-PROCESS-SHELLbuiltin-static
scripts/package-runtime.ts:75

Shell command interpolation or shell execution mode

Executing commands via a shell with interpolated/concatenated arguments risks command injection.

Evidence: const identity=/^Identifier=(.+)$/mu.exec(`${said.stdout}\n${said.stderr}`)?.[1]?.trim();

Independent Refutation Verdict (confirmed): Confirmed via rule "command-injection": Observed shell/process execution sink on cited lines. [scripts/package-runtime.ts:75-75]
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-cb7f96c87b0f10f5 · Receipt: rcpt_59ef34085374629e · Line SHA-256: 4acf6665f2d97b25…

Remediation: Use execFile/spawn with an explicit argv array and shell: false so user data cannot alter command structure.

MEDIUMOSV-GHSA-rvq5-wwqv-78pqosv-scanner
bun.lock

Vulnerable dependency @modelcontextprotocol/server@2.1.0 (GHSA-rvq5-wwqv-78pq)

MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service

Evidence: @modelcontextprotocol/server@2.1.0

Independent Refutation Verdict (confirmed): Confirmed: deterministic finding from "dependency" (osv-scanner) has verified evidence receipts and executable source citations.
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-54abe9055b786b09 · Receipt: rcpt_cf726dbbafce8a28 · Line SHA-256: 021fb596db81e6d0…

Remediation: Upgrade @modelcontextprotocol/server to a patched release that resolves GHSA-rvq5-wwqv-78pq.

LOWHYG-MISSING-LICENSEbuiltin-static
repository-root

Missing LICENSE file

Repository root does not declare a LICENSE file.

Independent Refutation Verdict (confirmed): Confirmed: deterministic finding from "sast" (builtin-static) has verified evidence receipts and executable source citations.
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-71085b0a9cf04446 · Receipt: rcpt_59ef34085374629e · Line SHA-256: 021fb596db81e6d0…

Remediation: Add an explicit LICENSE file at the repository root clarifying usage and redistribution terms.

LOWHYG-MISSING-SECURITY-MDbuiltin-static
repository-root

Missing SECURITY.md policy

Repository does not contain a SECURITY.md vulnerability reporting policy.

Independent Refutation Verdict (confirmed): Confirmed: deterministic finding from "sast" (builtin-static) has verified evidence receipts and executable source citations.
Refuter: hopper.deterministic-rule-refuter · Refutation ID: ref-77c66f203cc86e9c · Receipt: rcpt_59ef34085374629e · Line SHA-256: 021fb596db81e6d0…

Remediation: Add SECURITY.md at the repository root or under .github/SECURITY.md documenting responsible disclosure channels.

Transparent False-Positive Elimination (0)

Refuted Findings (0 Score Impact)

Findings disproved by independent refutation are never silently deleted — they are published here with full rationale and carry strictly 0 score impact.

0 refuted findings on this commit. All 10 deterministic scanner candidate(s) passed independent citation and pattern verification without false-positive refutation.

Fail-Closed Quarantine (0)

Unverified Hypotheses (0 Score Impact)

Any candidate lacking verified deterministic evidence, valid line citations, or a conclusive independent refutation verdict is quarantined here and excluded from scoring.

0 unverified hypotheses. No ungrounded LLM claims or unverified scanner records were present on commit b925a55.

Honest Coverage Disclosure

What Was Verified vs. What Was Not Verified

Auditeur explicitly discloses every scanner that ran, every scanner unavailable in this host environment, and every scanner skipped due to repository scope.

ScannerStatusVersionFindingsCoverage Note / ReasonReceipt Digest
Aderyn Solidity Analyzer
aderyn
SKIPPED—0No Solidity (.sol) files detected in repositorysha256:ac93195b2…d1af62af
Hopper Built-in Static Analyzer
builtin-static
EXECUTED0.1.04Executed cleanly against commit-pinned workspace.sha256:e3a2fcf86…b5524a83
Gitleaks Secret Scanner
gitleaks
EXECUTED8.30.10Executed cleanly against commit-pinned workspace.sha256:cd169ab48…1a667f46
OSV Vulnerability Scanner
osv-scanner
EXECUTED2.7.14Executed cleanly against commit-pinned workspace.sha256:c4a7509b7…e8039f53
Semgrep Static Analysis
semgrep
EXECUTED1.187.02Executed cleanly against commit-pinned workspace.sha256:603ccc9c4…00dabde7
Slither Smart Contract Analyzer
slither
SKIPPED—0No Solidity (.sol) files detected in repositorysha256:40e7addd1…31bd0747

Verified Coverage Areas (6)

  • code_security:builtin-static
  • code_security:semgrep
  • secrets_posture:builtin-static
  • secrets_posture:gitleaks
  • supply_chain_hygiene:builtin-static
  • supply_chain_hygiene:osv-scanner

Not Verified / Out of Scope (1)

  • web_surface_posture (not_requested)

Developer Integration & External Verification

Embed Trust Badge & CI SARIF Gate

Pin this verified security grade in your repository README, enforce deterministic SARIF policy gates in GitHub Actions, or inspect the canonical EIP-712 AuditProofV1 typed-data digest for external verifiers.

README Trust Badge, GitHub Actions SARIF Gate & EIP-712 Digest PreviewCopy-Ready Snippets

1. README Markdown Trust Badge

Links directly to this commit-pinned report and serves the deterministic SVG badge.

Auditeur Security Grade C- (55/100) for hopperlabs-ai/hopper-engines-ocr
[![Auditeur Security Grade C- (55/100)](https://auditeur.hopperlabs.ai/badges/hopper-engines-ocr.svg)](https://auditeur.hopperlabs.ai/reports/hopper-engines-ocr)

2. GitHub Actions CI SARIF Gate

Runs hopper-code-audit --sarif on pull requests and uploads results via github/codeql-action/upload-sarif@v3.

name: Auditeur Security Gate
on: [pull_request, push]

permissions:
  contents: read
  security-events: write

jobs:
  auditeur-sarif:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: oven-sh/setup-bun@v2
      - name: Run deterministic code audit (SARIF)
        run: |
          bunx hopper-code-audit . \
            --sarif auditeur.sarif \
            --fail-on high
      - name: Upload SARIF to GitHub Code Scanning
        if: always()
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: auditeur.sarif
          category: auditeur-hopper-engines-ocr

3. EIP-712 AuditProofV1 Digest Preview (External Verifiers)

Exact HopperAuditProof v1 struct hash (chain-agnostic) and reference digest (chainId=0, verifyingContract=0x00…00) for independent verifiers. Auditeur stays strictly isolated from token, wallet, or protocol UIs.

AuditProofV1 Struct Hash (Chain-Agnostic)
0x5f9fa75467dfe99640b7d1b8f3bfc30c2a1eee759ff65231531663793ce5d0f5
Reference EIP-712 Digest (HopperAuditProof v1)
0xb7d7913762dd6c201d71951a0dfa6ffbd0f9a50152a0e1a89a19bd030ff9cc1f
Target Hash · keccak256(targetId)
0xe7f89fc58567a43250dfa02f921f07f3005b280815a1d272cf14ce668cfdcbab
Commit Hash · keccak256(commitSha)
0xa3538605546a9d0fe87e993528c2ef580e8d7d25793780d7217b567621a7aafa
{
  "domain": {
    "name": "HopperAuditProof",
    "version": "1",
    "chainId": 0,
    "verifyingContract": "0x0000000000000000000000000000000000000000"
  },
  "typeString": "AuditProofV1(bytes32 targetHash,bytes32 commitHash,bytes32 receiptRoot,bytes32 reportDigest,uint16 score,uint16 verifiedFindings,uint64 issuedAt,uint64 expiresAt)",
  "typeHash": "0x143234ac9dc6561d13da9b7219261fe397f04ea3330d6556efd8c851ed5ed37b",
  "domainSeparator": "0x5e49b51b0d5ca665a21539ad11521365723869f52e41472fad109750f800581d",
  "structHash": "0x5f9fa75467dfe99640b7d1b8f3bfc30c2a1eee759ff65231531663793ce5d0f5",
  "digest": "0xb7d7913762dd6c201d71951a0dfa6ffbd0f9a50152a0e1a89a19bd030ff9cc1f",
  "message": {
    "targetHash": "0xe7f89fc58567a43250dfa02f921f07f3005b280815a1d272cf14ce668cfdcbab",
    "commitHash": "0xa3538605546a9d0fe87e993528c2ef580e8d7d25793780d7217b567621a7aafa",
    "receiptRoot": "0xffd1eb57fc4ca65e50353aa12ad2c7bc1b6876be727cf737d4ac33a4ec8e68ae",
    "reportDigest": "0xf2fec6fdd134d46eb657deada78710ae4c0e8e9466195e6b9a9a821b145e67f1",
    "score": 55,
    "verifiedFindings": 10,
    "issuedAt": 1795902097,
    "expiresAt": 1803678097
  }
}

Tamper-Evident Attestation

Cryptographic Receipt & Ed25519 Proof

All digests and signatures below are generated directly from @hopper/engines-attestation and can be independently verified client-side with WebCrypto.

Verify in Browser →
SignedAuditProofV1 Envelope & Merkle Receipt RootEd25519 Signed
Proof ID (SHA-256 of Canonical Payload)
sha256:d799cc3492c5bd9fa1ac6836c821bd017342c16027bb51fe03308a88fd208b76
Receipt Merkle Root
sha256:ffd1eb57fc4ca65e50353aa12ad2c7bc1b6876be727cf737d4ac33a4ec8e68ae
Published Report Content Digest
sha256:f2fec6fdd134d46eb657deada78710ae4c0e8e9466195e6b9a9a821b145e67f1
Ed25519 Key ID & Signature Snippet
auditeur-local-dev-ed25519-v1 · sig:6e1FsU9Tuf9RLKBPyJWdTyftgRQ2…
Attestor Key Notice (local-development-attestor): Signed with ephemeral build attestor auditeur-local-dev-ed25519-v1. Public Ed25519 verification key for the ephemeral local development attestor that signed the dogfooded repository reports in this build. Private signing material is discarded immediately after build and never committed to disk. Production attestations use isolated hardware-backed keys.
{
  "schemaVersion": "hopper.audit-proof.v1",
  "algorithm": "Ed25519",
  "proofId": "sha256:d799cc3492c5bd9fa1ac6836c821bd017342c16027bb51fe03308a88fd208b76",
  "keyId": "auditeur-local-dev-ed25519-v1",
  "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAXgN7fTIcTShUX2zsMjvu+m7e95ll4s7PkMQjUp643LM=\n-----END PUBLIC KEY-----\n",
  "signature": "6e1FsU9Tuf9RLKBPyJWdTyftgRQ2cStTql8mbsM8zWEr8lDW3+xk3XdSWH1j8YBs4YKDtI6K6QoE0EcVUHOIBw==",
  "payload": {
    "targetId": "hopperlabs-ai/hopper-engines-ocr",
    "commitSha": "b925a55760e547ccf03b0e80fd64940edc296227",
    "receiptRoot": "0xffd1eb57fc4ca65e50353aa12ad2c7bc1b6876be727cf737d4ac33a4ec8e68ae",
    "reportDigest": "0xf2fec6fdd134d46eb657deada78710ae4c0e8e9466195e6b9a9a821b145e67f1",
    "score": 55,
    "grade": "C-",
    "verifiedFindings": 10,
    "refutedFindings": 0,
    "unverifiedFindings": 0,
    "verifiedScanners": [
      "builtin-static",
      "gitleaks",
      "osv-scanner",
      "semgrep"
    ],
    "unverifiedAreas": [
      "web_surface_posture (not_requested)"
    ],
    "issuedAt": "2026-11-28T21:41:37.812Z",
    "issuedAtUnix": 1795902097,
    "expiresAtUnix": 1803678097
  }
}
All Harness Evidence Receipts (9)sha256:ffd1eb57fc4…ec8e68ae
KindToolStatusReceipt IDOutput DigestReceipt Digest
custodyHopper Repository Custody Collectorexecutedrcpt_28bc49fbc9d80373sha256:5e64082…51705csha256:ad64497…6005fe
gateHopper Pre-Execution Safety Gateexecutedrcpt_529a04a16db61186sha256:86edc9f…608c94sha256:3931aef…b50922
inventoryHopper Repository Inventory Collectorexecutedrcpt_490c1aab0b92e83dsha256:67a1a2a…c4cdebsha256:4a1d2ae…eb3cf3
scannerAderyn Solidity Analyzerskippedrcpt_5d14894da065462fsha256:dfb710d…9de7d7sha256:ac93195…af62af
scannerHopper Built-in Static Analyzerexecutedrcpt_59ef34085374629esha256:2dfc0c2…d045e6sha256:e3a2fcf…524a83
scannerGitleaks Secret Scannerexecutedrcpt_cf19c5503283fd8asha256:872a141…183653sha256:cd169ab…667f46
scannerOSV Vulnerability Scannerexecutedrcpt_cf726dbbafce8a28sha256:76b0258…b239f4sha256:c4a7509…039f53
scannerSemgrep Static Analysisexecutedrcpt_64d819ddf39e150dsha256:ebfcbfd…4db788sha256:603ccc9…dabde7
scannerSlither Smart Contract Analyzerskippedrcpt_114fd0e2d505efb8sha256:dfb710d…9de7d7sha256:40e7add…bd0747