Proofline

In `proofline/_mcp.py`, `_token` now handles default headers but misses a bearer credential that custom auth adds only to the outgoing request.

nour-aldin-labs/sdk-python#1Reviewed commit b1bd4c6

Serious · Credential exposure

Impact

A valid JSON-RPC error that echoes that credential exposes it in `ProoflineError.detail` (`proofline/_transport.py`).

Recommended action

Redact using the `Authorization` header on the request associated with the response.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed