Skip to content

Subresource Integrity (SRI) Enforcement in Module Federation 2.0 #200

Description

@kmye

Objective

Research the best practices and technical feasibility of enforcing Subresource Integrity checks on federated modules.

Acceptance Criteria

  • Summarize methods for SRI in federated deployment
  • Highlight limitations, caveats, and potential workarounds
  • Provide actionable recommendations

Notes

Specific Scenarios SRI Safeguards Against
Hacked Third-Party Dependencies: If a vendor CDN or a federated remote server is breached, your users remain safe because their browsers will block the altered payload.

Malicious ISP Injection: In regions or networks where Internet Service Providers (ISPs) inject tracking scripts or advertisements into web traffic, SRI prevents these modified scripts from running on your site.

Cache Poisoning: If a malicious actor successfully poisons a public CDN cache with a corrupted file, SRI ensures your application rejects the poisoned asset.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions