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.
How coverage is classified
Section titled “How coverage is classified”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:
| Class | Meaning | Tasks |
|---|---|---|
| Enforced | gh-aw applies a control by default or by configuration. A violation can block compilation, a run, or a write. | 8 |
| Supported | gh-aw has a feature you can use for the task, but does not require it. | 25 |
| Evidence | gh-aw produces records you can use to show the task was done. | 5 |
| Organizational | A process or people task with no gh-aw control. | 4 |
What gh-aw enforces
Section titled “What gh-aw enforces”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.jsonblocks 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: approvedby 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) whencreate-pull-requestmodifies protected files and blockmerge-pull-requestwhen 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": trueinaw.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, convertspush-to-pull-request-branchinto a review pull request, and annotates reviewable outputs (such ascreate-pull-request) without blocking their creation. Setsafe-outputs.threat-detection.continue-on-error: falseto 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, andwriteby default.
Supported tasks and available evidence
Section titled “Supported tasks and available evidence”- Policy and roles: Configuration Governance
sets defaults across enterprise, organization, and repository;
on.rolesand manual approval gates restrict who can run workflows. - Security work by agents: workflows can review code, triage alerts, draft
security advisories, and propose fixes with
create-code-scanning-alert,create-security-advisory,autofix-code-scanning-alert, andcreate-pull-request. - Evidence: artifacts,
gh aw auditandgh aw logs, and OpenTelemetry record what each run did. Human review patterns link proposals, assignments, and pull requests.
Agentic SBOM support
Section titled “Agentic SBOM support”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.
| Inventory | Command and output | Evidence |
|---|---|---|
| Workflow SBOM | gh 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.
Known gaps
Section titled “Known gaps”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.
Configure an SSDF-aligned deployment
Section titled “Configure an SSDF-aligned deployment”The specification defines three levels. Each includes the one before it.
| Level | What to do |
|---|---|
| 1. Baseline | Keep 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. Governed | Set "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. Evidenced | Export 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:
{ "strict": true }gh aw compile --sbom --actionlint --zizmor --poutineWhen 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.