argus-redact-bridge

Kong plugin: PII redact/restore around upstream LLM calls via argus-redact

$ luarocks install argus-redact-bridge

Kong plugin that mediates OpenAI-compatible Chat Completions requests:
extracts messages[].content, sends each through argus-redact's HTTP /redact
endpoint to get a realistic-looking pseudonymized form, forwards the redacted
request to the upstream LLM, and restores the original PII in the response
via /restore. Fail-closed by default: returns 503 if the argus-redact sidecar
is unreachable, so unredacted PII never reaches the LLM.

Versions

0.1.0-15 days ago1 download

Dependencies

lua >= 5.1

Manifests