fix(engine): redact secret-shaped titles from the public-safe results summary#7279
Conversation
… summary buildResultsPayload documents ResultsPayload.summary as a public-safe sentence, but spliced result.title in verbatim. That title is contributor/miner-authored free text, so a secret-shaped token in it flowed straight into the customer-facing summary unredacted — violating the module's own contract, unlike sibling composers (pr-body-draft, gate-advisory) that scrub free text first. Run result.title through the package's shared redactSecrets primitive before embedding it, leaving benign titles byte-for-byte unchanged. Closes JSONbored#7249
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7279 +/- ##
=======================================
Coverage 93.81% 93.81%
=======================================
Files 704 704
Lines 69458 69459 +1
Branches 18896 18896
=======================================
+ Hits 65163 65164 +1
Misses 3302 3302
Partials 993 993
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-19 12:17:04 UTC
Review summary Nits — 3 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
fix(engine): redact secret-shaped titles from the public-safe results summary
buildResultsPayload documents ResultsPayload.summary as a public-safe
sentence, but spliced result.title in verbatim. That title is
contributor/miner-authored free text, so a secret-shaped token in it
flowed straight into the customer-facing summary unredacted — violating
the module's own contract, unlike sibling composers (pr-body-draft,
gate-advisory) that scrub free text first.
Run result.title through the package's shared redactSecrets primitive
before embedding it, leaving benign titles byte-for-byte unchanged.
Closes #7249