Skip to content

feat(security): redact secrets in report serialization#15

Merged
anonymousAAK merged 1 commit into
masterfrom
feat/trace-secret-redaction
Jun 16, 2026
Merged

feat(security): redact secrets in report serialization#15
anonymousAAK merged 1 commit into
masterfrom
feat/trace-secret-redaction

Conversation

@anonymousAAK

Copy link
Copy Markdown
Owner

Add aastf.redaction with credential-pattern + sensitive-key redaction. Wire it into JSONReporter so API keys/tokens captured in agent traces are scrubbed before reports are written to disk. Update the threat model (STRIDE-I-001) to reference the now-real redaction implementation.

Summary

Type of change

  • New attack scenario (YAML only)
  • New payload variant for an existing scenario
  • New / updated evaluator
  • New / updated framework adapter
  • Bug fix
  • Documentation
  • Tooling / CI / packaging

Related issues

Checklist

  • ruff check src/ tests/ passes
  • pytest tests/unit/ -v passes
  • Tests added/updated for new evaluators or adapters (scenarios are validated by schema)
  • Docs updated if behavior or public interfaces changed
  • No secrets, API keys, or proprietary content included

Add aastf.redaction with credential-pattern + sensitive-key redaction.
Wire it into JSONReporter so API keys/tokens captured in agent traces are
scrubbed before reports are written to disk. Update the threat model
(STRIDE-I-001) to reference the now-real redaction implementation.
@anonymousAAK anonymousAAK merged commit e14021d into master Jun 16, 2026
8 of 9 checks passed
@anonymousAAK anonymousAAK deleted the feat/trace-secret-redaction branch June 16, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant