Scaffold a Module Federation remote component consumer
58
73%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
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 skill requires consuming a remoteEntry.js from an arbitrary remote URL via the MFEConfig `url` field (e.g., "Full URL to the remote's remoteEntry.js") and documents dynamic loading when the MFEConfig is provided at runtime (e.g., from an API or prop), which means the agent will fetch and execute untrusted third‑party code/contents.
remote.example.com
domain · 1 site
The skill documents MFE_URL as a full URL to the remote's remoteEntry.js using remote.example.com as the example host, which the plugin instructs the agent to fetch and execute at runtime.
SKILL.md
25
https://remote.example.com/remoteEntry.js
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 instructs the app to load a remoteEntry.js URL at runtime (e.g. https://dashboard.example.com/remoteEntry.js or https://remote.example.com/remoteEntry.js), which the Module Federation loader fetches and executes in the host to provide the remote component — a required runtime dependency that executes remote code.
LoadComponent with runtime MFEConfig (remoteEntry.js dynamic load)
command · 4 sites
The skill documents LoadComponent for dynamic consumption where MFEConfig (including a url pointing to remoteEntry.js) is provided at runtime from an API or prop, causing the Module Federation loader to fetch and execute remote code in the host.
SKILL.md
86
Use LoadComponent when the MFEConfig is received at runtime (e.g. from an API response or a prop)
SKILL.md
94
<LoadComponent lazyElement={config} loading={<div>Loading…</div>} fallback={({ error }) => <div>Error: {error.message}</div>} {...rest} />
SKILL.md
127
| url | string | Yes | Full URL to the remote's remoteEntry.js |
SKILL.md
138
| Config known at | Build time | Runtime |