Why promptfoo security hardening is harder than it looks
Promptfoo security hardening is mostly your team's job, and the security boundary sits on the machine that runs it. promptfoo's documentation states that the software runs completely locally: evals run on your machine and talk directly with the LLM. There is no vendor service in the middle that holds your provider API keys or eval data. The laptop, the CI runner or the self-hosted host where promptfoo runs is where keys are read, prompts are sent and results are written, so that host is what you protect. Before anything else, confirm which machines hold provider keys today, who can read their environment variables and where eval output lands.
The self-hosted app adds a second layer of work. It is an Express server serving the web UI and API, and it stores data in a local SQLite database that cannot be shared across replicas. The self-hosting documentation also states that it has no RBAC, horizontal scaling, built-in authentication or SSO, and that it is not recommended for production use. Anyone who can reach the server can potentially read evals and red team results, and the database file itself becomes a store of sensitive prompts and model outputs. Authentication, access control, file permissions, backups and retention therefore have to be designed and verified by your team rather than inherited from the product.
You need this work as soon as the setup stops being one person's laptop. Shared instances, CI pipelines that hold provider keys as secrets, and red team runs that produce outputs containing sensitive or policy-violating prompts all widen who can see what. Each of these creates a place where keys can leak through logs or artifacts and where results can outlive their purpose. Ask your security team to map every location where keys and outputs exist before the first shared run, and check the current promptfoo self-hosting documentation against your intended deployment, since it defines the gaps you must close yourself.
Where data and keys move in a promptfoo deployment
The diagram starts with the developer CLI or CI runner, which invokes the promptfoo process on the same host. Evals run locally and call the model provider endpoints directly, so the provider API keys cross the trust boundary to external services. Results land in a local SQLite file, and in a self-hosted setup the Express web UI and API read from that same file. Check where the operator's secret store injects keys, who can reach the host and the database file, and which provider traffic leaves your network.
Data and key paths between the promptfoo host, its SQLite file and external model providers.
Components that hold secrets and sensitive data
A self-hosted promptfoo instance touches several places where credentials and sensitive data collect. Each component below needs its own access rule, storage decision or review step, and a gap in one of them can expose the others.
Provider API keys
Model provider keys are supplied through environment variables or configuration files so promptfoo can call the LLM directly. A leaked key lets anyone bill usage to your account and reach the models your team has access to. Check that keys are injected at runtime from your secrets manager, never committed to a config file in the repository, and that keys are scoped and rotated on a schedule.
Self-hosting docsSQLite database file
The self-hosted app stores evaluation and run data in a local SQLite database. Its file contains prompts, model outputs and results, so anyone who can read it can read everything the team tested. Confirm the file sits on a volume with restricted filesystem permissions, is included in your backup policy with the same protection, and is not copied into container images.
Eval results and prompt data
Eval runs record the prompts, test variables and model responses that were sent and received. Test cases often contain customer records, internal policies or proprietary system prompts copied from production. Decide which datasets may enter an eval at all, and define who can view results before the first run rather than after results are shared.
Red team outputs and reports
Red teaming generates attack prompts and reports showing which probes succeeded against your application. These reports describe exploitable weaknesses in a specific system, so they are sensitive in their own right. Store them under the same access controls as the target application, limit distribution, and set a retention period that matches your remediation cycle.
Red teaming docsWeb UI and API surface
The Express server serves both the web UI and the API. The self-hosted edition has no built-in authentication or role-based access control, so any client that can reach the port can read stored data. Place the service behind a network boundary or authenticating reverse proxy, and restrict which hosts and users can connect.
Docker, Compose and Helm configuration
Container images, Compose files and Helm values pass environment variables, volume mounts and ports into the running service. Misplaced values, such as keys written into values files or a volume mounted with broad write access, spread secrets to anyone who can read the deployment repository or cluster. Review these manifests in version control, use your cluster's secret objects, and confirm the mounted data path matches the one you back up.
Decisions that set your hardening scope
This table compares the main ways to run promptfoo for evals and red teaming, from local runs and CI-only execution to a shared self-hosted instance or a paid Enterprise or On-Premise deployment. Read each row against who needs access to results and who will own authentication, backups and network controls. The main takeaway is that the more people share results, the more of the hardening work becomes your team's ongoing responsibility unless the product includes it.
| Option | When it fits | Operational cost to own |
|---|---|---|
| Local runs on developer machines | Individual evals where results stay with one engineer and no shared store is needed | Secret handling on each laptop, local SQLite files left on disk, and no central audit trail |
| Evals run only from CI/CD | Gating prompt or model changes on a fixed test suite, with results kept in pipeline artifacts | Securing CI secrets for provider API keys, limiting who can edit pipeline definitions, and setting artifact retention |
| Community self-hosted with added team controls | A small group sharing one instance, where you accept building authentication and network restrictions yourself | Reverse proxy or SSO gateway in front of the app, backups of the SQLite file, network isolation, and patching |
| Shared self-hosted instance without added controls | Generally not recommended for production use according to the promptfoo self-hosting documentation | All of the above plus accepting that the database cannot be shared across replicas and has no built-in RBAC |
| Enterprise with teams access control and SSO | Several teams need separate access, SSO sign-in, and custom roles in the product | Subscription cost and identity provider integration; confirm with the vendor which hardening tasks remain yours |
| On-Premise deployment | Data must stay in your infrastructure with complete data isolation and a dedicated deployment engineer | Hosting, network controls and backups remain in your environment; confirm the vendor's support and update terms in writing |
How to build a hardened promptfoo setup
This sequence takes a self-hosted promptfoo instance from a default install to one with pinned runtimes, managed secrets, protected eval data and restricted report access. Each step closes with a check your team can run and record before the instance holds real provider keys or customer-derived test data.
Pin Node.js and promptfoo versions
The platform engineer sets a Node.js version that meets promptfoo's stated minimum and pins the promptfoo package version in the image, lockfile or CI configuration instead of installing the latest release. The current npm release, 0.124.1, requires Node.js 22.22.0 or newer, so the pinned runtime must be at or above that level. Check: a fresh build reports the expected Node.js and promptfoo versions, and the version is recorded in the change log so every upgrade becomes a deliberate, reviewed change.
Move provider keys into a secret manager
The security engineer removes model provider API keys from config files,
.envfiles and shell history, then stores them in the secret manager your organization already runs. Injection happens at runtime, through the container or job environment, so keys are never written into the promptfoo configuration committed to a repository. Check: a search of the repository, container image layers and CI logs finds no provider keys, and each key has a named owner and a rotation procedure.Protect the SQLite data location
The platform engineer points promptfoo's SQLite database at a dedicated path on encrypted persistent storage, not a container's ephemeral filesystem or a shared temp directory. The file and its parent directory are limited to the service account that runs promptfoo, and backups inherit the same encryption and access rules. Remember that the self-hosted database cannot be shared across replicas, so this is a single-instance store. Check: the service account can read and write the file, other local users cannot, and a restore from backup has been tested on a separate host.
Place the web UI behind a network boundary
The network engineer keeps the promptfoo server off public networks and publishes it only through a reverse proxy that enforces authentication, TLS and allowed source ranges. Self-hosted promptfoo has no built-in authentication, RBAC or SSO, so the proxy or your identity-aware access layer is the control that decides who can reach the UI and API. Check: a request from outside the approved network is refused, an unauthenticated request to the UI and API is refused, and the proxy logs show the access attempts. Confirm the exact authentication options with your proxy vendor and promptfoo's current self-hosting documentation.
Define retention and redaction for outputs
The compliance lead and the AI team agree how long eval results and red team outputs are kept, and which fields must be removed or masked before storage or sharing. Red team runs can capture prompts, model responses and sample data that include personal or confidential information, so redaction rules should cover test inputs as well as results. A scheduled cleanup job enforces the retention period. Check: a test run containing a known sensitive marker is stored, redacted and purged according to the written rule, and the outcome is recorded as evidence.
Restrict who can read and export reports
The security lead lists the people and automation that need eval results, red team reports and exported files, then limits access to that group through file permissions, proxy rules and a documented export process. Exports leave the controlled store, so they need their own owner, storage location and deletion date. Teams that need role-based sharing or SSO should review promptfoo Enterprise, whose team-based access control and SSO are features of that edition rather than the self-hosted app. Check: an access review confirms the named group is the only one that can open or export reports, and an export made by a test user is logged and traceable to that user.
Hardening differences by deployment model
Running promptfoo from the CLI on a laptop is the most common starting point. Evals run on the machine and call the model provider directly, so provider API keys are usually read from environment variables or a local .env file in the project. The SQLite database lives in the local data directory of the user account that ran the command, so its contents are only as protected as that workstation.
- Key location: Keys sit in the shell environment or a
.envfile, which can end up in shell history, dotfiles or a synced folder if nobody checks. - Database location: The SQLite file belongs to the user profile, so other local users with access to that account can read eval results.
- Persistence: Data survives reboots, but it is not backed up unless your team adds a backup routine.
- Team controls to supply: Disk encryption, a secrets manager or a restricted key with a spend limit, and a rule that
.envfiles stay out of version control. - Shared output: Exported reports and red team results can carry prompts and model responses, so define where they may be stored and sent.
Confirm with your security team whether developer laptops meet your data classification rules before any production system prompts or customer data are used in evals.
Pipelines run promptfoo on shared or ephemeral runners, often to gate prompt changes or to schedule red team runs. Provider keys are injected as pipeline secrets, and the SQLite database is created inside the job workspace. When the job ends, the runner may be discarded, which removes the database along with any local copy of results unless the pipeline saves it.
- Key location: Keys are injected as masked secrets at job start and should be scoped to the eval workload only.
- Database location: The SQLite file is written to the job workspace and disappears with an ephemeral runner.
- Persistence: Results survive only if the pipeline uploads them as artifacts or exports them to storage you control.
- Team controls to supply: Restricted secret access for fork and pull request builds, log scrubbing so keys and responses do not print, and a retention period for artifacts.
- Runner isolation: Shared self-hosted runners may keep files between jobs, so confirm workspace cleanup and who can read the runner host.
Confirm your CI platform's secret masking behavior and artifact retention settings, since these decide whether eval data leaks into logs or lingers longer than intended.
A single self-hosted host running the promptfoo Express server in Docker or Docker Compose gives a shared web UI and API. Provider keys are passed to the container as environment variables, and the SQLite database is kept on a mounted volume so it survives container restarts. The app has no built-in authentication or RBAC, so anyone who can reach the port can use it, and the host becomes the trust boundary for everything stored in it.
- Key location: Keys sit in the Compose file or environment of the container, so restrict who can read that file and the Docker socket on the host.
- Database location: The SQLite file sits on the named or bind-mounted volume, which should have restrictive file permissions owned by the service account.
- Persistence: The volume preserves data across container rebuilds, but a deleted volume or host failure loses it without backups.
- Team controls to supply: Authentication in front of the service, such as a reverse proxy with SSO, TLS, network restrictions, host patching, encrypted backups of the volume and audit logging of host access.
- Exposure: Do not publish the port to a wider network than the users who need it.
Check the self-hosting documentation for the current deployment guidance before you put this host on a corporate network.
Deploying promptfoo to Kubernetes with Helm adds cluster-level controls, but it does not change the core constraint. The SQLite database cannot be shared across replicas, so the deployment must run as a single instance with persistent storage. Scaling out to more replicas to handle load would split data between pods, so horizontal scaling is not a hardening option, and the team should treat the single pod as the unit to protect.
- Key location: Keys should come from a Kubernetes Secret or an external secrets operator, never from values committed in Helm overrides.
- Database location: The SQLite file sits on a persistent volume attached to the one pod, so storage class and access mode decide who can mount it.
- Persistence: The volume survives pod restarts, but a failed node or deleted claim can lose data without snapshots.
- Team controls to supply: Authentication and access control in front of the service, NetworkPolicies, RBAC on the namespace, encrypted volumes, snapshot and backup schedules and restricted access to the Secret objects.
- Replica count: Keep replicas at one and document it, so no one raises it during a capacity review.
Confirm with your platform team how the Helm chart version you deploy handles storage and replicas before you promise a recovery point to the business.
What drives hardening effort and how to keep it down
This table lists the factors that change how much work promptfoo security hardening takes, and the levers that keep each one manageable. Read each row as a driver: find the ones that apply to your setup, then use the reduction column to decide what to scope in or out of a quote.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of model providers and API keys | Each provider brings its own key, rotation schedule and spend limits, and each key must be stored and scoped separately. | Use one key per provider and environment with the narrowest permissions the provider offers, and keep a single inventory of which config uses which key. |
| Number of environments | Development, CI and production-like runs multiply key scopes, config files and places where secrets can leak. | Limit the environments that call live models, and give each one its own key and secret store path rather than sharing a key across them. |
| Users who reach the web UI | A self-hosted instance has no built-in authentication or RBAC, so every reachable user effectively has full access to stored evals. | Keep the UI off shared networks, place it behind your existing identity-aware proxy or VPN, and confirm with the vendor which access controls Enterprise adds before widening access. |
| Volume and sensitivity of eval data | Prompts, model outputs and test data can contain customer or internal content that must be classified and handled. | Decide which datasets may enter promptfoo, redact or synthesize sensitive fields before eval, and document what is stored in the SQLite database. |
| Red team output retention | Red team results can record successful attack prompts and sensitive model responses, which become a risk asset in their own right. | Set a retention period in writing, restrict who can read reports, and delete outputs on schedule. Confirm how your deployment handles deletion of database records. |
| Limiting who can run red team jobs | Red team runs send many probes to live models, which spends API budget and can trigger provider abuse reviews. | Restrict job execution to a named group, require a reviewed config for each run, and monitor provider usage per key. |
| Persistence and backup of the SQLite data | The local SQLite database cannot be shared across replicas, so the storage path, file permissions and backup process must be designed by hand. | Place the database on an encrypted volume with restricted file ownership, back it up on a schedule, and test restores before relying on them. |
| Integration with an existing secret manager | Injecting keys from a vault or cloud secret service requires custom wiring in each runner and container, and rotation must be coordinated. | Inject secrets at runtime through your existing manager instead of writing them into config files, and reuse your current rotation process. |
| Integration with an existing identity provider | Connecting SSO is not part of the self-hosted app, so it requires either an external proxy or the Enterprise tier. | Confirm the supported SSO options with the vendor, then pick one path and document it. Avoid building a custom login layer unless the scope is agreed in writing. |
| Compliance review requirements | Assessors may ask for evidence of access control, key handling, retention and logging, and each one needs an owner and a record. | Agree the evidence list before work starts, map each item to a control owner, and keep configs and access records in version control. |
Access control and secrets handling controls
The self-hosted promptfoo app has no RBAC, built-in authentication or SSO, so access restrictions have to be built around it. The controls below cover where keys live, who can reach the server and database, and how red team output is handled before it leaves the team.
Keep provider keys out of config and git
Provider API keys belong in environment variables or your secrets manager, not in promptfooconfig.yaml or in committed .env files. Check the repository history as well as the current tree, because a key pasted into a config once stays in git until it is rewritten. Confirm that CI injects keys at run time and that build logs do not echo them.
Issue least-privilege provider keys
Create a separate key for promptfoo rather than reusing a developer's personal or production key. Scope it to the models and spend limit the eval and red team workload needs, and set a rotation schedule. Ask each provider what permissions and usage caps its key types support, since these differ by vendor.
Restrict filesystem access to SQLite
The self-hosted app stores eval data in a local SQLite database that cannot be shared across replicas. Limit read and write access to the database file and its directory to the service account that runs promptfoo. Keep the data directory off shared volumes, and confirm the file permissions survive container restarts and volume mounts.
Encrypt and restrict backups
Database backups contain prompts, model responses and any sensitive eval data, so they need the same access rules as the live file. Store them in an encrypted location with its own access list and retention period. Test a restore to confirm the backup is usable and that only approved staff can perform it.
Limit network reach of the server
Bind the server to an internal network interface and allow inbound traffic only from the admin workstations and CI runners that need it. Block direct internet exposure at the firewall or load balancer. Verify the restriction from outside the allowed network, because a container port mapping can quietly publish the service.
Put an authenticated proxy in front
Because the built-in app has no authentication, place an authenticated reverse proxy or identity-aware gateway in front of the web UI and API. Use your existing SSO and multi-factor policy at that layer. Confirm that the API path is also covered, not only the browser login page, and that the proxy logs who accessed which run.
Handle red team reports as sensitive
Red team reports contain harmful test prompts and the model responses they produced, which can themselves be sensitive. Restrict who can view and export them, keep them out of general chat and ticket systems, and set a retention period. Agree in advance who reviews findings and who may request a deletion.
Red teaming docsRedact before sharing outputs
Before an eval result or red team finding leaves the owning team, remove customer data, credentials, internal system prompts and personal data from prompts and responses. Review exported files and screenshots, not only the source configuration. Define a redaction checklist and record who approved each share.
Handling red team outputs and sensitive eval data
Treat red team output and eval results as sensitive data from the moment they are generated. A red team run produces attack prompts, model responses and sometimes the tool calls or retrieved content that came with them, and an eval dataset may be built from real customer records or internal documents. Before the first run on a self-hosted instance, decide who owns these outputs, which classes they fall into (for example, public test prompts, internal system behavior, and anything containing customer or personal data), and where each class may be stored. Write that decision down, because promptfoo does not make it for you. The self-hosted app stores results in a local SQLite database, so every file, backup and export of that database carries the same classification as its most sensitive record.
Retention is the control most teams skip. Set a retention period for eval results and red team reports, and make sure it covers the SQLite file, any Docker volume or Kubernetes persistent volume that holds it, backups and copies exported as JSON, CSV or HTML. Confirm with your own environment how the instance is cleared or rotated, since the self-hosting documentation does not give you a built-in purge workflow to rely on. Restrict exports to named people, and treat shared reports, screenshots and CI artifacts as separate copies that need the same rules. Keep prompts that contain real customer data out of shared datasets altogether, and substitute synthetic records where the test only needs realistic structure.
Use the OWASP LLM Top 10, the NIST AI Risk Management Framework and the EU AI Act references in the promptfoo red teaming documentation as inputs to your review. They help you name the risks you tested, map findings to owners and show that testing happened before deployment. They do not certify the system or make it compliant. Ask your compliance team which obligations apply to your use case, and ask any independent assessor which evidence they need from these runs. Finally, record who reviewed each finding and when, so the evidence trail shows how sensitive outputs were handled.
What to monitor, back up, upgrade and document after handover
Once a self-hosted promptfoo instance is handed over, security depends on routine work: watching who uses provider keys, keeping the SQLite data recoverable, patching on a schedule and recording how the system is run. These cards cover the operational tasks that keep the hardening from the earlier sections in place over time.
Monitor access logs and failed key use
Review the web server access logs for the promptfoo app and the provider-side usage dashboards for each API key. Look for requests from unexpected addresses, eval runs at unusual hours and spikes in failed authentication, since a revoked or leaked key often shows up first as repeated 401 or 403 responses. Agree who reviews these logs, how often, and what triggers a rotation. Because the self-hosted app has no built-in authentication, these logs are often the only record of who reached the instance.
Self-hosting docsBack up the SQLite file
Promptfoo stores its data in a local SQLite database, so backups mean copying that file on a schedule and encrypting the copies before they leave the host. Take the copy while the app is stopped or with SQLite's online backup method, so the file is not captured mid-write. Store backups in an encrypted location with the same access restrictions as the live file, and keep retention short enough to match your data handling policy. Test restores on a separate host, not only that backup jobs succeed.
Run restore tests
A backup that has never been restored is an assumption, not a control. Schedule a restore into an isolated environment, open the database, confirm that eval results and red team reports load in the web UI, and record the date, the backup used and the result. Repeat the test after any change to the Docker image, Node.js version or storage path. Keep the restore procedure in the runbook so someone other than the original builder can run it.
Rotate provider API keys
Provider keys in environment variables or secret stores should follow a written rotation schedule and an event-driven rotation for any suspected exposure. Create the new key, update the secret store, run a short smoke eval against each provider, then revoke the old key. Give each eval environment its own key where the provider allows it, so a rotation or revocation does not stop unrelated work. Confirm the exact rotation mechanics with each provider's console, since they vary.
Patch against releases and Node.js
Track new releases of promptfoo on npm and the GitHub releases page, and read the release notes for security fixes before upgrading. The current npm release, 0.124.1, was published on 8 October 2026 and requires Node.js 22.22.0 or newer, so a runtime upgrade can be needed alongside the app. Pin the version in CI and in the Docker image, test upgrades in a staging copy of the database, and keep a rollback path. Ask your vendor or partner which release cadence they will commit to in writing.
Promptfoo releasesKeep a runbook and data handling record
Write a runbook that covers deployment, key locations, backup and restore steps, upgrade steps and who to contact for each. Pair it with a data handling record that lists what eval inputs, outputs and red team reports are stored, where they live, who can read them, and how long they are kept. Update both after every upgrade or change to providers. Auditors and internal reviewers will ask for these documents first, so keep them in version control next to the configuration.
Questions teams ask before hardening promptfoo
Can promptfoo be secured without an implementation partner?
Yes, a team with infrastructure and security skills can harden a self-hosted promptfoo instance on its own, but the work spans several areas at once: protecting provider API keys, placing the Express server behind controlled access, persisting the SQLite data safely, and deciding who may read eval and red team output. The product documentation is clear that self-hosted promptfoo has no built-in authentication, no RBAC and no SSO, so those controls must come from your own network, proxy and identity layers. Teams without that capacity in-house usually weigh a partner against the time their own engineers would spend. Ask any partner to show the scope in writing before work starts.
What does the work need from our team?
Expect to supply access and decisions, not just time. The work typically needs:
- Access to the hosts, containers or Kubernetes namespace where promptfoo runs, plus the Docker Compose or Helm configuration in use
- A secret manager or equivalent vault for provider API keys, and an owner who can rotate them
- Your identity provider details and the group model that should map to access, if the instance will be shared
- A named owner for red team output, who decides retention, who may read reports and how findings reach remediation owners
Confirm these owners before the kickoff, since most delays come from waiting on decisions rather than on configuration.
Can self-hosted promptfoo be made production-ready?
Only with compensating controls, because the self-hosting documentation says the local SQLite database cannot be shared across replicas, that the deployment has no RBAC, horizontal scaling, built-in authentication or SSO, and that it is not recommended for production use. Hardening can reduce exposure a great deal: restricting network paths, putting an authenticating reverse proxy in front of the server, limiting file permissions on the database, and keeping backups under the same access rules as the data. Whether the result meets your internal production bar is a decision for your security and platform leads, and it should be recorded as a risk acceptance if gaps remain.
What drives the effort of hardening promptfoo?
The main drivers are the deployment shape and how many people will use the instance. A single developer running a Docker container on a laptop needs far less than a shared server reachable from CI runners, with several teams, multiple provider accounts and red team reports containing sensitive prompts. Other factors include how many provider keys are in use, whether CI/CD pipelines inject them, whether eval output is exported or shared, the logging and backup expectations of your organization, and how much of the evidence your compliance team will need to review. Ask for a quote that lists each of these items separately.
Does promptfoo Enterprise remove the need for these controls?
Not entirely. The pricing page lists Enterprise features such as team sharing, teams-based access control, SSO, custom roles and permissions, and priority support, and the On-Premise option runs that functionality on your own infrastructure with complete data isolation. Those features address the authentication and access gaps of the self-hosted app, so the scope of hardening shrinks. However, provider API key handling, network placement, backup protection, retention of red team output and the configuration of your identity provider still need work. Confirm with the vendor exactly which controls the Enterprise plan covers in your deployment model.
How do we keep hardening current across releases?
Treat hardening as configuration under version control, not a one-time task. Pin the promptfoo version in CI and in container images, check the release notes for each upgrade, and retest access controls and backups after every change. The npm package and GitHub releases list the Node.js requirement with each version, and the current release requires Node.js 22.22.0 or newer, so runtime upgrades can affect the host as well. Assign an owner to review new releases on a schedule your team can sustain, and repeat the access and data handling checks after each upgrade.
Who is responsible for protecting provider API keys?
Your organization stays responsible for its provider keys, because promptfoo runs locally and talks directly with the model providers you configure. Store keys in a secret manager, inject them only into the processes that need them, avoid committing them to configuration files or eval outputs, and restrict which team members and pipelines can read them. A partner can design that pattern and verify it, but key ownership, rotation schedules and provider-side spending limits should remain with the people who hold the provider accounts.
How DeployOpen scopes and hands over promptfoo hardening
DeployOpen scopes promptfoo hardening as a fixed-scope engagement, with the written scope agreed before any work starts. The scope names the deployment model (a single workstation, a self-hosted Express server run with Docker, Docker Compose or Kubernetes with Helm, or an Enterprise or On-Premise setup), the key inventory (every model provider key, CI secret and red team provider credential the team uses), the data classes that eval and red team runs produce, and the controls to build for each. It also states what is out of scope, such as building the eval suites themselves or changing the model applications under test. Ask for this scope in writing and check that each item maps to a control you can verify.
The build and verification work follows that scope. For the self-hosted instance, that typically covers where the SQLite database file lives, who can read it, how it is backed up and kept off shared replicas, since the self-hosting documentation states that the local SQLite database cannot be shared across replicas. It also covers how provider keys are injected at runtime rather than stored in configuration files, how eval outputs and red team reports are retained, redacted or deleted, and how access is limited with the controls the environment provides. Because self-hosted promptfoo has no built-in authentication, RBAC or SSO, any access restriction sits in the network and host layer. Verification means testing those restrictions from the position of an unauthorized user, not only reading the configuration.
The engagement closes with a documented handover: a runbook for operating and restoring the instance, and a data handling record listing the data classes, storage locations, retention periods the client sets, and who approves changes. Optional retainers cover upgrades across promptfoo releases and Node.js requirements, and retesting after changes. DeployOpen prepares systems, controls and evidence for compliance reviews, but it does not issue audit reports, attestations or certifications; independent auditors and certification bodies do that work. Quotes follow from the written scope, so the scope document is the thing to compare across proposals.

