Skip to content

Add an outbound request privacy filter for local inference gateways - #2313

Open
maziyarpanahi wants to merge 1 commit into
masterfrom
feature/om-907-outbound-request-privacy-filter
Open

Add an outbound request privacy filter for local inference gateways#2313
maziyarpanahi wants to merge 1 commit into
masterfrom
feature/om-907-outbound-request-privacy-filter

Conversation

@maziyarpanahi

Copy link
Copy Markdown
Owner

Closes #2294.

Add a fail-closed outbound privacy boundary for JSON message requests. The filter accepts supported JSON message bodies, applies an injected local redactor to textual content, retains bounded request-scoped replacement state for local restoration, rejects unsupported content types and message shapes before dispatch, and exposes only PHI-free metadata for reporting. Documentation and synthetic offline tests cover deterministic transformation, state handling, safe failures, and redaction-output privacy.

Validation: .venv/bin/python -m pytest tests/unit/service/privacy_proxy/test_outbound.py -q; .venv/bin/ruff check and .venv/bin/ruff format --check on the changed Python files.

@maziyarpanahi maziyarpanahi added roadmap-v2 OpenMed V2 roadmap backlog feature New capability P0 Critical labels Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New capability P0 Critical roadmap-v2 OpenMed V2 roadmap backlog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an outbound request privacy filter for local inference gateways

1 participant