## openaudit: openaudit

**Score 100/100 (A)** · 13 info · 62 auditors in 1m22s

> **Note:** 1 finding suppressed by .gitignore \(1 by path\)
> **Note:** 1100 findings suppressed by openaudit.config.json \(6 by rule, 1091 by path, 3 by fingerprint\)
> - 1 by rule code.scorecard/maintained \(until 2027-01-12\): Scorecard scores every repository younger than 90 days 0; this one was created on 2026-10-13, so the check passes on its own after 2027-01-11
> - 1 by rule code.scorecard/code-review: One maintainer: there is no second person to approve changes, so Scorecard's approved-changeset count stays 0. CI, CodeQL and this self-audit run on every push instead
> - 1 by rule code.scorecard/contributors: One maintainer, so there are no contributors from several organisations yet
> - 1 by rule code.scorecard/branch-protection: Scorecard's full score needs required reviews by a second maintainer, which a one-person project cannot give; main is gated by CI on every push
> - 1 by rule code.scorecard/vulnerabilities: Scorecard counts the deliberately vulnerable lockfiles in packages/auditors/test/fixtures, which the auditors' tests scan. The shipped lockfile is checked by code.bun-audit, code.osv-scanner, code.tr…
> - 1 by rule code.scorecard/cii-best-practices: Registered as <https://www.bestpractices.dev/en/projects/16414>. Scorecard gives 10 only for the gold level \(in progress 2, passing 5, silver 7\), which takes the questionnaire and a second maintainer
> - 1086 by path \*\*/test/\*\*: Test suites and fixtures: deliberately vulnerable code, fake secrets and recorded scanner output for the auditors to find
> - 5 by path \*\*/\*.test.ts: Tests outside test/ \(packages/api/src\) embed the same kind of sample payloads
> - 1 by fingerprint fec97ae0392386ac: gitleaks generic-api-key false positive: prose in the severity guide of packages/agent/src/playbooks/ux-content.ts
> - 1 by fingerprint 335b7e5bf3fd6a37: gitleaks generic-api-key false positive: the OWASP API Top 10 page slug for api10 in packages/auditors/src/codebase/api-shared.ts
> - 1 by fingerprint 073efb043367d01d: jscpd: the dark palette in apps/site/src/styles/global.css appears twice on purpose, once for the system setting and once for the explicit data-theme toggle; one CSS rule cannot sit both inside and o…

| Category | Score | Grade | Critical | High | Medium | Low | Info |
| --- | ---: | :---: | ---: | ---: | ---: | ---: | ---: |
| security | 100 | A | 0 | 0 | 0 | 0 | 0 |
| accessibility | 100 | A | 0 | 0 | 0 | 0 | 0 |
| performance | 100 | A | 0 | 0 | 0 | 0 | 0 |
| privacy | 100 | A | 0 | 0 | 0 | 0 | 0 |
| best-practices | 100 | A | 0 | 0 | 0 | 0 | 0 |
| reliability | 100 | A | 0 | 0 | 0 | 0 | 0 |
| maintainability | 100 | A | 0 | 0 | 0 | 0 | 12 |
| supply-chain | 100 | A | 0 | 0 | 0 | 0 | 1 |
| compliance | 100 | A | 0 | 0 | 0 | 0 | 0 |

<details>
<summary>Info (13)</summary>

- **Code Health 10.0/10** `code.health/summary`
  Average 10.00/10 across 517 files \(weighted by lines of code\); no hotspots \(no history\); worst 9.69 in packages/agent/test/insights.test.ts; 1 files below 10; 1 rule sets from .codescene/code-health-rules.json applied.
  Refs: <https://openaudit.se/auditors/code.health/>
- **Truck factor 1** `code.history/truck-factor`
  One person wrote all the changes to 597 files in the last year, so everything the code does lives in one head.
  **Fix:** Spread knowledge: pair on changes, review each other's code and write down the decisions behind the main modules.
  Refs: <https://openaudit.se/auditors/code.history/>
- **Duplicated code between .github/workflows/docker.yml and .github/workflows/docker.yml** `code.jscpd/duplicate-block` at `.github/workflows/docker.yml:90`
  11 lines \(78 tokens\) are copy-pasted between .github/workflows/docker.yml:90-100 and .github/workflows/docker.yml:144-154.
  Evidence: `.github/workflows/docker.yml:90-100 <-> .github/workflows/docker.yml:144-154`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between apps/site/src/components/home/Agents.astro:css and apps/site/src/components/home/Steps.astro:css** `code.jscpd/duplicate-block` at `apps/site/src/components/home/Agents.astro:css:53`
  13 lines \(74 tokens\) are copy-pasted between apps/site/src/components/home/Agents.astro\:css:53-65 and apps/site/src/components/home/Steps.astro\:css:51-63.
  Evidence: `apps/site/src/components/home/Agents.astro:css:53-65 <-> apps/site/src/components/home/Steps.astro:css:51-63`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between apps/site/src/components/home/Faq.astro:css and apps/site/src/styles/global.css** `code.jscpd/duplicate-block` at `apps/site/src/components/home/Faq.astro:css:66`
  14 lines \(76 tokens\) are copy-pasted between apps/site/src/components/home/Faq.astro\:css:66-79 and apps/site/src/styles/global.css:1166-1179.
  Evidence: `apps/site/src/components/home/Faq.astro:css:66-79 <-> apps/site/src/styles/global.css:1166-1179`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between apps/site/src/pages/audit/index.astro:css and apps/site/src/pages/badge/index.astro:css** `code.jscpd/duplicate-block` at `apps/site/src/pages/audit/index.astro:css:115`
  15 lines \(71 tokens\) are copy-pasted between apps/site/src/pages/audit/index.astro\:css:115-129 and apps/site/src/pages/badge/index.astro\:css:151-165.
  Evidence: `apps/site/src/pages/audit/index.astro:css:115-129 <-> apps/site/src/pages/badge/index.astro:css:151-165`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between apps/site/src/pages/audit/index.astro:css and apps/site/src/pages/badge/index.astro:css** `code.jscpd/duplicate-block` at `apps/site/src/pages/audit/index.astro:css:126`
  15 lines \(56 tokens\) are copy-pasted between apps/site/src/pages/audit/index.astro\:css:126-140 and apps/site/src/pages/badge/index.astro\:css:166-180.
  Evidence: `apps/site/src/pages/audit/index.astro:css:126-140 <-> apps/site/src/pages/badge/index.astro:css:166-180`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between apps/site/src/pages/audit/index.astro:css and apps/site/src/pages/badge/index.astro:css** `code.jscpd/duplicate-block` at `apps/site/src/pages/audit/index.astro:css:67`
  14 lines \(66 tokens\) are copy-pasted between apps/site/src/pages/audit/index.astro\:css:67-80 and apps/site/src/pages/badge/index.astro\:css:105-118.
  Evidence: `apps/site/src/pages/audit/index.astro:css:67-80 <-> apps/site/src/pages/badge/index.astro:css:105-118`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between apps/site/src/pages/audit/index.astro:css and apps/site/src/pages/badge/index.astro:css** `code.jscpd/duplicate-block` at `apps/site/src/pages/audit/index.astro:css:82`
  18 lines \(70 tokens\) are copy-pasted between apps/site/src/pages/audit/index.astro\:css:82-99 and apps/site/src/pages/badge/index.astro\:css:120-137.
  Evidence: `apps/site/src/pages/audit/index.astro:css:82-99 <-> apps/site/src/pages/badge/index.astro:css:120-137`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between packages/api/src/schemas.ts and packages/mcp/src/schemas.ts** `code.jscpd/duplicate-block` at `packages/api/src/schemas.ts:128`
  16 lines \(87 tokens\) are copy-pasted between packages/api/src/schemas.ts:128-143 and packages/mcp/src/schemas.ts:132-147.
  Evidence: `packages/api/src/schemas.ts:128-143 <-> packages/mcp/src/schemas.ts:132-147`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between packages/auditors/src/infra/actionlint.ts and packages/auditors/src/infra/kics.ts** `code.jscpd/duplicate-block` at `packages/auditors/src/infra/actionlint.ts:2`
  12 lines \(51 tokens\) are copy-pasted between packages/auditors/src/infra/actionlint.ts:2-13 and packages/auditors/src/infra/kics.ts:6-17.
  Evidence: `packages/auditors/src/infra/actionlint.ts:2-13 <-> packages/auditors/src/infra/kics.ts:6-17`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **Duplicated code between packages/auditors/src/infra/actionlint.ts and packages/auditors/src/infra/zizmor.ts** `code.jscpd/duplicate-block` at `packages/auditors/src/infra/actionlint.ts:3`
  14 lines \(60 tokens\) are copy-pasted between packages/auditors/src/infra/actionlint.ts:3-16 and packages/auditors/src/infra/zizmor.ts:3-17.
  Evidence: `packages/auditors/src/infra/actionlint.ts:3-16 <-> packages/auditors/src/infra/zizmor.ts:3-17`
  **Fix:** Extract the shared logic into one function or module and call it from both places.
  Refs: <https://github.com/kucherenko/jscpd>
- **OpenSSF Scorecard Pinned-Dependencies: 9/10** `code.scorecard/pinned-dependencies`
  github.com/wezter96/openaudit: dependency not pinned by hash detected -- score normalized to 9 \(Determines if the project has declared and pinned the dependencies of its build process.\)
  Evidence: `Warn: containerImage not pinned by hash: packages/auditors/test/fixtures/infra/docker-bad/Dockerfile:2: pin your Docker image by updating node to node@sha256:f8e5d4bb28fa55c74f1345166a082a10b7c68f22304350c1ce0d18358ae94996 | Warn: downloadT…`
  **Fix:** Follow the Scorecard guidance for Pinned-Dependencies to raise the score: <https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#pinned-dependencies>
  Refs: <https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#pinned-dependencies>

</details>

<details>
<summary>Auditors: 54 passed, 0 failed, 7 skipped, 1 errored</summary>

| Auditor | Status | Findings | Duration | Note |
| --- | --- | ---: | ---: | --- |
| `code.hygiene` | passed | 0 | 51ms |  |
| `code.secrets` | passed | 0 | 745ms |  |
| `code.security` | passed | 0 | 476ms |  |
| `code.unicode` | passed | 0 | 770ms |  |
| `code.dependencies` | passed | 0 | 1.2s |  |
| `code.lockfiles` | passed | 0 | 23ms |  |
| `code.accessibility` | passed | 0 | 323ms |  |
| `code.performance` | passed | 0 | 558ms |  |
| `code.quality` | passed | 0 | 693ms |  |
| `code.health` | passed | 1 | 3.5s |  |
| `code.history` | passed | 1 | 80ms |  |
| `code.strictness` | passed | 0 | 169ms |  |
| `code.api` | passed | 0 | 3.5s |  |
| `code.privacy` | passed | 0 | 3.3s |  |
| `code.agent-config` | passed | 0 | 21ms |  |
| `code.gitleaks` | passed | 0 | 2.9s |  |
| `code.semgrep` | passed | 0 | 1m17s |  |
| `code.osv-scanner` | passed | 0 | 4.5s |  |
| `code.trivy-fs` | passed | 0 | 27.7s |  |
| `code.trufflehog` | passed | 0 | 2.9s |  |
| `code.bandit` | passed | 0 | 892ms |  |
| `code.gosec` | passed | 0 | 11.6s |  |
| `code.brakeman` | passed | 0 | 1.8s |  |
| `code.jscpd` | passed | 10 | 718ms |  |
| `code.pip-audit` | passed | 0 | 2.4s |  |
| `code.cargo-audit` | passed | 0 | 10.5s |  |
| `code.npm-audit` | passed | 0 | 2.1s |  |
| `code.pnpm-audit` | passed | 0 | 2.6s |  |
| `code.bun-audit` | passed | 0 | 279ms |  |
| `code.scorecard` | passed | 1 | 6.2s |  |
| `code.typecheck` | passed | 0 | 14.3s |  |
| `code.oxlint` | passed | 0 | 597ms |  |
| `code.biome` | error | 0 | 164ms | biome produced invalid JSON output |
| `code.ruff` | passed | 0 | 65ms |  |
| `code.staticcheck` | passed | 0 | 6.4s |  |
| `code.mobsfscan` | passed | 0 | 8.8s |  |
| `code.phpstan` | passed | 0 | 10.4s |  |
| `code.pmd` | passed | 0 | 8.1s |  |
| `code.spectral` | passed | 0 | 6ms |  |
| `container.dockerfile` | passed | 0 | 11ms |  |
| `container.compose` | passed | 0 | 64ms |  |
| `container.hadolint` | passed | 0 | 1.1s |  |
| `iac.github-actions` | passed | 0 | 176ms |  |
| `iac.zizmor` | passed | 0 | 204ms |  |
| `iac.actionlint` | passed | 0 | 268ms |  |
| `iac.kubernetes` | passed | 0 | 53ms |  |
| `iac.kube-linter` | passed | 0 | 131ms |  |
| `iac.kubeconform` | passed | 0 | 947ms |  |
| `iac.terraform` | passed | 0 | 53ms |  |
| `iac.tflint` | passed | 0 | 2.1s |  |
| `iac.checkov` | passed | 0 | 20.2s |  |
| `mobile.android` | passed | 0 | 19ms |  |
| `mobile.ios` | passed | 0 | 16ms |  |
| `mobile.secrets` | passed | 0 | 4ms |  |
| `mobile.accessibility` | passed | 0 | 3ms |  |

Skipped: `code.eol`, `code.licenses`, `code.shellcheck`, `code.oasdiff`, `container.image`, `mobile.dependencies`, `mobile.performance`

</details>

> Some auditors errored, so results may be incomplete: `code.biome`
