Secure Software Development Framework (SSDF)

The NIST Secure Software Development Framework (SSDF) v1.1 (SP 800-218) is a set of secure development practices that many organizations use to describe their software development life cycle. This page summarizes how GitHub Agentic Workflows (gh-aw) fits into that framework when AI agents take part in development.

For the full task-by-task mapping, conformance rules, and test IDs, see the SSDF Mapping Specification.

The SSDF has 42 tasks in four groups: Prepare the Organization (PO), Protect the Software (PS), Produce Well-Secured Software (PW), and Respond to Vulnerabilities (RV). The specification gives each task one class:

ClassMeaningTasks
Enforcedgh-aw applies a control by default or by configuration. A violation can block compilation, a run, or a write.8
Supportedgh-aw has a feature you can use for the task, but does not require it.25
Evidencegh-aw produces records you can use to show the task was done.5
OrganizationalA process or people task with no gh-aw control.4

The mapping classifies the following tasks as Enforced. That classification applies to the gh-aw control, not the entire SSDF task.

  • Secure toolchain (PO.3.2, PW.4.4): the compiler pins actions to commit SHAs and caches those pins in actions-lock.json. At runtime, compat.json blocks workflows compiled with a revoked version or one below the minimum. The firewall installer verifies release downloads against a pinned checksum manifest. See Releases and Versioning.
  • Isolated environments (PO.5.1): the agent can edit its checkout, but its repository token is read-only by default. The sandbox restricts network access through an allowlist. Integrity filtering limits which GitHub content the agent can read through configured tools (min-integrity: approved by default on public repositories; opt-in on private and internal repositories).
  • Protected code (PS.1.1): separate jobs apply repository writes declared through safe outputs. By default, protected-file checks submit a changes-requested review (request-review) when create-pull-request modifies protected files and block merge-pull-request when protected files are modified. Use branch protection or rulesets to require approval before merge.
  • Secure build settings (PW.6.1, PW.6.2): strict mode is on by default, cannot be disabled on public repositories at runtime, and can be locked repository-wide with "strict": true in aw.json. The compiler runs built-in workflow linters; additional scanners are opt-in.
  • Review before write (PW.7.2): threat detection runs by default before safe outputs are applied. In the default warning mode (continue-on-error: true), a detected threat or detection failure aborts non-reviewable outputs, converts push-to-pull-request-branch into a review pull request, and annotates reviewable outputs (such as create-pull-request) without blocking their creation. Set safe-outputs.threat-detection.continue-on-error: false to fail the detection job and block all safe outputs.
  • Secure defaults (PW.9.1): the agent has minimal permissions, the firewall is enabled, and triggers that check repository roles allow admin, maintainer, and write by default.

gh-aw generates machine-readable inventories of the agentic toolchain in CycloneDX 1.7 JSON. These support toolchain evidence (PO.3.3), release integrity information (PS.2.1), component provenance (PS.3.2), and component maintenance (PW.4.1, PW.4.4); they are not SBOMs for the software an agent produces.

InventoryCommand and outputEvidence
Workflow SBOMgh aw compile --sbom writes <workflow>.lock.cdx.json beside the lock file.Declared actions, containers, runtimes, compiler, engines, models, imports, skills, plugins, and MCP servers where available. Deterministic output binds the exact lock-file SHA-256 and workflow body hash; validation detects stale companions.
Operational BOM (OBOM)A full single-run gh aw audit RUN_ID writes run.obom.cdx.json in the audit output directory.Recorded engine versions, container digests, inference endpoints, model aliases, and execution-environment details. A CycloneDX BOM-Link connects it to the historical workflow SBOM when the executed revision can be recovered.

Default compilation does not emit a workflow SBOM. Full single-run audits emit an OBOM, including when reusing a cached report; job- and step-only audits do not provide a full-run inventory. Both inventories distinguish declared, observed, and unresolved dependencies rather than treating configuration as proof of use. They add no workflow jobs or inference calls. Container package SBOM generation with --syft and vulnerability scanning with --grype complement, rather than replace, the workflow inventory.

The specification keeps a gap register of SSDF outcomes that gh-aw does not fully cover. Highlights:

  • gh-aw does not generate signed provenance or artifact attestations for lock files or agent-proposed changes. Hash-bound inventories are not attestations.
  • Agentic SBOM support partially addresses the inventory gap, but transitive action dependencies, script-installed packages, recursive imports, and dynamic expressions can remain unresolved. Missing runtime or historical evidence is explicit; runner telemetry is unverified, not attested. Product-release SBOMs remain the organization’s responsibility.
  • Tests and human review of every agentic pull request depend on CI and rulesets you configure.
  • No organization-wide allowlist of engines, models, or MCP servers.
  • Run artifacts expire under your retention policy. Exporting evidence does not by itself protect it from tampering.
  • Training, management commitment, release archiving, and endpoint hardening stay with your organization.

The specification defines three levels. Each includes the one before it.

LevelWhat to do
1. BaselineKeep strict mode and the firewall on. Keep threat detection on for write-capable safe outputs and do not set protected-files: allowed on create-pull-request or push-to-pull-request-branch. Commit workflow lock files and actions-lock.json. Do not grant the agent write permissions beyond those the compiler adds. Do not use on.roles: all with pull_request_target.
2. GovernedSet "strict": true in aw.json. Run the scanners shown below in CI and block on new error-severity findings. Generate and commit .lock.cdx.json workflow inventories with --sbom when tracking toolchain dependencies. Require human approval before merging agent-created pull requests through branch protection or rulesets.
3. EvidencedExport OpenTelemetry traces or retain run artifacts for your evidence retention period. Configure safe-outputs.authorization for workflows that write to repositories. Review gh aw audit (including .obom.cdx.json operational inventories) or gh aw logs reports at a documented interval.

A Level 2 starting point:

.github/workflows/aw.json
{ "strict": true }
Terminal window
gh aw compile --sbom --actionlint --zizmor --poutine

When you claim alignment, state the level, the repositories in scope, how you handle the Organizational tasks, and how you address each open or partial gap. See Section 9 of the specification for the exact requirements.