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

archetech / archon / 40904280162
95%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2026 03:48PM UTC
Jobs 1
Files 121
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

29 Oct 2026 03:42PM UTC coverage: 93.381% (+0.002%) from 93.379%
40904280162

push

github

web-flow
Merge commit from fork

* fix(drawbridge): keep proxied requests on their upstream host

The /names and /didcomm proxies strip their mount prefix and resolve the
rest against the upstream base URL. A path that then begins with // (or
/\) is a network-path reference, so the request went to the host it
named and the response came back to the caller. Resolve every proxied
path through one helper that refuses a result outside the upstream's
origin, and answer 400.

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

* fix(drawbridge): confine proxied requests to the mount's path subtree

Express does not resolve `..` before matching a mount, but `new URL`
does, so `/api/v1/lightning/../l402/pending/x` matched the public
`/lightning` mount yet resolved to `/api/v1/l402/pending/x` on the
mediator -- an admin-key-gated route reached unauthenticated. The same
traversal reached Gatekeeper's `/api/v1` from `/1.0/identifiers`,
bypassing L402.

resolveUpstreamUrl now takes an optional confineTo and refuses a result
outside that upstream path subtree. The non-stripping mounts pass their
mount path (/.well-known, /explorer, /1.0/identifiers, /invoice,
/api/v1/lightning); the prefix-stripping mounts (/names, /didcomm)
forward to the upstream root and keep the origin check alone.

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

---------

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

4046 of 4630 branches covered (87.39%)

Branch coverage included in aggregate %.

19 of 21 new or added lines in 4 files covered. (90.48%)

10839 of 11310 relevant lines covered (95.84%)

19960.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.25
-6.63% services/drawbridge/server/src/proxy.ts
Jobs
ID Job ID Ran Files Coverage
1 40904280162.1 29 Oct 2026 03:48PM UTC 121
93.38
GitHub Action Run
Source Files on build 40904280162
  • Tree
  • List 121
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40904280162
  • ef2ad6a3 on github
  • Prev Build on main (#40891243840)
  • Next Build on main (#41075411678)
  • 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