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

karanshukla / kodamachi / 44894604913
100%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2026 10:30AM UTC
Jobs 2
Files 136
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 Nov 2026 10:29AM UTC coverage: 99.75%. Remained the same
44894604913

push

github

web-flow
fix(security): close SSRF gaps, revoke OAuth session on account deletion, fix Caddy client IP (#590)

* security: harden kodamachi

Security hardening changes from a full security review.

* revert(security): drop changes that do not apply to this deployment

html-to-image, the opengraph shim and the client static server are only
reachable from Caddy or the private network, so their input checks guard
against callers that do not exist. The PDS IP classifier, describeRepo
body reader and the patch's trailing-dot handling are replaced by
atproto's own safe fetch in the next commits. The session cookie's Secure
flag adds nothing on an HSTS-preloaded .app domain, the rate-limit hop
change is a no-op behind Caddy's single-value X-Forwarded-For, and the
push subscription cap and live-session filter guard no reachable abuse.
The patch's broken hunk header was failing every install in CI.

* fix(security): check every redirect hop in the Bun SSRF guard

Bun's fetch follows redirects internally, past the unicast check, and
@atproto/identity's well-known handle lookup asks for redirect: 'follow'.
A handle's host could 302 the server to a private address. Follow
redirects in the wrapper instead and check each hop.

* fix(caddy): forward the visitor's IP, not Railway's edge node

Railway's edge connects from 100.64.0.0/10, outside private_ranges, so
{remote_host} and {client_ip} were both the edge node and every visitor
behind one node shared a rate-limit bucket. Trust that range and read the
X-Real-IP header the edge overwrites.

* fix(security): fetch describeRepo through atproto's safe fetch

The PDS URL comes from a DID document anyone can publish. isPublicPdsUrl
only sees the name, so a domain resolving to a private address passed,
and the body was read with no size limit. safeFetchWrap checks resolved
addresses and caps the body at 512 kB.

* fix(security): revoke the OAuth session when an account is deleted

Deleting an account left its tokens and DPoP key... (continued)

1070 of 1070 branches covered (100.0%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 4 files covered. (100.0%)

4526 of 4540 relevant lines covered (99.69%)

49.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 server - 44894604913.1 21 Nov 2026 10:30AM UTC 41
99.49
GitHub Action Run
2 client - 44894604913.2 21 Nov 2026 10:31AM UTC 95
100.0
GitHub Action Run
Source Files on build 44894604913
  • Tree
  • List 136
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44894604913
  • 2b9f5f68 on github
  • Prev Build on main (#43599738980)
  • Next Build on main (#44897300528)
  • 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