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

go-pkgz / auth / 25569788009
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.1.3
DEFAULT BRANCH: master
Ran 08 May 2026 05:31PM UTC
Jobs 1
Files 25
Run time 1min
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

08 May 2026 05:29PM UTC coverage: 84.66% (+0.4%) from 84.247%
25569788009

Pull #279

github

paskal
fix(middleware): don't log admin password on basic-auth failure

The admin basic-auth rejection log line included the attempted password
verbatim, e.g. "[WARN] admin basic auth failed, user/passwd mismatch,
admin:hunter2". A mistyped legitimate password (often differs from the
real one by one character) or a misrouted password manager submission
ends up in plaintext logs that may be shipped to centralised logging,
crash bundles or third-party observability systems.

Drop the password from the log line; keep only the username so an
operator can still tell who failed.

Affects v1 (middleware/auth.go:238) and v2 (v2/middleware/auth.go:246).

Reported during a security audit alongside the v1 from-redirect issue
and the Apple iss/aud gap (those tracked separately).
Pull Request #279: fix(middleware): don't log admin password on basic-auth failure

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

2798 of 3305 relevant lines covered (84.66%)

7.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25569788009.1 08 May 2026 05:31PM UTC 25
84.66
GitHub Action Run
Source Files on build 25569788009
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #279
  • PR Base - master (#25421111866)
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