mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1567] [Issue]: Provider error messages need Marinara-owned secret redaction #809
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#809
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1567
Originally assigned to: @Xelvanis on GitHub.
Summary
Provider and connection errors are surfaced without a Marinara-owned redaction pass, so returned error text can expose partial API keys or sensitive provider/payment details.
Expected behavior
All provider, connection-test, and message-send errors shown in the UI should be sanitized by Marinara before display. API keys, credential fragments, auth tokens, payment retrieval URLs, and other sensitive provider payload details should be redacted even if the upstream provider includes them in its error body.
Actual behavior
Jake's Connections / Runtime Behavior smoke test found that Marinara appears to pass provider error messages through mostly as returned. Some providers redact keys themselves, but Marinara is relying on provider behavior instead of enforcing its own redaction boundary.
Examples from the smoke test included:
Steps to reproduce
Impact area
Environment
refactor/390990eLogs, screenshots, or video
Source smoke-test issue: #1481.
Do not paste real API keys or payment URLs into this issue. The important finding is that Marinara should redact error payloads before showing them, not that a specific provider exposed a specific test value.
Regression notes
Not specified.
Additional context
This is security-sensitive because the UI currently trusts provider error copy. Marinara should own a final redaction pass close to the shared provider/runtime error boundary so every caller benefits.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: