Scan your whole stack
Are you using @softarc/native-federation?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v4.12.0
@softarc/native-federation was last scanned on 28 Nov 2026 at version 4.12.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 4.12.0 LATEST | 28 Nov 2026 | No rules fired |
| 4.11.0 | 27 Nov 2026 | No rules fired |
| 4.10.2 | 25 Nov 2026 | No rules fired |
| 4.10.1 | 14 Nov 2026 | Not shown |
| 4.10.0 | 10 Nov 2026 | Not shown |
Findings for v4.12.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 4.12.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The build-tool and framework agnostic core of Native Federation: the mental model of Module Federation, implemented on browser standards (ES modules and import maps) for Micro Frontends and plugin-based architectures.
[!NOTE] This is v4. Upgrading? See the migration guide. The v3 source lives in the module-federation-plugin repository.
This package is the low-level builder. Most apps use it through an adapter:
| You are… | Use |
|---|---|
| Building an Angular app | @angular-architects/native-federation |
| Building with esbuild (React, vanilla) | @softarc/native-federation-esbuild |
| Loading remotes into a host page | @softarc/native-federation-orchestrator |
| Wiring a custom stack or new adapter | this package — build your own adapter |
npm i @softarc/native-federation @softarc/native-federation-esbuild esbuild
The usage below builds with esbuild. Core does not install a bundler, so install the one your build script imports next to its adapter.
Describe what an application shares and exposes in federation.config.(m)js:
import { withNativeFederation, fromPackageJson } from '@softarc/native-federation/config';
export default withNativeFederation({
name: 'mfe1',
exposes: {
'./component': './mfe1/component',
},
shared: fromPackageJson({
singleton: true,
strictVersion: true,
requiredVersion: 'auto',
}),
});
Then wrap your own build with the three federationBuilder calls:
import * as esbuild from 'esbuild';
import { federationBuilder } from '@softarc/native-federation';
import { esBuildAdapter } from '@softarc/native-federation-esbuild';
await federationBuilder.init({
options: {
workspaceRoot: process.cwd(),
outputPath: 'dist/mfe1',
tsConfig: 'tsconfig.json',
federationConfig: 'mfe1/federation.config.js',
},
adapter: esBuildAdapter,
});
// Run your bundler, keeping the shared dependencies external
await esbuild.build({ /* ... */ external: federationBuilder.externals });
// Bundle shared + exposed modules and write remoteEntry.json
await federationBuilder.build();
The resulting remoteEntry.json is loaded at runtime by the orchestrator.
For the full walkthrough, see Getting Started or the end-to-end tutorial.
withNativeFederationfromPackageJson, share, shareAll, secondary entry pointsremoteEntry.jsonUsing an AI coding assistant? Point it at llms.txt.
Issues and pull requests are welcome — see CONTRIBUTING.md.
Big thanks to Zack Jackson for originally coming up with Module Federation and its mental model, and to Florian Rappl and the Angular Architects team for their feedback and contributions. Find the current team behind native-federation on our documentation website.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.