fix(security): redact API header table diagnostics - #7677
Open
BillLeoutsakosvl346 wants to merge 1 commit into
Open
fix(security): redact API header table diagnostics#7677BillLeoutsakosvl346 wants to merge 1 commit into
BillLeoutsakosvl346 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryThis PR strengthens diagnostic redaction for HTTP headers while preserving execution-time data.
Confidence Score: 5/5The PR appears safe to merge; the changed diagnostic projection redacts supported sensitive header representations without affecting execution values. No actionable failures remain: canonical header maps and table rows are redacted, ordinary headers are preserved, and executor-level coverage confirms that saved inputs and downstream state remain unchanged.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/core/security/redaction.ts | Adds non-mutating, case-insensitive redaction for sensitive HTTP-header maps and canonical table rows. |
| apps/sim/lib/core/security/redaction.test.ts | Covers sensitive header variants, map and table representations, idempotence, source preservation, and unrelated-table behavior. |
| apps/sim/executor/execution/block-executor.test.ts | Verifies that diagnostic inputs are redacted without changing handler inputs, block configuration, or execution output. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
Config[Saved API header configuration] --> Executor[Block executor]
Executor --> Runtime[Handler and downstream execution]
Executor --> Projection[Diagnostic projection]
Projection --> Redaction[Header-aware redaction]
Redaction --> Logs[Block logs and completion callback]
Runtime --> State[Execution state]
Reviews (1): Last reviewed commit: "fix(security): redact API header table d..." | Re-trigger Greptile
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Type of Change
Testing
Checklist