PO.5 Secure development environments

PO.5 in NIST SP 800-218 asks you to separate and protect each development environment and to harden developer endpoints. This page explains what assessors test, which evidence passes and what meeting it costs.

On this page

What PO.5 secure development environments asks for

If a customer or contract asks for conformance to the NIST Secure Software Development Framework and PO.5 is one of the gaps in your assessment, the short answer is this: PO.5 requires you to separate and protect each environment used to build software, and to harden the endpoints your designers, developers, testers and builders use. Practice PO.5, titled Implement and maintain secure environments for software development, sits in the Prepare the organization group of SP 800-218. It was added as a new practice in SSDF version 1.1, published in February 2022. The Rev. 1 draft, which carries SSDF version 1.2, is still a draft, so confirm which version your customer names before you write your response.

The practice has two tasks. PO.5.1 asks you to separate and protect each environment involved in software development, so that a compromise in one (a laptop, a build runner, a test system) does not give an attacker free access to the others. PO.5.2 asks you to secure and harden development endpoints, meaning the machines that designers, developers, testers and builders use to write, test and package code. SP 800-218 is outcome-based and is not meant to be a checklist, so how you meet each task is your decision based on risk, cost, feasibility and applicability. Assessors will look for a decision you can explain and evidence you can produce, not a fixed set of tools.

The risk behind PO.5 is straightforward. If an attacker controls a developer workstation or a build environment, they can inject code, alter dependencies or sign a malicious artifact that looks legitimate downstream. PO.5 is hard in practice because it touches three things at once: access control (who can reach which environment, with which privileges), MFA (whether the sign-in to those environments resists stolen passwords) and endpoint security (whether the laptops and build hosts are patched, configured and monitored). Start by inventorying every environment and endpoint in the software lifecycle, then confirm with your identity and endpoint teams how each one is separated, enforced and logged.

Which environments and endpoints PO.5 covers in practice

PO.5 asks the organization to separate and protect each environment used to build software, and to harden the endpoints of the people who work in them. The scope you choose determines how much work this is, so it should follow the software you intend to attest rather than your whole company. The cards below cover the systems and people assessors most often ask about.

Source control systems

Repositories are where code, build definitions and review history live, so an attacker who changes them can change what ships. Confirm who can push to protected branches, whether administrators can bypass review, and how access is removed when people leave. Assessors usually ask for the access list and the change history of branch protection settings. Note that the organization decides how to meet PO.5.1 based on its own risk, so document the reasoning for each control.

Build and CI systems

Build servers and continuous integration pipelines turn source into artifacts and hold the credentials needed to publish them. Check whether runners are isolated per project, whether secrets are scoped to the job that needs them, and whether pipeline definitions can be edited without review. Treat the CI platform as a production system for PO.5.1 purposes, since a compromised pipeline can produce signed software that looks legitimate.

Artifact repositories

Package registries, container image stores and binary repositories hold the outputs that customers and downstream systems consume. Separate write access from read access, restrict who can promote artifacts between staging and release repositories, and log every upload. Ask your team to show which repositories are in scope for the attested software and how promotion from build output to release is controlled.

Test and staging environments

Test environments often hold copies of production data, shared test accounts and loosely managed configuration, which makes them easy to overlook. Decide whether each environment is isolated from production networks and credentials, and whether test data is masked. Document each environment in the scope so an assessor can see that PO.5.1 was applied to every place where code is built or exercised, not only the main pipeline.

Shared admin consoles

Cloud consoles, CI administration pages, repository settings and identity provider admin panels can change the security of every environment above them. Require separate privileged accounts, multifactor authentication for administrators, and logging of administrative actions. Review which console roles exist and who holds them, because these are the paths assessors trace when they test whether PO.5 access controls hold.

Designer, developer, tester and builder endpoints

PO.5.2 covers the laptops and workstations used by designers, developers, testers and builders, including contractor and remote devices. Confirm which devices can reach development environments, whether disk encryption and endpoint protection are enforced, and how unmanaged or personal devices are kept out. Ask for a device inventory that matches the people listed in your access records, since gaps between the two are a common finding.

How an assessor tests PO.5

This table sets out how an independent assessor would test PO.5.1 and PO.5.2, the evidence each step requests and the findings that most often come up. Read it as a preparation checklist: each row shows what the organization should be able to produce before the assessor asks, while the conclusion on its own practice stays with the organization.

Test stepWhat the assessor examinesEvidence requestedCommon finding
Environment inventory (PO.5.1)Whether every environment used to build software is listed, including source control, build, test, staging and artifact storageCurrent environment inventory with owners, data classification and network zone for each entryBuild or test environments that exist but were never added to the inventory
Separation and protection (PO.5.1)Network and account separation between development and production, and protection of each environmentNetwork diagrams, firewall or security group rules, separate cloud accounts or projects, and access policiesDevelopment systems with routable access to production data or credentials
Access reviews (PO.5.1, PO.5.2)Whether access to each environment is granted on need, reviewed on a schedule and removed when people leaveSampled access review records, joiner and leaver tickets, and group membership exportsStale accounts for former staff or contractors still active in build or repository systems
MFA enforcement (PO.5.2)Whether multi-factor authentication is required for the identity provider, source control, build systems and administrative consolesIdentity provider policy exports, conditional access settings and sampled login logsMFA enabled for the portal but not for direct service or API access to build tools
Shared and service credentials (PO.5.1)Whether individuals use named accounts and whether shared or long-lived secrets are controlled and rotatedCredential inventory, vault records, rotation logs and secret scanning resultsShared administrator logins on build servers or tokens hard-coded in pipeline configuration
Endpoint configuration baselines (PO.5.2)Whether developer, tester and builder endpoints follow a documented hardening baselineBaseline documents, configuration profiles, disk encryption status and screen lock settingsBaseline written but not applied, or exceptions granted with no expiry or approver
Endpoint management tooling (PO.5.2)Whether endpoints are enrolled in management and report their state to a central systemManagement console reports, enrollment counts and compliance status by device groupDeveloper laptops outside management, or enrolled machines not checked against the baseline
Build agent management (PO.5.1, PO.5.2)Whether build agents and runners are inventoried, patched, isolated and rebuilt from a known stateAgent inventory, image build records, patch status and isolation settingsUnmanaged build agents on personal hardware or long-lived agents that keep state between jobs
Developer machine sample (PO.5.2)Whether selected machines match the baseline and the management recordsSampled device configuration output, security agent status and recorded exceptionsSampled machine missing endpoint protection or running with local administrator rights without approval

How to implement PO.5 in sequence

This sequence takes an organization from an unknown set of development environments to a documented, monitored and exception-controlled state that an assessor can test against PO.5.1 and PO.5.2. Each step produces an artifact that the next step depends on, so the order matters more than the tools chosen.

  1. Inventory every environment and endpoint class

    Start by listing each environment where software is designed, built, tested, stored or released, including source repositories, build servers, artifact stores, staging systems and test data stores. Then list the endpoint classes that touch them, such as designer workstations, developer laptops, tester machines and build agents, and note who owns each one. The output is an environment and endpoint inventory with owners, hosting location and data classification. Confirm the list with engineering leads, because shadow environments created outside the platform team are the most common gap at this stage.

  2. Define separation and access rules

    For each environment in the inventory, document how it is separated from production and from other environments, such as separate networks, accounts, projects or clusters, and which identities may read, write or promote artifacts between them. Set the rules for production credentials and test data in development systems. The output is a separation and access standard that the platform team signs off, mapped to the PO.5.1 task that requires each environment to be separated and protected. Keep the standard short enough that engineers will follow it.

  3. Enforce MFA and least privilege on environments

    Apply the access rules to the identity provider and to each environment's own access controls. Require multifactor authentication for administrative and write access, and grant role-based permissions so that people hold only the access their role needs. Choose the second-factor methods your policy allows, such as TOTP apps, WebAuthn or FIDO2 passkeys. Open-source identity platforms such as authentik can validate these factors at login. The output is an access configuration export, a role matrix and a sample login record showing the second factor being checked. Confirm which factor types your identity platform supports before you write the policy.

  4. Set hardened endpoint baselines

    Write a configuration baseline for each endpoint class identified in step one, covering operating system patching, disk encryption, screen locks, local administrator rights, approved software, remote access and the handling of build secrets. Apply the baseline through your device management or configuration tooling, and record exceptions rather than silently relaxing the baseline. The output is a versioned baseline document per endpoint class and a test report showing which devices meet it. Confirm the controls against your own environment and any informative references your team adopts, since NIST presents these as examples, not requirements.

  5. Deploy monitoring and compliance checks

    Run recurring checks that compare each endpoint and environment against its baseline and alert on drift, such as unexpected administrator accounts, disabled disk encryption or unapproved software. Open-source endpoint tools such as osquery can run scheduled SQL queries across a fleet, and Velociraptor can collect artifacts from a group of systems, including machines that reconnect later. Route results to the team that owns each environment. The output is a dashboard or report of baseline compliance over time, plus a record of the alerts raised and how each was resolved. Confirm which queries and artifacts your endpoint estate supports before you rely on them as evidence.

  6. Document exceptions with approvals

    Some environments will not meet the separation rules or baseline on day one, and some teams will need temporary deviations. Record each exception with the affected environment or endpoint, the control it departs from, the business reason, the compensating measure, the risk owner's approval and a review date. Keep the register in the same system as the inventory so the two stay aligned. The output is an exception register with signed approvals that an assessor can sample. Reviewing it at regular intervals, and removing exceptions once the gap closes, is what turns a list of exceptions into evidence of managed risk.

Evidence that satisfies PO.5

PO.5 asks the organization to separate and protect development environments and to harden developer endpoints. The artifacts below show that both are true in practice and that they stay true between reviews. Each card names one item, what it proves and what to check before a customer or assessor asks for it.

Environment inventory with trust boundaries

List every build, test, staging and developer environment, its owner, its hosting location and the trust boundary that separates it from production and from other environments. Record which credentials, data classes and network paths cross each boundary. Assessors use this inventory to decide whether PO.5.1 is scoped correctly, so check that any environment created outside the change process, such as a short-lived test cluster, appears in it. Owned by the organization, refreshed at each architecture change and at a set review date.

Network and access diagrams

Diagrams showing how developer workstations, source control, CI runners, artifact stores and deployment targets reach each other, including firewall rules, egress paths and the identity provider that brokers access. Keep the diagram tied to the inventory so each boundary has a matching path. Check that the diagram reflects the running system, not the design from the original project, by comparing it with a current configuration export.

MFA enforcement settings and exports

Screenshots alone do not prove enforcement. Keep exports of the identity provider and the platform policies that show which groups must present a second factor, which factor types are allowed, and whether recovery codes or fallback methods bypass the requirement. For self-hosted identity stacks, the authenticator validation stage in authentik and FreeIPA's OTP token settings are examples of settings to export and retain. Confirm the export includes admin and service accounts.

authentik validation docs

Privileged access reviews

Record who holds administrator rights on source control, build servers, secrets managers and environment hosts, why each person holds them and when each grant was last confirmed. Reviews should show removals as well as confirmations. The organization sets the review cadence and the reviewer, and should keep the signed review with the list it covers. Ask whether break-glass accounts are included, since assessors frequently find them missing from reviews.

Endpoint baseline documents and configuration reports

Write a baseline for developer and build endpoints that covers disk encryption, screen lock, patch currency, local administrator rights, approved software and remote access. Run a recurring configuration report against that baseline and retain the output. Fleet tooling such as osquery can schedule queries across hosts and return results in SQL tables, which gives a dated record of drift. Confirm that the report covers every endpoint class in the inventory, including contractor laptops.

osquery documentation

Exception records

Every deviation from the environment separation rules or the endpoint baseline needs a record: what was excepted, the business reason, the compensating control, the approver, the expiry date and the closure evidence. Exceptions that never expire are a common assessor finding. Review open exceptions at the same cadence as privileged access reviews, and confirm that each one still matches a live system in the inventory.

What meeting PO.5 costs in money and effort

This table breaks the cost of meeting PO.5 into its components, showing who is paid for each, whether it is one-time or recurring, and what drives it up. Use it to structure a quote request, since NIST publishes no prices and the figures must come from your vendors, your own environment and your assessor.

Cost componentWho is paidOne-time or recurringWhat drives it
Identity and MFA licensing or self-hosting effortIdentity vendor, or internal and partner staff if self-hostedLicenses recur; self-hosting setup is one-time with ongoing upkeepUser count, number of applications behind SSO, and whether MFA factors such as passkeys or SMS are licensed separately
Endpoint management and monitoring toolingTool vendor or open-source operator, plus staff who run itLicenses or hosting recur; deployment and policy design are one-timeFleet size, operating system mix, and how many query or hunt capabilities are enabled
Engineering time for environment separationInternal platform engineers or an implementation partner under a written scopeOne-time for design and build; recurring for changesNumber of environments (development, test, build, staging), network segmentation complexity, and how many pipelines cross them
Endpoint hardening of developer and build machinesInternal IT or a partner that writes baselines and tests themOne-time baseline; recurring for patching and exceptionsNumber of developer devices, exceptions for local admin rights, and whether build servers are managed separately
Evidence upkeepInternal compliance and engineering staffRecurringFrequency of access reviews, how much evidence is generated automatically, and how many environments must show separation
External testing or independent reviewSecurity testing firm or assessor, under a written scopeRecurring if scheduled annually or after major changesNumber of environments in scope, depth of configuration review, and whether retesting is included
Auditor sampling and assessment effortIndependent auditor or assessor, and internal staff who support samplingRecurring with each assessment cycleNumber of sampled developers, environments and change records, and how easily evidence is retrieved
Contractor and third-party access managementInternal staff; partner or vendor fees if they operate accessRecurringNumber of contractors with environment access, offboarding frequency, and whether their devices meet the same baseline

Which open-source tools support PO.5 evidence

PO.5.1 asks the organization to separate and protect each environment involved in software development, and access control is where that protection is most often tested. Identity tools can enforce second factors at the point of login, and the configuration and logs they produce are the kind of evidence an assessor can review. Two open-source options are commonly evaluated for this role, and they fit different starting points.

  • authentik (MIT): The authenticator validation stage checks enrolled second factors during login, including TOTP apps, WebAuthn and FIDO2 passkeys, Duo, SMS codes, email codes and static recovery codes. Its flow configuration can be exported and reviewed as evidence of which factors each environment requires.
  • FreeIPA (GPL-3.0-or-later): Supports two-factor authentication with HOTP (RFC 4226) and TOTP (RFC 6238) tokens, including software tokens enrolled by QR code and hardware tokens such as YubiKeys.
  • Migration path: FreeIPA can proxy OTP checks to an existing RADIUS server during migration, which helps teams move users without a single cutover date.
  • Recovery codes: Static recovery codes in authentik need a documented issuance, storage and retirement process, or they become an unmanaged bypass.
  • License review: Confirm with counsel that your distribution model and internal modifications fit MIT and GPL terms.

Confirm which second factors your developers and build administrators actually use, and whether each development environment enforces MFA at login rather than relying on a shared VPN.

Where PO.5 programs usually fall short

PO.5 asks for separated, protected development environments and hardened developer endpoints. The gaps below tend to appear together: shared credentials, unmanaged devices, weak authentication and no record of exceptions. Each card names the gap, why an assessor will notice it, and what to check first.

Shared build credentials

Build servers, artifact stores and deployment pipelines often run on a single service account or a password shared by a team. PO.5.1 asks the organization to protect each environment, and shared secrets make it impossible to tell who changed what. Close the gap by giving each pipeline and each person a separate identity, storing secrets in a vault, and rotating them on a schedule the organization documents. Ask whether any credential can be used from more than one environment.

Unmanaged contractor endpoints

Contractors and offshore teams often write code on laptops the organization does not manage. PO.5.2 covers the endpoints of designers, developers, testers and builders, so these devices fall inside the practice even when a third party owns them. Close the gap by requiring managed or attested devices before they reach source code or build systems, and by revoking access when a contract ends. Ask which devices can clone repositories today.

MFA not enforced on build systems

Teams often require multifactor authentication for email and the corporate portal but leave CI servers, code hosts and artifact registries on passwords alone. A stolen password then reaches the path that ships software. Close the gap by placing developer tools behind a central identity provider that enforces a second factor. An authenticator validation stage, such as the one in authentik, can check TOTP apps, WebAuthn passkeys and recovery codes during login. Confirm that admin accounts are covered too.

Missing environment inventories

Many organizations cannot list every development, test, staging and build environment, including short-lived ones created for a project. Without an inventory, separation and hardening controls cannot be applied consistently or tested. Close the gap by keeping a register of each environment with its owner, purpose, network path, data classes and access list, and reviewing it at a set interval. Ask who approves a new environment and whether that approval leaves a record.

Endpoint state nobody checks

A developer laptop may pass a one-time hardening review and then drift for months. Disabled disk encryption, outdated agents or unexpected software can go unnoticed because no one queries the fleet. Close the gap by running scheduled, fleet-wide queries for running processes, open network connections and file hashes, then routing deviations to a named owner. osquery can run such queries across a host fleet on a schedule. Ask who reviews the results and how often.

No trail for exceptions

Teams sometimes grant temporary admin rights, skip MFA for a vendor or keep an old test environment open to meet a deadline. When these exceptions are not logged, an assessor sees a control that exists on paper but not in practice. Close the gap by recording each exception with a business reason, an approver, an expiry date and a review date, and by removing access when it expires. Ask for the exception log and check whether any entry has passed its expiry.

PO.5 questions buyers ask before hiring help

How much effort does PO.5 work cost and what drives it?

The cost depends on how many environments and endpoints are in scope and how far the current setup is from separated, hardened and documented. No price or effort figure for PO.5 is supplied here, so ask for one in writing. Costs fall into three groups: the internal time of your engineers and IT staff, any external partner fees for scoped preparation work, and recurring tooling and review time. The biggest drivers are the number of build and test environments, whether production and development share credentials or networks, how many developer laptops and build machines need hardening, and how much evidence you must produce. A quote should list the environments and endpoints covered, the deliverables, who performs each step, and which items are one-time versus recurring.

How long does PO.5 take and what does the timing depend on?

Timing depends on the starting state of your development environments and on how quickly decisions and access can be granted. No duration is supplied for this work, so confirm a schedule against a written scope. The main factors are the number of environments to separate, whether network segmentation or identity changes are needed, how many endpoints require hardening and re-imaging, and how quickly your change approval process moves. Work that depends on procurement of new identity or endpoint tools tends to take longer than configuration of tools you already run. Ask any provider for milestones tied to specific environments and endpoints rather than a single end date.

What does the work need from our internal team?

The work needs named owners for identity, network, endpoint management and development operations, plus a decision-maker who can accept risk trade-offs. Your team owns the controls, so someone internal must approve the design, grant access to the environments, and confirm that developers can still do their jobs after hardening. Expect requests for an inventory of build servers, CI runners, source repositories, artifact stores and developer devices, along with current access lists and admin accounts. Your team also needs to review evidence before it goes to an auditor or customer. A partner can prepare configurations and documentation, but internal staff must operate the environments afterward.

Can a small team implement PO.5 in-house?

A small team can implement PO.5 in-house if it has someone who can administer identity, network segmentation and endpoint management, and if the environment count is limited. NIST describes SSDF as outcome-based rather than a checklist, so a small organization can choose proportionate measures based on its own risk. The tasks to test against are PO.5.1, which covers separating and protecting each development environment, and PO.5.2, which covers securing and hardening developer, tester and build endpoints. Teams that lack this skill mix often hire outside help for the initial design and configuration, then run the environment themselves. Confirm with the team what time they can commit before deciding.

Is SSDF conformance self-attested or certified by NIST?

SSDF conformance is not certified by NIST. NIST publishes SP 800-218 as recommendations, and an organization or its customer decides how to demonstrate adherence. In practice, many organizations self-attest, and some customers or agencies ask for a specific attestation form or independent assessment, so check what the requesting party expects. Only an independent assessor or certification body can issue a report or certificate that a third party accepts as independent. An implementation partner can prepare systems, configurations and evidence for PO.5, but it does not issue attestations. Ask your contract owner exactly which artifact they need before work starts.

What does PO.5 have to do with the Rev. 1 draft?

PO.5 is in the current final SSDF version 1.1, and the Rev. 1 draft did not change that status as of the retrieved record. NIST published the initial public draft of SP 800-218 Rev. 1, which would be SSDF version 1.2, on December 17, 2025, with public comments accepted through January 30, 2026. The NIST project page still presents version 1.1 as final, and the Rev. 1 page lists only the draft in its history. Build your PO.5 work against version 1.1 now and track the draft for changes to task wording or references. Confirm the current status on the NIST project page before a customer asks which version you follow.

Which tools help show PO.5 evidence on endpoints?

Open-source tools can produce endpoint and identity evidence that supports PO.5, but you must confirm they fit your environment. osquery exposes system state such as running processes, open network connections and file hashes as SQL tables, and its osqueryd daemon can schedule queries across a fleet. Velociraptor collects forensic artifacts from endpoints and can run hunts across groups of systems, including collection when offline machines reconnect. For MFA on access to development systems, authentik can validate enrolled second factors such as TOTP apps, WebAuthn and FIDO2 passkeys, and FreeIPA supports HOTP and TOTP tokens. Verify licensing, supported platforms and any required integrations with your own engineers before adopting them.

What should we ask a provider before signing a PO.5 scope?

Ask for a written scope that names each environment and endpoint group, the tasks it addresses, and the deliverables. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. It prepares systems, controls and evidence for assessments but does not issue audit reports, attestations or certifications. Ask who performs each step, what you must provide, how changes are tested, and whether ongoing support or retesting is included. A quote should follow directly from that written scope.

How PO.5 environments and endpoints fit together

The diagram starts with developers and their endpoints, which reach the identity provider first. Login passes through an MFA check before anyone gets access to the development, build, test or production environments. Each environment sits inside its own trust boundary, so a compromised endpoint cannot reach production directly. An endpoint monitoring feed runs alongside and produces the records an assessor asks for, such as query results showing endpoint state. Check that every path into an environment crosses the MFA stage, and that the monitoring data is retained and reviewed.

Developer access, MFA, separated environments and endpoint evidence.

How DeployOpen prepares PO.5 controls and evidence

DeployOpen plans, implements and documents the self-hosted platforms and endpoint tooling that PO.5 depends on, inside your own cloud accounts, data centers or air-gapped networks. The work is scoped in a written, fixed-scope agreement that names the environments, endpoint groups, identity systems and deliverables before anything is built. DeployOpen does not issue attestations, reports or certifications. Your organization owns its controls and decides how each PO.5 task is met. DeployOpen prepares the systems and the evidence, and your independent auditor or assessor tests them and reaches its own conclusions.

In practice, the build usually covers three areas. The first is identity for development access, where a self-hosted identity provider such as authentik (MIT) can enforce second factors at login, including TOTP apps, WebAuthn and FIDO2 passkeys, through its authenticator validation stage. Where a Linux-centric directory is in use, FreeIPA (GPL-3.0-or-later) supports HOTP and TOTP tokens and can proxy OTP checks to an existing RADIUS server during migration. The second is endpoint visibility, where osquery (Apache-2.0 OR GPL-2.0-only) can schedule SQL queries across a fleet to check running processes, open network connections and file hashes on developer and build hosts. The third is incident-grade collection, where Velociraptor (AGPL-3.0-only) runs hunts across groups of systems and collects offline machines when they reconnect. Confirm with DeployOpen during scoping which of these fit your estate and licensing position, since each has its own license terms.

Once the systems are running, DeployOpen can test them with its security testing services, including configuration review of development hosts, build infrastructure and identity settings. Ask for a written evidence list before work starts: the environment inventory, network segmentation diagrams, MFA enforcement settings, hardening baselines, query definitions and sample outputs, and the change records that show how the setup was maintained. Ask your auditor which of these they expect to sample, and agree on the format and retention period for each artifact before the build begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.