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

microlinkhq / unavatar / 44565395949
98%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2026 04:24PM UTC
Jobs 1
Files 124
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

19 Nov 2026 04:22PM UTC coverage: 98.433% (+0.05%) from 98.382%
44565395949

push

github

web-flow
fix(ssrf): connect with the address the reserved-IP check saw (#722)

* fix(ssrf): connect with the address the reserved-IP check saw

The reserved-address hook resolved the hostname, then got resolved it again
through dnsCache to open the socket. A record with TTL 0 is never cached, so
the check and the socket could get different answers: public for the check,
private for the connection.

The hook now installs a lookup on each request that resolves once, refuses the
whole answer when any address is reserved, and hands the checked addresses to
the socket. It runs on every hop, so redirects, retries, html-get page fetches,
reachable-url pings and the avatar stream are all covered.

Also:
- refuse got's `unix:` socket-path URLs, which skip DNS entirely
- install the checked lookup on proxied requests too, keeping the target
  pre-check for the name the proxy resolves
- treat IPv4-compatible IPv6 (::/96) as reserved
- use ipaddr isValid for literals (isIPv6('') is true)

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

* fix(substack): only build URLs for a valid publication subdomain

The input was interpolated into the URL authority unchecked, so a backslash,
`#`, `/`, `?` or `@` moved the request off substack.com to a host and port the
caller picked. Substack now validates the input with the same subdomain parser
gumroad uses, now shared in util/parse-subdomain, and `getUrl` on both
providers validates before building.

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

* test(ssrf): lock a missing url and one-character or digit labels

Those inputs stayed allowed when the checks that admit them were removed. The two-argument lookup wrapper, the empty-answer guard, and the declared address family repeated checks the suite already covers.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1465 of 1529 branches covered (95.81%)

Branch coverage included in aggregate %.

200 of 200 new or added lines in 6 files covered. (100.0%)

4690 of 4724 relevant lines covered (99.28%)

9.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44565395949.1 19 Nov 2026 04:24PM UTC 124
98.43
GitHub Action Run
Source Files on build 44565395949
  • Tree
  • List 124
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44565395949
  • 1f8ed68d on github
  • Prev Build on master (#44487061706)
  • Next Build on master (#45131734831)
  • 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