Skip to content

Release v3.161.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:13
275a2d3

Extension admission now checks every cached, vendored and fetched extension against the project's current trust policy and its signed evidence, and keeps registry credentials on the configured registry.

Added

  • extensions.registry.<host>.bearer-realm-authority approves an HTTPS token service on another host to receive the registry's credentials (part of #578)

Changed

  • A cached extension is checked against the project's current publisher policy and key before it runs; an older cache entry fetches its signature evidence once (part of #578)
  • A vendored extension folder is verified by recomputing its digests and checking its signature against the locked publisher key, instead of trusting its own descriptor (part of #578)
  • A token service on another host than the registry receives an anonymous token request unless it is approved for credentials (part of #578)

Security

  • Registry credentials are sent only to the configured HTTPS registry authority: not to token services, upload locations, redirects or npm tarball hosts on other hosts, and never over plain HTTP except to a local registry (part of #578)
  • Only localhost and loopback addresses count as a local registry; hosts such as localhost.example.com use HTTPS (part of #578)
  • Package addresses that contain credentials are refused, and registry diagnostics no longer echo addresses with credentials or remote error text (part of #578)