• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Unleash / unleash / 18316431390
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 07 Oct 2025 02:48PM UTC
Jobs 1
Files 1205
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Oct 2025 02:41PM UTC coverage: 91.345% (-0.003%) from 91.348%
18316431390

push

github

web-flow
fix: Information exposure through a stack trace (#10737)

Fix for
[https://github.com/Unleash/unleash/security/code-scanning/81](https://github.com/Unleash/unleash/security/code-scanning/81)

To prevent information exposure through stack traces, ensure that the
HTTP response sent to clients contains only sanitized, generic error
information, such as a status code and a simple message. Internal
details (including stack traces, error types, or internal error codes)
should not be sent to the client. These can be safely logged on the
server for debugging.

**The fix:**  
- Do not return the entire `finalError` object as JSON to the client, as
it may include fields like `stack` or `internalMessage`.
- Instead, return only a subset of fields that are safe to expose to the
user, in this case just `message` .
- Log the full error and any debugging details using the server-side
logger **as currently done**.


---
_Suggested fixes powered by Copilot Autofix. Review carefully before
merging._

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

7212 of 7265 branches covered (99.27%)

10 of 10 new or added lines in 1 file covered. (100.0%)

7 existing lines in 2 files now uncovered.

68604 of 75104 relevant lines covered (91.35%)

435.39 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
88.63
-0.78% src/lib/features/playground/feature-evaluator/client.ts
5
70.59
-29.41% src/lib/error/pattern-error.ts
Jobs
ID Job ID Ran Files Coverage
1 18316431390.1 07 Oct 2025 02:48PM UTC 1205
91.35
GitHub Action Run
Source Files on build 18316431390
  • Tree
  • List 1205
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #18316431390
  • fab5dc87 on github
  • Prev Build on main (#18315305572)
  • Next Build on main (#18337455712)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc