Skip to content

security(ebsi): pin TIR attributes and href to the listing origin - #173

Merged
luisgf merged 1 commit into
mainfrom
security/audit-172
Aug 13, 2026
Merged

security(ebsi): pin TIR attributes and href to the listing origin#173
luisgf merged 1 commit into
mainfrom
security/audit-172

Conversation

@luisgf

@luisgf luisgf commented Aug 13, 2026

Copy link
Copy Markdown
Owner

The EBSI HTTP client allow-list matches hostname, not port. Pagination links.next is already pinned to scheme://host:port. The two HATEOAS hops that motivated that allow-list were not: attributes and each href were fetched as-is, so a compromised registry body could GET https://api-pilot.ebsi.eu:9200/….

attributes off the listing origin is now MalformedRegistryResponse. Off-origin hrefs are skipped (not fetched).

Closes #172

Verified: bash .claude/skills/ship-issue/scripts/gate.sh.

links.next already refused a port change on an allow-listed host.
The attributes URL and each revision href did not.

Closes #172
@luisgf
luisgf merged commit 2e71a54 into main Aug 13, 2026
11 of 12 checks passed
@luisgf
luisgf deleted the security/audit-172 branch August 13, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TIR attributes and href hops skip the port-origin check that links.next has

1 participant