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

hyperscale-stack / security / 39652388552
98%

Build:
DEFAULT BRANCH: master
Ran 21 Oct 2026 06:29PM UTC
Jobs 1
Files 206
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

21 Oct 2026 06:24PM UTC coverage: 98.525% (+0.02%) from 98.509%
39652388552

push

github

web-flow
feat(core): add the AttemptLimiter and a bounded in-memory throttle

Add attempt limiting to the core (security audit of 2026-10-21: D-20,
and the shared basis of D-01 and F-07).

- security.AttemptLimiter: Allow reserves and charges an attempt in one
  step before any credential is checked; Record settles it (a failure
  keeps the charge, a success clears its own entry, an inconclusive
  outcome refunds). A refusal is ErrTooManyAttempts with a retry delay;
  a limiter that cannot decide wraps ErrUnavailable, so callers fail
  closed.
- throttle.MemoryLimiter: per (subject, source), per subject and per
  source budgets, IPv6 sources aggregated per /56, keys hashed and
  bounded (least throttled entry evicted, never the current attempt's),
  injected clock; an attempt no configured budget applies to (an unknown
  source with the per-subject budget off) is refused as unavailable.
- httpsec, grpcsec and connectrpcsec answer a throttled attempt with 429
  + Retry-After (ResourceExhausted over gRPC and Connect) and supply the
  client address from the transport peer unless the application sets
  it; forwarded headers are never trusted.

basic (next PR) and oauth2 wire it in; without a limiter, behaviour is
unchanged.

Audit: D-20.

289 of 290 new or added lines in 9 files covered. (99.66%)

1 existing line in 1 file now uncovered.

14295 of 14509 relevant lines covered (98.53%)

5409.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.77
attempt.go

Coverage Regressions

Lines Coverage ∆ File
1
98.77
-0.25% oauth2/storetest/family.go
Jobs
ID Job ID Ran Files Coverage
1 39652388552.1 21 Oct 2026 06:29PM UTC 206
98.53
GitHub Action Run
Source Files on build 39652388552
  • Tree
  • List 206
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d5d3e589 on github
  • Prev Build on master (#39652075769)
  • Next Build on master (#39658414364)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc