Skip to content

Security Profiles

llms.txt lists every page for an agent

A security profile is a name in the top-level security list of chant.workspace.json, beside the security groups:

{
"name": "acme",
"schema": 1,
"security": ["fedramp-moderate"],
"retention": { "changeSets": { "days": 90 }, "releases": { "days": 90 } }
}

A profile does not make a system compliant or authorised. It turns on chant’s security features and reports what is missing from the records they produce, and those records are evidence toward the controls named below. The system owner implements the controls, and an assessor decides whether each is met.

A profile is named at the top level only, since its retention, gates and trust file cover the whole workspace. A member’s own security list takes groups. A declaration that names a profile needs a chant that reads it, so it sets minReader to the release that carries SECURITY_PROFILES_FLOOR.

ProfileBaselineGroups it turns onRetention at leastScanner database at mostCheck
fedramp-moderatethe FedRAMP Rev. 5 Moderate baseline (NIST SP 800-53 Rev. 5)verified-releases, supply-chain, who-ran-it, review-rules, isolated-runners90 days24 hoursWSP166
cccs-mediumthe CCCS Medium cloud profile (ITSG-33, which follows NIST SP 800-53 Rev. 4)verified-releases, supply-chain, who-ran-it, review-rules, isolated-runners90 days24 hoursWSP167

fedramp-moderate reads the FedRAMP Rev. 5 Moderate baseline, whose control ids are NIST SP 800-53 Rev. 5. cccs-medium reads the CCCS Medium cloud profile (ITSP.50.103 Annex B), whose ids come from ITSG-33 and follow SP 800-53 Rev. 4, so it has no SR family and no CM-14. The 90 days come from FedRAMP’s AU-11 parameter (on-line for at least 90 days) and the 24 hours from its RA-5(2) parameter (within 24 hours prior to running scans). cccs-medium uses the same two numbers. Naming both profiles turns on the same groups, runs both checks, and takes the stricter number of each.

Each profile does three things.

  • It turns on every security group. Each group’s own check (WSP161 to WSP165) reports what the group lacks, and every command that a group changes, such as chant release publish and chant ci run, behaves as it does under the group.
  • chant lifecycle gc keeps change sets and releases for at least the profile’s days. A longer retention is kept. A shorter one is not used, and gc says so. Run events are not covered, since they live in one clone.
  • chant release publish and chant workspace train publish refuse a scan whose vulnerability database was built longer ago than the profile’s hours, or whose build time the scanner does not report, with publish-scan-db-stale. The scan is recorded as scan-failed and nothing is staged. chant release cut, which runs the same scan before it tags the release, refuses with the same code and records nothing. chant release scan holds a rescan to the same bound: its line is written with stale saying why, and the rescan exits 1 with release-scan-db-stale and does not count as a passing scan at promote. release.scan.dbMaxAgeHours in chant.config.ts sets a shorter bound, and sets one without a profile.

chant workspace check reports each profile’s findings under its own check: WSP166 for fedramp-moderate and WSP167 for cccs-medium, warnings by default. Each finding’s message ends with the control ids it bears on, taken from the profile’s baseline.

CodeReportsFedRAMP ModerateCCCS Medium
profile-retention-shortretention.changeSets.days or retention.releases.days is unset or below the profile’s daysAU-11AU-11
profile-gate-not-humanidentity.gates.release, or a gate an apply job names, is missing, names no class, names a class an agent, runner or service principal holds, or sets agentPassesAlone: trueAC-5, CM-3(4)AC-5, CM-3(4)
profile-scan-offa member’s chant.config.ts sets release.scan: falseRA-5RA-5
profile-scan-db-unboundedrelease.scan.db is set with no dbMaxAgeHours, or dbMaxAgeHours is above the profile’s hoursRA-5(2)RA-5(2)
profile-signing-offa member’s chant.config.ts sets release.signing: falseSI-7, SR-11SA-10(1), SI-7
profile-signing-modulea member signs images or forge assets keylessly or with key, and its chant.config.ts names no CHANT_COSIGN, so the upstream cosign build makes the signatureSC-13SC-13
profile-runner-key-eddsa.chant/trust.json lists an ssh-ed25519 key under runners or local.keysSC-13SC-13

kms mode passes profile-signing-module, since the KMS makes the signature and its own certificate is the one to read. So does a CHANT_COSIGN build named in the release config’s env or setup. Signatures and crypto modules lists what makes each signature.

Whether the forge refuses a force push to or a deletion of chant/lifecycle (AU-9) is a forge setting. chant release doctor reads it as lifecycle-protected under either profile, since a profile turns on verified-releases and who-ran-it.

The table is printed from SECURITY_CONTROLS in packages/core/src/workspace/security-controls.ts, and a test compares the two. “yes” means the baseline selects the control, ”-” that it does not, and “n/a” that the id is not in the catalogue the baseline uses. The Checks column names the workspace check codes, publish refusals and doctor checks that bear on the control. chant release evidence writes a release’s records, or a period’s, into a directory with an index by these ids, each control with the records that bear on it and what they do not show.

ControlTitleFedRAMP ModerateCCCS MediumEvidenceChecks
AC-5Separation of Dutiesyesyesci.identity.cloud, _gates/<op>.jsonl, identity.gates.<gate> with a class, .chant/trust.jsonprofile-gate-not-human, security-review-not-required
AC-6Least Privilegeyesyesthe plan job holds no forge token, chant ci run --pass-env, --secrets, release.signing.kms credentials reach the publish step onlynone
AU-2Event Loggingyesyes_merges/<commit>.json, _change-sets/<digest>.json, _gates/<op>.jsonl, _releases/cuts.jsonl, _releases/publishes.jsonl, <env>/releases.jsonl, <env>/runs__<op>.jsonlnone
AU-3Content of Audit Recordsyesyesthe actor, time, commit or digest and outcome on each chant/lifecycle line, the plan digest on each approval, targets, destinations and digests on _releases/publishes.jsonlnone
AU-6Audit Record Reviewyesyesthe gate audit over _gates/*.jsonl, the unrecorded writer audit, drift attributionnone
AU-9Protection of Audit Informationyesyesappend-only ledgers on chant/lifecycle, ssh-signed cuts, sealed approvals (chant approve --sign), DSSE-signed runner evidence, the pre-receive hook of chant workspace ref-gate installlifecycle-protected
AU-11Audit Record Retentionyesyesretention in chant.workspace.json, chant lifecycle gc, git history of chant/lifecycleprofile-retention-short
AU-12Audit Record Generationyesyeschant components pr-record, chant approve, chant release cut, chant release publish, chant components promote, chant ci runnone
CA-7Continuous Monitoringyesyeschant lifecycle diff --live, drift readsnone
CM-2Baseline Configurationyesyesthe declared source at a commit, _releases/<digest>.jsonnone
CM-2(2)Automation Support for Accuracy and Currencyyesyesdrift reads and snapshots, chant release images --repinnone
CM-3Configuration Change Controlyesyes_change-sets/<digest>.json, _gates/<op>.jsonl, _merges/<commit>.json, chant workspace ref-gate install and statusnone
CM-3(2)Testing, Validation, and Documentation of Changesyes-release.green, the signed gate record of a verified cutnone
CM-3(4)Security and Privacy Representativesyesyesidentity.gates.<gate> with a class, sealed approvals on _gates/<op>.jsonlprofile-gate-not-human, security-release-gate-missing
CM-3(6)Cryptography Management-yesrelease.signing in chant.config.tsnone
CM-4Impact Analysesyesyesthe plan and its change setnone
CM-5Access Restrictions for Changeyesyesrunner-start statements (chant ci runner-start verify, --require-runner-start), the ref gate’s refusalssecurity-runner-start-no-key, security-runner-start-no-role, security-trust-unreadable
CM-5(1)Automated Access Enforcement and Audit Recordsyesyesthe ref gate’s refusals, _gates/policy-override.jsonl, _gates/policy-override/applied.jsonlnone
CM-6Configuration Settingsyesyeslint and post-synth checks on every build, chant audit, DKRD021security-image-base-unpinned
CM-8System Component Inventoryyesyesthe SBOM of each release target, the image SBOM made from its layers, chant workspace statesecurity-sbom-disabled, security-sbom-unsourced
IA-2Identification and Authenticationyesyesthe identity form on each record (signer, forge, role, name), identity.attribution: "identified"security-attribution-any
RA-5Vulnerability Monitoring and Scanning (CCCS: Vulnerability Scanning)yesyesscanned and scan-failed lines on _releases/publishes.jsonl, the scan.json referrer, vulnPolicy, vuln-gate stepsprofile-scan-off, scan-tool
RA-5(2)Update Vulnerabilities to Be Scannedyesyesthe database version and build time on each scan recordprofile-scan-db-unbounded, publish-scan-db-stale, release-scan-db-stale
RA-5(3)Breadth and Depth of Coverageyesyeslayer SBOMs listing OS packagesnone
SA-10Developer Configuration Managementyesyes_releases/<digest>.json, _change-sets/<digest>.json, _merges/<commit>.json, ci/revoked/<sha> tagsnone
SA-10(1)Software and Firmware Integrity Verification-yeschant release verify <label>, chant release verify --sigstore, chant components promote --releaseprofile-signing-off
SA-11Developer Testing and Evaluation (CCCS: Developer Security Testing)yesyesthe green gate, check jobs and their reportsnone
SA-11(1)Static Code AnalysisyesyesSARIF from the sonar, mend and wiz presets of ci.hooks.check in the check reportnone
SA-15Development Process, Standards, and Toolsyesyestools pinned by SHA-256 (tool-pins.ts), actions pinned by commit (action-pins.ts), images pinned by digest (image-pins.ts)none
SC-12Cryptographic Key Establishment and Managementyesyes.chant/allowed_signers, runner keys and passkeys in .chant/trust.json, release.signing.kms or keynone
SC-13Cryptographic Protectionyesyescrypto on _releases/publishes.jsonl lines, the runner key types in .chant/trust.json, the release.signing modeprofile-signing-module, profile-runner-key-eddsa, crypto-module, signing-cosign-build
SI-2Flaw RemediationyesyesvulnPolicy at publish, chant release images --repinnone
SI-7Software, Firmware, and Information Integrityyesyescontent digests on every release and record, digest-pinned bases, Sigstore signatures and SLSA statements, chant release verifyprofile-signing-off
SI-7(1)Integrity Checksyesyeschant release verify --sigstorenone
SR-3Supply Chain Controls and Processesyesn/abases pinned by digest, pull login for private base registries, Chainguard bases for CI product images, SLSA provenance naming the buildersecurity-image-base-unpinned
SR-11Component Authenticityyesn/abases by digest, Sigstore signatures in keyless, kms or key modeprofile-signing-off

These controls are often named for pipelines and are in neither baseline. Neither profile reports anything toward them.

ControlTitleWhy it is in neither
AU-10Non-repudiationHigh only in NIST; not in FedRAMP Moderate or CCCS Medium. Signed cuts and sealed approvals bear on it where a system selects it.
CM-14Signed ComponentsIn no NIST baseline, and not in the ITSG-33 catalogue.
SR-4ProvenanceIn no NIST baseline. The SLSA statements bear on it where a system tailors it in.
SI-7(15)Code AuthenticationHigh only.
SA-12Supply Chain ProtectionIn the ITSG-33 catalogue but not selected in the CCCS Medium cloud profile.

chant