Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@softarc/native-federation

Latest version: v4.12.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: aukevanoost, manfred.steyer, rainerhahnekamp-aa
14 Stars
7 Forks
17 Versions
744.6K Downloads
TypeScript Repo language

Scan summary

@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.

  • Releases: 17 versions; the latest 3 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 4.12.0.
  • Downloads: 744,584 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 4.12.0

Findings

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.

README

The publisher’s own README, as collected from the registry.

@softarc/native-federation

npm version npm downloads license

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.

📖 Documentation

[!NOTE] This is v4. Upgrading? See the migration guide. The v3 source lives in the module-federation-plugin repository.

Features

  • Any framework, any bundler — the core talks to your bundler through a small adapter contract.
  • Web standards — remotes are plain ES modules wired together by an import map, no custom loader necessary (polyfill support via es-module-shims).
  • Shared dependencies — load a library once across host and remotes, with semver-aware version negotiation.
  • Fast — shared dependencies are bundled once and cached across builds.

Which package do I need?

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

Install

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.

Usage

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.

Documentation

Using an AI coding assistant? Point it at llms.txt.

Contributing

Issues and pull requests are welcome — see CONTRIBUTING.md.

Credits

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.

License

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @softarc/native-federation

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229