# promptfoo/promptfoo — health index 98/100 (Exceptional)

> Inspection of the public repository promptfoo/promptfoo by inspect.software. It holds a health index of 98 out of 100, placing it in the Exceptional band. The index is a signal derived from publicly visible practice, not a warranty, a security audit, or an endorsement, and it is independent of payment.

- Repository: https://github.com/promptfoo/promptfoo
- Report page: https://inspect.software/software/promptfoo/promptfoo
- Full JSON report: https://inspect.software/api/repositories/promptfoo/promptfoo/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/p/promptfoo/promptfoo.svg
- Inspected: 2026-11-20
- Methodology: metrics 2.10.0, report schema 0.34.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 21% | 100/100 | Exceptional |
| Community & Adoption | 17% | 93/100 | Exceptional |
| Sustainability & Governance | 23% | 80/100 | Excellent |
| Engineering Quality | 19% | 84/100 | Excellent |
| Security | 16% | 75/100 | Good |
| AI Readiness | 4% | 94/100 | Exceptional |

The weighted overall 87 is calibrated to 98 on the published index scale (record calibration 2026-08-02).

## Repository facts

| Field | Value |
|---|---|
| Description | Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line and CI/CD integration.  Used by OpenAI and Anthropic. |
| Classification | network-service, library, cli |
| Homepage | https://promptfoo.dev |
| Primary language | TypeScript |
| License | MIT |
| Stars | 27,467 |
| Forks | 2,797 |
| Created | 2023-04-28 |
| Last push | 2026-11-20 |
| Latest release | code-scan-action-0.2.3 |
| Commits (last year) | 4,610 |
| Bus factor | 2 |
| Topics | llm, prompt-engineering, prompts, llmops, prompt-testing, testing, rag, evaluation, evaluation-framework, llm-eval, llm-evaluation, llm-evaluation-framework, ci, ci-cd, cicd, pentesting, red-teaming, vulnerability-scanners |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| npm | promptfoo | 0.126.0 | 5,039,018 |

## Vitality — 100/100 (Exceptional)

Is the project alive — is code being written and are releases shipping? Weight: 21% of the overall index.

### Development activity — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 0 days ago |
| Commit cadence | met | 36 / 36 | 52/52 weeks with commits |
| Commit volume | met | 18 / 18 | 4610 commits in the last year |
| OpenSSF Scorecard: Maintained | excluded | 0 / 10 | OpenSSF Scorecard unavailable |

### Release discipline — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 100 releases published |
| Release recency | met | 36 / 36 | latest release 1 days ago |
| Release cadence | met | 27 / 27 | a release every ~7.7 days |
| OpenSSF Scorecard: Signed-Releases | excluded | 0 / 10 | OpenSSF Scorecard unavailable |

### Abandonment — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | last human commit 1 days ago |

## Community & Adoption — 93/100 (Exceptional)

Does the project have users, downloads, attention, and a welcoming setup for contributors? Weight: 17% of the overall index.

### Popularity & adoption — 96/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | met | 60 / 60 | 27,467 stars |
| Forks | met | 25 / 25 | 2,797 forks |
| Watchers | partial | 10.5 / 15 | 79 watchers |

### Community health — 85/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 22.5 / 22.5 | — |
| License | met | 22.5 / 22.5 | recognized license (MIT) |
| CONTRIBUTING guide | met | 18 / 18 | — |
| Code of conduct | met | 13.5 / 13.5 | — |
| Issue template | not met | 0 / 7.2 | — |
| PR template | not met | 0 / 6.3 | — |

### Ecosystem adoption (downloads) — 100/100 (Exceptional)

Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Monthly downloads | met | 80 / 80 | 5,039,018 downloads/month across npm |
| Registry dependents | excluded | 0 / 20 | not reported by this ecosystem |

## Sustainability & Governance — 80/100 (Excellent)

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep? Weight: 23% of the overall index.

### Maintainer resilience (bus factor) — 57/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 25.2 / 54 | 2 contributor(s) cover half of all commits |
| Commit distribution | partial | 13 / 22.5 | top contributor authored 42% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 93 contributors |
| OpenSSF Scorecard: Contributors | excluded | 0 / 10 | OpenSSF Scorecard unavailable |

### Issue & PR responsiveness — 85/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 37 / 42 | 88% of issues closed |
| PR acceptance | partial | 27.1 / 30 | 9245/10227 decided PRs merged |
| Newcomer PR acceptance | partial | 7.8 / 13 | 3/5 first-time contributors' PRs merged in 30d |
| OpenSSF Scorecard: Code-Review | excluded | 0 / 15 | OpenSSF Scorecard unavailable |

### Ownership & stewardship — 86/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | met | 20 / 20 | — |
| Owner reach | partial | 19.4 / 25 | 495 followers of promptfoo |
| Track record | partial | 16.4 / 25 | 20 public repos, account ~3 yr old |

### Package maintenance — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Published & resolvable | met | 25 / 25 | 1 package(s) on npm |
| Publish recency | met | 35 / 35 | latest publish 1 days ago |
| Version history | met | 20 / 20 | 428 published versions |
| Not deprecated | met | 20 / 20 | active, not deprecated or yanked |

## Engineering Quality — 84/100 (Excellent)

Are baseline engineering and documentation practices in place? Weight: 19% of the overall index.

### Engineering practices — 80/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 19 workflow(s) |
| Tests present | met | 24 / 24 | — |
| Linter config | met | 16 / 16 | .rubocop.yml, .ruff.toml |
| Pre-commit hooks | not met | 0 / 9.6 | — |
| .editorconfig | not met | 0 / 6.4 | — |
| OpenSSF Scorecard: CI-Tests | excluded | 0 / 20 | OpenSSF Scorecard unavailable |

### Documentation — 90/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | https://promptfoo.dev |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 18 topics |
| Wiki | not met | 0 / 10 | — |

## Security — 75/100 (Good)

Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure? Weight: 16% of the overall index.

### Security posture — 75/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Security policy (SECURITY.md) | met | 30 / 30 | — |
| Dependabot config | not met | 0 / 25 | — |
| Dependency lockfiles | met | 25 / 25 | go.sum, package-lock.json |
| CodeQL workflow | met | 20 / 20 | — |

### Dependency advisories — 77/100 (Good)

Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 2546 resolved dependencies against OSV; 164 could not be assessed (no resolved version, an unsupported ecosystem, or beyond the reported package list). This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Direct dependencies free of known advisories | partial | 17.8 / 35 | 2 affected: glob 13.0.6 (moderate 5.3), minimatch 10.2.6 (moderate 5.3) |
| Indirect dependencies free of known advisories | excluded | 0 / 25 | transitive set not separable from development and test dependencies in this scope |
| No advisories left outstanding | met | 40 / 40 | no advisory has been public longer than 90 days |

### Malicious dependencies — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| No dependency reported as a malicious package | met | 100 / 100 | no dependency is reported as a malicious package |

### High-Risk Jurisdiction Exposure — 100/100 (Exceptional)

Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Policy exposure multiplier | met | 100 / 100 | no confirmed policy-scope location match |

## AI Readiness — 94/100 (Exceptional)

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero).

### Agent context & guidance — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | met | 45 / 45 | .agents/AGENTS.md, .github/AGENTS.md, AGENTS.md, code-scan-action/AGENTS.md, docs/agents/AGENTS.md, drizzle/AGENTS.md, examples/AGENTS.md, plugins/AGENTS.md, site/AGENTS.md, site/docs/red-team/AGENTS.md, src/app/AGENTS.md, src/assertions/AGENTS.md, src/codeScan/AGENTS.md, src/commands/AGENTS.md, src/contracts/AGENTS.md, src/database/AGENTS.md, src/matchers/AGENTS.md, src/models/AGENTS.md, src/prompts/AGENTS.md, src/providers/AGENTS.md, src/redteam/AGENTS.md, src/redteam/plugins/AGENTS.md, src/scheduler/AGENTS.md, src/server/AGENTS.md, src/tracing/AGENTS.md, src/types/AGENTS.md, src/util/AGENTS.md, src/validators/AGENTS.md, test/AGENTS.md, test/agentSkills/AGENTS.md, test/fixtures/agent-skills/AGENTS.md |
| Machine-readable docs (llms.txt) | met | 15 / 15 | llms.txt served by the project website (https://promptfoo.dev/llms.txt) |
| Legible commit history | met | 40 / 40 | 48 of 48 human commits state their intent (structured subject or explanatory body) |

### Verify loop (build / test / typecheck) — 85/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | partial | 12.6 / 18 | examples/provider-golang/go.mod, src/golang/go.mod, test/smoke/fixtures/providers/go.mod (toolchain convention, no task runner) |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | met | 11 / 11 | .rubocop.yml, .ruff.toml |
| Static type checking | met | 11 / 11 | code-scan-action/tsconfig.json, examples/config-ts/tsconfig.json, site/tsconfig.json, src/app/tsconfig.json, test/smoke/fixtures/frontend-ts-provider/tsconfig.json, tsconfig.json |
| Reproducible environment | met | 10 / 10 | devcontainer, Dockerfile, lockfile |
| Demonstrated agent practice | partial | 2 / 10 | 1 of the last 100 commits agent-authored or agent-credited |
| Automated maintenance | met | 8 / 8 | 50 of the last 100 commits are automated dependency updates |
| OpenSSF Scorecard: Pinned-Dependencies | excluded | 0 / 10 | OpenSSF Scorecard unavailable |

### Code legibility for models — 98/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | met | 45 / 45 | TypeScript (statically typed) |
| Manageable file sizes | partial | 53.2 / 55 | 115/3452 source files over 60KB |

### Machine-readable interfaces — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | met | 40 / 40 | site/static/openapi.json, src/tracing/proto/opentelemetry/proto/collector/trace/v1/trace_service.proto, src/tracing/proto/opentelemetry/proto/common/v1/common.proto, src/tracing/proto/opentelemetry/proto/resource/v1/resource.proto, src/tracing/proto/opentelemetry/proto/trace/v1/trace.proto, test/fixtures/agent-skills/provider-setup-openapi/openapi.yaml |
| MCP server | met | 20 / 20 | — |
| Runnable examples | met | 40 / 40 | examples |

## Collection warnings

- Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
- Could not fetch npm package 'promptfoo-docs' from its registry
- deps.dev does not index npm:promptfoo@0.126.0; advisories assessed against the repository dependency graph instead
- OpenSSF Scorecard did not return a usable result (killed by SIGKILL — most likely the container's memory limit; 2026/11/20 01:28:36 Warning: PATs stored in env variables GITHUB_AUTH_TOKEN and GITHUB_TOKEN differ. Scorecard will use the former.); skipping Scorecard checks

## What this report is

inspect.software measures public repositories against a single published, versioned methodology and reports the result as a 1–100 health index. Findings are signals derived from what is visible in public repository data — they are not a security audit, a warranty, or an endorsement, and no result depends on payment.

- Methodology, formulas and weights: https://inspect.software/methodology.md
- What a result does and does not claim: https://inspect.software/wiki/signals-not-warranties.md
- Rating bands: https://inspect.software/wiki/scoring-bands.md
- Corrections: https://inspect.software/contact.md
- Index of all documents: https://inspect.software/llms.txt
