Componente de carga para Module Federation
100
100%
Does it follow best practices?
Impact
—
Average score across 4 eval scenarios
Low
Low-risk findings worth noting
Low
Low-risk findings.
2 low severity findings. Worth noting, but not necessarily harmful.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required runtime path is the host’s `LoadComponent` usage, which loads remote MFEs from `lazyElement.url` (public/outsider-authored code/content served by other parties) and injects it into the agent/LLM context via the remote’s loaded module text/exports.
lazyElement.url / remotesService.getRemotes() remote.url (user-configured remote MFE host)
url · 3 sites
The skill describes LoadComponent loading remote MFEs from lazyElement.url (static) or via remotesService.getRemotes() (dynamic), where the URL points to outsider-authored remote MFE code served by third parties.
SKILL.md
62
url: remote.url,
SKILL.md
80
remotesService.getRemotes() / getMainRemotes()
SKILL.md
102
remoteEntry.js served at host url
The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.
The skill relies on Module Federation runtime loading remote bundles (remoteEntry.js) from the configured remote.url at runtime — i.e., fetching and executing remote JavaScript from remote.url/remoteEntry.js — which causes external code to execute in the host.
@module-federation/enhanced
dependency · 2 sites
The skill instructs the host application to add @module-federation/enhanced as a required runtime dependency in package.json for Module Federation host functionality.
SKILL.md
22
@module-federation/enhanced/runtime
SKILL.md
36
@module-federation/enhanced
@module-federation/bridge-react
dependency · 2 sites
The skill instructs the host application to add @module-federation/bridge-react as a required runtime dependency in package.json for Module Federation host functionality.
SKILL.md
22
@module-federation/bridge-react
SKILL.md
35
@module-federation/bridge-react
remote.url/remoteEntry.js (runtime-fetched Module Federation remote entry)
url · 2 sites
The skill describes Module Federation runtime loading remoteEntry.js from remote.url at runtime — fetching and executing remote JavaScript from the remoteEntry.js endpoint.
SKILL.md
62
url: remote.url,
SKILL.md
102
remoteEntry.js served at host url