Skip to content

fix(marketplace): restrict extension download URLs (HTTPS allowlist) - #406

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/397-marketplace-download-urls
Jul 27, 2026
Merged

fix(marketplace): restrict extension download URLs (HTTPS allowlist)#406
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/397-marketplace-download-urls

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Add MarketplaceDownloadPolicy for API base URL and download URL validation
  • HTTPS + trusted host allowlist; cleartext/private targets blocked in release
  • Debug keeps http://localhost for local MarketApi dev

Closes #397

Test plan

  • flutter test test/core/market/marketplace_download_policy_test.dart
  • flutter test test/core/market/marketplace_repository_test.dart

@github-actions github-actions Bot added enhancement New feature or request marketplace Extensions marketplace, ExtensionManifest labels Jul 27, 2026
Closes #397 — validate API base and download URLs against trusted hosts
and block cleartext/private targets in release builds.
@ZhuchkaTriplesix
ZhuchkaTriplesix force-pushed the issue/397-marketplace-download-urls branch from 48bdaca to e7372ab Compare July 27, 2026 03:38
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 24e700e into dev Jul 27, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 27, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/397-marketplace-download-urls branch July 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request marketplace Extensions marketplace, ExtensionManifest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant