Skip to content

feat(inline): inline content gate — inspect_wire + secret/PII masking#1

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/agentfw
Jun 28, 2026
Merged

feat(inline): inline content gate — inspect_wire + secret/PII masking#1
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/agentfw

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Pre-execution counterpart to the reactive observer-event pipeline (agentfw on-wire
detection + credential masking). inspect_wire wraps decoded wire content as an
SslContent event and reuses the L1-L3 tiers verbatim; the new piece is masking —
overlap-merged secret/PII spans with a reversible placeholder map. Built-in
detectors: PEM/OpenAI/Stripe/Google/AWS/GitHub/Slack/JWT/Bearer/labelled/email.
Fail-open posture (masking always applies; malice escalates). New src/inline.rs
(+tests); exposed via Sentry::inspect_wire.

Pre-execution counterpart to the reactive observer-event pipeline (agentfw on-wire
detection + credential masking). inspect_wire wraps decoded wire content as an
SslContent event and reuses the L1-L3 tiers verbatim; the new piece is masking —
overlap-merged secret/PII spans with a reversible placeholder map. Built-in
detectors: PEM/OpenAI/Stripe/Google/AWS/GitHub/Slack/JWT/Bearer/labelled/email.
Fail-open posture (masking always applies; malice escalates). New src/inline.rs
(+tests); exposed via Sentry::inspect_wire.
@ZhiXiao-Lin ZhiXiao-Lin merged commit 9883ec1 into main Jun 28, 2026
@ZhiXiao-Lin ZhiXiao-Lin deleted the feat/agentfw branch June 28, 2026 01:48
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