Directory / Open Source

fastify/fastify

c38830f398 files (2.95 MB)2026-11-29

Score Breakdown

Code Security94/100 · 36%
C:0 H:0 M:0 L:8
Supply Chain & Hygiene92/100 · 29%
C:0 H:0 M:1 L:0
Secrets Posture100/100 · 36%
C:0 H:0 M:0 L:0
Smart Contract SecurityN/A
C:0 H:0 M:0 L:0
Web Surface PostureN/A
C:0 H:0 M:0 L:0

Verified Findings (9)

MEDIUMHYG-MISSING-LOCKFILE
package.json

Missing dependency lockfile

Package manifest detected (package.json), but no lockfile is committed for reproducible dependency resolution.

manifests=package.json,test/bundler/esbuild/package.json,test/bundler/webpack/package.json

Fix: Commit the package manager lockfile (e.g., bun.lock, package-lock.json, Cargo.lock, go.sum) to pin transitive dependencies.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/http2/secure-with-fallback.test.js:87

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/http2/secure-with-fallback.test.js:105

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/https/custom-https-server.test.js:48

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/https/https.test.js:43

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/https/https.test.js:59

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/https/https.test.js:69

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/https/https.test.js:108

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

LOWfrom HIGHJS-TLS-REJECT-UNAUTHORIZED-FALSE
test/https/https.test.js:127

TLS certificate verification disabled

Setting rejectUnauthorized: false disables TLS peer verification and enables man-in-the-middle attacks.

rejectUnauthorized: false

Fix: Remove rejectUnauthorized: false and configure trusted CA certificates properly.

Refuted Findings (2) · 0 penaltyFalse positives
REFUTEDGITLEAKS-generic-api-key
test/upgrade.test.js:34

Secret detected (generic-api-key)

Refuted: claimed vulnerability pattern not observed on cited lines. [hardcoded-secret @ test/upgrade.test.js:34-34] No hardcoded credential literal or secret signature found on cited lines (e.g., environment lookup or non-secret code).

REFUTEDGITLEAKS-generic-api-key
test/upgrade.test.js:46

Secret detected (generic-api-key)

Refuted: claimed vulnerability pattern not observed on cited lines. [hardcoded-secret @ test/upgrade.test.js:46-46] No hardcoded credential literal or secret signature found on cited lines (e.g., environment lookup or non-secret code).

Scanner Coverage

ScannerStatusVersionFindingsReceipt
Aderyn Solidity Analyzer
No Solidity (.sol) files detected in repository
SKIPPED—0sha256:07ef3…1da8f2
Hopper Built-in Static AnalyzerEXECUTED0.1.09sha256:550b1…07ed0f
Gitleaks Secret ScannerEXECUTED8.30.12sha256:87dbb…576acb
OSV Vulnerability Scanner
No scannable lockfiles or dependency packages detected by osv-scanner
SKIPPED2.7.10sha256:df6f1…99bd28
Semgrep Static AnalysisEXECUTED1.187.00sha256:39110…3adbe5
Slither Smart Contract Analyzer
No Solidity (.sol) files detected in repository
SKIPPED—0sha256:dc9d0…406ed4

Verified (5)

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

Not Verified (1)

  • web_surface_posture (not_requested)
Embed Badge, CI SARIF Gate & EIP-712Snippets

README Badge

[![Auditeur Security Grade A+ (96/100)](https://auditeur.hopperlabs.ai/badges/fastify-fastify.svg)](https://auditeur.hopperlabs.ai/reports/fastify-fastify)

GitHub Actions SARIF Gate

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 audit (SARIF)
        run: bunx hopper-code-audit . --sarif auditeur.sarif --fail-on high
      - name: Upload SARIF
        if: always()
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: auditeur.sarif
          category: auditeur-fastify-fastify

EIP-712 AuditProofV1 Digest

Struct Hash
0x64e56665c312c01aa7d4930478e233272ee5fbcb1118fdf282db5123fa58ff6d
EIP-712 Digest
0xec1f202d80037a4a78378a2258f1d8825da06df754849c346ee94ac350f02f02
{
  "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": "0x64e56665c312c01aa7d4930478e233272ee5fbcb1118fdf282db5123fa58ff6d",
  "digest": "0xec1f202d80037a4a78378a2258f1d8825da06df754849c346ee94ac350f02f02",
  "message": {
    "targetHash": "0x3d984c4f57e2692708deb88e3aae25de4d40bca198fb50c00583860b6103b0cc",
    "commitHash": "0xa7bcd04cc09cb20d04962c2bf59f56ab3742e23fb94e7342d4723606d60a4e39",
    "receiptRoot": "0x5d430762c0ddd83238d2357b239bfbca39ee1741281f4cf3e0877590f9fed320",
    "reportDigest": "0x70e957da9c5f3937aa55e5add69832f9754a1c9d308affb095f1d4023c7490e8",
    "score": 96,
    "verifiedFindings": 9,
    "issuedAt": 1795913220,
    "expiresAt": 1803689220
  }
}
Signed Proof (Ed25519)sha256:3d36d62af…cd5b9758
Proof ID
sha256:3d36d62afb0a08be68a23a39efa7685eccc0611b404caaeab71ff77ccd5b9758
Receipt Root
sha256:5d430762c0ddd83238d2357b239bfbca39ee1741281f4cf3e0877590f9fed320
{
  "schemaVersion": "hopper.audit-proof.v1",
  "algorithm": "Ed25519",
  "proofId": "sha256:3d36d62afb0a08be68a23a39efa7685eccc0611b404caaeab71ff77ccd5b9758",
  "keyId": "auditeur-local-dev-ed25519-v1",
  "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA5pcx08zDSaYhd7+Ep1OVW5gQpf5Npa81PLuzwgGIhBc=\n-----END PUBLIC KEY-----\n",
  "signature": "PBTARb+rQTcxmAE+BeL+RHc8n6QIR9mIyEYeLT3UXUw9hSukpUj1xdk9kJQv14nWo/0QjT1TV5xqkuGH4ewWAw==",
  "payload": {
    "targetId": "fastify/fastify",
    "commitSha": "c38830f1c658e11d0599ad15cf226f4f7ace7091",
    "receiptRoot": "0x5d430762c0ddd83238d2357b239bfbca39ee1741281f4cf3e0877590f9fed320",
    "reportDigest": "0x70e957da9c5f3937aa55e5add69832f9754a1c9d308affb095f1d4023c7490e8",
    "score": 96,
    "grade": "A+",
    "verifiedFindings": 9,
    "refutedFindings": 2,
    "unverifiedFindings": 0,
    "verifiedScanners": [
      "builtin-static",
      "gitleaks",
      "semgrep"
    ],
    "unverifiedAreas": [
      "web_surface_posture (not_requested)"
    ],
    "issuedAt": "2026-11-29T00:47:00.218Z",
    "issuedAtUnix": 1795913220,
    "expiresAtUnix": 1803689220
  }
}
Receipts (9)sha256:5d430762c…f9fed320
KindToolStatusReceipt Digest
custodyHopper Repository Custody Collectorexecutedsha256:9bdbc16…58fed2
gateHopper Pre-Execution Safety Gateexecutedsha256:88d231c…871049
inventoryHopper Repository Inventory Collectorexecutedsha256:b19f316…d82747
scannerAderyn Solidity Analyzerskippedsha256:07ef37f…1da8f2
scannerHopper Built-in Static Analyzerexecutedsha256:550b1e9…07ed0f
scannerGitleaks Secret Scannerexecutedsha256:87dbb2b…576acb
scannerOSV Vulnerability Scannerskippedsha256:df6f1d4…99bd28
scannerSemgrep Static Analysisexecutedsha256:39110d9…3adbe5
scannerSlither Smart Contract Analyzerskippedsha256:dc9d03c…406ed4