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

decentraland / asset-bundle-registry / 27768655888
71%
main: 71%

Build:
Build:
LAST BUILD BRANCH: 2.4.2
DEFAULT BRANCH: main
Ran 18 Jun 2026 03:02PM UTC
Jobs 1
Files 83
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

17 Jun 2026 07:51PM UTC coverage: 71.347% (+0.3%) from 71.042%
27768655888

push

github

web-flow
fix: validate deployment content-server url against a catalyst allowlist (#122)

fix: validate deployment content-server url against a content-server allowlist

the deployment event's contentServerUrls is attacker-influenced and the
registry fetches the entity from it (catalyst / worlds), so:

- the message processor drops any deployment carrying an off-allowlist
  content-server host before dispatching to ANY handler, so a poisoned
  message can't leave an orphaned queue-status entry via the status
  handler. the deployment handler keeps the same guard as defense in depth.
- content fetches (catalyst content client + worlds) no longer follow
  redirects, so an allowlisted host can't 30x to an internal resource.

the allowlist is sourced from the required ALLOWED_CONTENT_SERVER_HOSTS env
var (set per-env in the definitions repo, with known defaults in
.env.default). entityId is not gated here: in the registry it only reaches
parameterized sql / cache keys, not a filesystem path or s3 key.

related to decentraland/asset-bundle-converter#306

629 of 920 branches covered (68.37%)

Branch coverage included in aggregate %.

35 of 40 new or added lines in 5 files covered. (87.5%)

1632 of 2249 relevant lines covered (72.57%)

40.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
88.57
src/logic/validation.ts
1
15.45
0.57% src/adapters/catalyst.ts
1
15.63
0.0% src/adapters/worlds.ts
1
94.55
-5.45% src/logic/message-processor.ts
Jobs
ID Job ID Ran Files Coverage
1 27768655888.1 18 Jun 2026 03:02PM UTC 166
71.92
GitHub Action Run
Source Files on build 27768655888
  • Tree
  • List 83
  • Changed 51
  • Source Changed 4
  • Coverage Changed 51
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27768655888
  • 7cdea0da on github
  • Prev Build on main (#26045472086)
  • Next Build on chore/update-node-24 (#27768666578)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc