Directory / Open Source

pmndrs/zustand

5d66d53144 files (1.78 MB)2026-11-29

Score Breakdown

Code Security92/100 · 36%
C:0 H:0 M:1 L:0
Supply Chain & Hygiene0/100 · 29%
C:0 H:5 M:7 L:1
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 (15)

HIGHOSV-GHSA-2883-xcg3-v3hh
pnpm-lock.yaml

Vulnerable dependency js-yaml@4.1.1 (GHSA-2883-xcg3-v3hh)

js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources

js-yaml@4.1.1

Fix: Upgrade js-yaml to a patched release that resolves GHSA-2883-xcg3-v3hh.

HIGHOSV-GHSA-52cp-r559-cp3m
pnpm-lock.yaml

Vulnerable dependency js-yaml@4.1.1 (GHSA-52cp-r559-cp3m)

js-yaml: YAML merge-key chains can force quadratic CPU consumption

js-yaml@4.1.1

Fix: Upgrade js-yaml to a patched release that resolves GHSA-52cp-r559-cp3m.

HIGHOSV-GHSA-587h-7wmj-h5pm
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-587h-7wmj-h5pm)

launch-editor: `fs.existsSync()` existence check can be bypassed on Windows

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-587h-7wmj-h5pm.

HIGHOSV-GHSA-5p4m-2wfm-xmqj
pnpm-lock.yaml

Vulnerable dependency js-yaml@4.1.1 (GHSA-5p4m-2wfm-xmqj)

JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported

js-yaml@4.1.1

Fix: Upgrade js-yaml to a patched release that resolves GHSA-5p4m-2wfm-xmqj.

HIGHOSV-GHSA-v2wj-q39q-566r
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-v2wj-q39q-566r)

Vite: `server.fs.deny` bypassed with queries

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-v2wj-q39q-566r.

MEDIUMGHA-UNPINNED-ACTION
.github/workflows/docs.yml:18

Unpinned GitHub Action reference (pmndrs/docs/.github/workflows/build.yml@v4)

Action "pmndrs/docs/.github/workflows/build.yml@v4" is pinned to a mutable tag or branch rather than a full 40-character commit SHA.

pmndrs/docs/.github/workflows/build.yml@v4

Fix: Pin third-party GitHub Actions to an immutable 40-character commit SHA.

MEDIUMOSV-GHSA-698v-4r3x-3vcv
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-698v-4r3x-3vcv)

launch-editor: escapeCmdArgs() omits % escaping on Windows

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-698v-4r3x-3vcv.

MEDIUMOSV-GHSA-fx2h-pf6j-xcff
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-fx2h-pf6j-xcff)

vite: `server.fs.deny` bypass on Windows alternate paths

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-fx2h-pf6j-xcff.

MEDIUMOSV-GHSA-g3hv-75wg-m249
pnpm-lock.yaml

Vulnerable dependency minimatch@10.2.6 (GHSA-g3hv-75wg-m249)

minimatch has potential denial of service via globparts amplification

minimatch@10.2.6

Fix: Upgrade minimatch to a patched release that resolves GHSA-g3hv-75wg-m249.

MEDIUMOSV-GHSA-h67p-54hq-rp68
pnpm-lock.yaml

Vulnerable dependency js-yaml@4.1.1 (GHSA-h67p-54hq-rp68)

JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases

js-yaml@4.1.1

Fix: Upgrade js-yaml to a patched release that resolves GHSA-h67p-54hq-rp68.

MEDIUMOSV-GHSA-r825-w8mm-5pxw
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-r825-w8mm-5pxw)

launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-r825-w8mm-5pxw.

MEDIUMOSV-GHSA-rq7h-c2jc-7f22
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-rq7h-c2jc-7f22)

Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-rq7h-c2jc-7f22.

MEDIUMOSV-GHSA-v6wh-96g9-6wx3
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-v6wh-96g9-6wx3)

launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-v6wh-96g9-6wx3.

LOWOSV-GHSA-9jrq-w75r-8gcw
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-9jrq-w75r-8gcw)

Vite: Cross origin script execution through Vite custom middleware

vite@7.3.1

Fix: Upgrade vite to a patched release that resolves GHSA-9jrq-w75r-8gcw.

INFOfrom LOWHYG-MISSING-SECURITY-MD
root

Missing SECURITY.md policy

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

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

Refuted Findings (3) · 0 penaltyFalse positives
REFUTEDOSV-GHSA-p9ff-h696-f583
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-p9ff-h696-f583)

Refuted: claimed vulnerability pattern not observed on cited lines. [path-traversal @ pnpm-lock.yaml:1-1] No filesystem or path-resolution operation found on cited lines.

REFUTEDOSV-GHSA-4w7w-66w2-5vf9
pnpm-lock.yaml

Vulnerable dependency vite@7.3.1 (GHSA-4w7w-66w2-5vf9)

Refuted: claimed vulnerability pattern not observed on cited lines. [path-traversal @ pnpm-lock.yaml:1-1] No filesystem or path-resolution operation found on cited lines.

REFUTEDOSV-GHSA-g7r4-m6w7-qqqr
pnpm-lock.yaml

Vulnerable dependency esbuild@0.27.7 (GHSA-g7r4-m6w7-qqqr)

Refuted: claimed vulnerability pattern not observed on cited lines. [path-traversal @ pnpm-lock.yaml:1-1] No filesystem or path-resolution operation found on cited lines.

Scanner Coverage

ScannerStatusVersionFindingsReceipt
Aderyn Solidity Analyzer
No Solidity (.sol) files detected in repository
SKIPPED—0sha256:c5aa3…ed3ddd
Hopper Built-in Static AnalyzerEXECUTED0.1.02sha256:df8ae…cc3f62
Gitleaks Secret ScannerEXECUTED8.30.10sha256:87c8f…11b6e2
OSV Vulnerability ScannerEXECUTED2.7.116sha256:49e50…a57ed7
Semgrep Static AnalysisEXECUTED1.187.00sha256:d57e0…c25978
Slither Smart Contract Analyzer
No Solidity (.sol) files detected in repository
SKIPPED—0sha256:a8702…59d3d4

Verified (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 (1)

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

README Badge

[![Auditeur Security Grade C+ (69/100)](https://auditeur.hopperlabs.ai/badges/pmndrs-zustand.svg)](https://auditeur.hopperlabs.ai/reports/pmndrs-zustand)

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-pmndrs-zustand

EIP-712 AuditProofV1 Digest

Struct Hash
0x1ed7176b398312878559c5ba1a97e66f8a5b62405a17e953c99cde93f04835d1
EIP-712 Digest
0x9e71053d5bd5b871a4a854dfcd543372dafe66597e0affb83fb148809e4bed4f
{
  "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": "0x1ed7176b398312878559c5ba1a97e66f8a5b62405a17e953c99cde93f04835d1",
  "digest": "0x9e71053d5bd5b871a4a854dfcd543372dafe66597e0affb83fb148809e4bed4f",
  "message": {
    "targetHash": "0x8aaf1b0ba3c6be2ea4d9771f37d431276696597e833f3df29fb4074625f1182a",
    "commitHash": "0xd0c29a575663badf5f0d904efd374f3995065d8c1c13e88b0b5d18c18f42924a",
    "receiptRoot": "0xf30accf16f4cc1d6becc4e085c9289fbccfe8bc076889c8a0658b35b5d735027",
    "reportDigest": "0xc75d1b3f3ca694d95bfd2b6fac4f9adb44b951c72db90fa0c21b71ef81ef6b8c",
    "score": 69,
    "verifiedFindings": 15,
    "issuedAt": 1795913220,
    "expiresAt": 1803689220
  }
}
Signed Proof (Ed25519)sha256:d672ff13f…112f3f6c
Proof ID
sha256:d672ff13f8b9f82f20a5a31b6023a2de5eb182da88d318f80171aa23112f3f6c
Receipt Root
sha256:f30accf16f4cc1d6becc4e085c9289fbccfe8bc076889c8a0658b35b5d735027
{
  "schemaVersion": "hopper.audit-proof.v1",
  "algorithm": "Ed25519",
  "proofId": "sha256:d672ff13f8b9f82f20a5a31b6023a2de5eb182da88d318f80171aa23112f3f6c",
  "keyId": "auditeur-local-dev-ed25519-v1",
  "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA5pcx08zDSaYhd7+Ep1OVW5gQpf5Npa81PLuzwgGIhBc=\n-----END PUBLIC KEY-----\n",
  "signature": "rUyAqfVSas7Qap0H4sqRHoS/sB4UtEQS6/bRPiFKM+YJ3tiwoCOHebGkbJ5T0Lpr5PXFQA6pu/Nv1GRHpG0UAw==",
  "payload": {
    "targetId": "pmndrs/zustand",
    "commitSha": "5d66d53be80363b94491868b41325ea058fd16bb",
    "receiptRoot": "0xf30accf16f4cc1d6becc4e085c9289fbccfe8bc076889c8a0658b35b5d735027",
    "reportDigest": "0xc75d1b3f3ca694d95bfd2b6fac4f9adb44b951c72db90fa0c21b71ef81ef6b8c",
    "score": 69,
    "grade": "C+",
    "verifiedFindings": 15,
    "refutedFindings": 3,
    "unverifiedFindings": 0,
    "verifiedScanners": [
      "builtin-static",
      "gitleaks",
      "osv-scanner",
      "semgrep"
    ],
    "unverifiedAreas": [
      "web_surface_posture (not_requested)"
    ],
    "issuedAt": "2026-11-29T00:47:00.218Z",
    "issuedAtUnix": 1795913220,
    "expiresAtUnix": 1803689220
  }
}
Receipts (9)sha256:f30accf16…5d735027
KindToolStatusReceipt Digest
custodyHopper Repository Custody Collectorexecutedsha256:5838eeb…3cc1b5
gateHopper Pre-Execution Safety Gateexecutedsha256:bb50478…cf0cc4
inventoryHopper Repository Inventory Collectorexecutedsha256:6552dd6…5914ac
scannerAderyn Solidity Analyzerskippedsha256:c5aa3ed…ed3ddd
scannerHopper Built-in Static Analyzerexecutedsha256:df8aea7…cc3f62
scannerGitleaks Secret Scannerexecutedsha256:87c8f99…11b6e2
scannerOSV Vulnerability Scannerexecutedsha256:49e5054…a57ed7
scannerSemgrep Static Analysisexecutedsha256:d57e0e0…c25978
scannerSlither Smart Contract Analyzerskippedsha256:a8702fb…59d3d4