MAL-2026-4415

    Dashboard / Malicious Package / MAL-2026-4415

    MAL-2026-4415

    Published: 23 May 2026Last Modified: 27 May 2026

    Summary: Malicious code in @onerjs/smart-filters-blocks (npm)

    Details: Source: amazon-inspector (e772d7a844409df378591a5a587c7cc8045e0ec0e8cb493912f0da8fa594c169) This package is published as @onerjs/smart-filters-blocks but its README, repository URL (git+https://github.com/BabylonJS/Babylon.js.git), description, file tree, and exported API are a verbatim copy of the legitimate @babylonjs/smart-filters-blocks. The scope has been swapped from @babylonjs to @onerjs while preserving every other identifier, which is the structural shape of a namespace-confusion attack against the Babylon.js ecosystem. The package.json declares `"@onerjs/smart-filters": "8.51.9"` as a dependency and `"@onerjs/core"` as a peer dependency — both are typosquats of @babylonjs/smart-filters and @babylonjs/core. Installing this package therefore forces resolution of the @onerjs/* sibling packages into the installer's dependency tree. Whatever code those siblings contain runs in the installer's environment when their lifecycle hooks fire or when they are required, and the attacker who registered the @onerjs scope controls those bytes. The leaf package itself may be a benign mirror, but the dependency-graph forcing of attacker-controlled siblings under a confusion-named scope is the supply-chain harm.

    Affected packages

    Package

    Name: @onerjs/smart-filters-blocks

    Purl: pkg:npm/%40onerjs%2Fsmart-filters-blocks

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    8.51.9
    MAL-2026-4415 | CVE-DB