Proofline

`_token` in `proofline/_mcp.py` reads client settings, so it misses bearer credentials that custom auth adds only to the outgoing request.

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

Serious · Credential exposure

Impact

An echoed credential reaches caller-visible `ProoflineError.detail` in `proofline/_transport.py` without redaction.

Recommended action

In both request paths, redact using the bearer value from the response’s associated request `Authorization` header.

Cited code

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