Skip to content

Confidential content and redaction

Everything CredenceStack ships is public. Content you load yourself (your own scenario packs, profiles, domain policies or mutators) can be marked confidential: a scenario that reflects a real control weakness, a detection rule, or a pattern you do not want to publish. Visibility is set per pack (visibility: confidential in pack.yaml) or per mutator (visibility = "confidential").

What confidential changes

Output Public content Confidential content
Evidence report and results Ids, titles, steps, rule ids The scenario id and pack, the generic description, pillars, finding types and severities; no content
evidence export --redact Unchanged Traces, profiles and per-step detail removed; the redacted copy verifies on its own
Generated scenarios and their manifest Seed and mutator ids confidential:<hash> ids for confidential seeds and mutators; anything a confidential mutator touches becomes confidential
Environment info and exported tasks Everything Only what the agent itself sees; no answers, even with --include-answers
Telemetry Ids, titles, content with --otel-content Hashed ids, generic summaries, never content; confidential mutators counted, never named
Logs Ids Never content

The rule behind every row: confidential content stays where you put it. It is graded like any other scenario, but nothing derived from it leaves your machine except as a hash, a count or a generic description, and the tests check this with canary fixtures (tests/fixtures/confidential/).

Redaction of secrets

Independently of visibility, captured content (with --otel-content) and error messages are redacted: API keys, bearer tokens and e-mail addresses are replaced before anything is exported, and captured values are capped in size.

See writing scenarios and keeping your own confidential and sharing and verifying evidence.