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

Kikobeats / abusive / 41357857088
100%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2026 10:35PM UTC
Jobs 1
Files 5
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

01 Nov 2026 10:34PM UTC coverage: 100.0%. Remained the same
41357857088

push

github

web-flow
feat!: add isAbusive and group the options by rule (#8)

* feat: refuse signups by IP, inbox and domain burst

findSibling only sees addresses that look alike, so one person using
unrelated Gmail addresses, or random mailboxes on a domain they own, got a
free account each. New `signup` option adds admitSignup, checkSignup,
blockDomain, unblockDomain and forgetSignup, plus an `abusive/redis` store.

IPs and addresses are stored as HMACs, and what is remembered outlives
deleting an account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: refuse whitespace after the @ in a signup address

The domain was trimmed but the stored spelling was not, so `a@ acme.com`
left a spelling that refused the real `a@acme.com` as same-inbox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: drop blockDomain, unblockDomain and forgetSignup

Nothing uses them. Blocks are plain store keys that need no secret, so a
person can change one without an API. The store no longer needs `write`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: one isAbusive call for every signup rule

isAbusive({ email, ip, verified }) resolves true or false and never rejects,
so a host no longer has to order the rules or handle their failures. A
failed check counts as not abusive and reaches onError, and onAbusive
reports why. Options are flat, without the `signup` object.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a refusal when its cleanup fails

A store that failed while giving an IP back turned a decided refusal into
"not abusive". Also: onBlock no longer fires when the block is known to be
absent, onAbusive only carries a clean domain, and isAbusive(null) resolves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: keep only the sibling check and the IP rule

An address whose IP another address already used for a signup is abusive.
That is the rule that matters. The domain burst, blocks, same-inb... (continued)

221 of 221 branches covered (100.0%)

Branch coverage included in aggregate %.

258 of 258 new or added lines in 5 files covered. (100.0%)

466 of 466 relevant lines covered (100.0%)

27718.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41357857088.1 01 Nov 2026 10:35PM UTC 5
100.0
GitHub Action Run
Source Files on build 41357857088
  • Tree
  • List 5
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41357857088
  • 94a33720 on github
  • Prev Build on master (#39567071219)
  • Next Build on master (#41360037306)
  • 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