MAL-2026-18252

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@eforms/forms-api/MAL-2026-18252.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18252
Aliases
  • GHSA-39p9-96vf-fxjh
Published
2026-10-25T06:26:03Z
Modified
2026-10-29T14:30:32Z
Summary
Malicious code in @eforms/forms-api (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e58d3810346fb211fd7ed78e8df88c774a79bb079537e10cd30baa26e5ef4740)

The npm package @eforms/forms-api@99.0.0 is a scoped-name dependency-confusion lure with an inflated version number and an empty index.js stub. Its only functionality is a preinstall lifecycle script (preinstall.js) that runs automatically on npm install. The script reads os.hostname(), os.userInfo() (username and uid), process.cwd(), process.platform, process.arch, process.version, the CI environment flag, and other host identifiers, and transmits them out-of-band to two hardcoded attacker-controlled subdomains of oastify.com (Interactsh / Burp Collaborator OOB infrastructure) — specifically rpkfvtsptfrhcgbe62qg11ywjnpij6ma1cfpke.oastify.com and f6mk7lyjsuk3u1t49ypp9q2jbah15rtg.oastify.com — via both a DNS lookup of a data-bearing label and an HTTPS GET whose query string carries the collected fields. The combination of a scoped @eforms/* name, implausibly high version (99.0.0 to win internal-vs-public resolution races), empty library surface, and preinstall OOB beacon is the standard shape of an internal-scope dependency-confusion attack. Any build that resolves this scope from the public registry ships internal host identity to the attacker's OOB collector on install.

Source: ghsa-malware (ba622dcd4c1d174b006b8a4b3734f82fa0348a5ba74d31fc16e0512dfd145abe)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Source: ossf-package-analysis (cbe6ac9c18c859c04807fb2bd866f2eda2b70a4aa2583096b7138ab2adc90540)

The OpenSSF Package Analysis project identified '@eforms/forms-api' @ 2.0.0-SNAPSHOT (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-10-25T06:27:19.498726104Z",
            "modified_time": "2026-10-25T06:26:03Z",
            "sha256": "cbe6ac9c18c859c04807fb2bd866f2eda2b70a4aa2583096b7138ab2adc90540",
            "source": "ossf-package-analysis",
            "versions": [
                "2.0.0-SNAPSHOT"
            ]
        },
        {
            "id": "IN-MAL-2026-021707",
            "import_time": "2026-10-25T15:15:15.637414749Z",
            "modified_time": "2026-10-25T15:10:55Z",
            "sha256": "e58d3810346fb211fd7ed78e8df88c774a79bb079537e10cd30baa26e5ef4740",
            "source": "amazon-inspector",
            "versions": [
                "99.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021745",
            "import_time": "2026-10-26T06:39:39.80021958Z",
            "modified_time": "2026-10-26T06:01:03Z",
            "sha256": "334d1cc20f81030ef0fe0c81773bdaff1877923d618602ee7c9e0cf061666d72",
            "source": "amazon-inspector",
            "versions": [
                "2.99.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021746",
            "import_time": "2026-10-26T06:39:39.870509739Z",
            "modified_time": "2026-10-26T06:01:10Z",
            "sha256": "3fa912f4b00d4a06e8d65e50f96d9fe283ecede2a22fc036adbfedc6d6d5ef3f",
            "source": "amazon-inspector",
            "versions": [
                "2.0.0-SNAPSHOT"
            ]
        },
        {
            "id": "IN-MAL-2026-021748",
            "import_time": "2026-10-26T06:39:40.024604204Z",
            "modified_time": "2026-10-26T06:01:24Z",
            "sha256": "7c0ae2abc80c9c1476bbe616be8bcb075404dcd85f5c161b47f2517d2c025fab",
            "source": "amazon-inspector",
            "versions": [
                "1.99.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021750",
            "import_time": "2026-10-26T06:39:40.218507035Z",
            "modified_time": "2026-10-26T06:01:39Z",
            "sha256": "7cf2c773e9b134db647cda4dc27ba26517b1a351a6e82ca7d1f14fc453cb4397",
            "source": "amazon-inspector",
            "versions": [
                "2.99.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021749",
            "import_time": "2026-10-26T06:39:40.10953868Z",
            "modified_time": "2026-10-26T06:01:30Z",
            "sha256": "cdfb723707fc8aca33a9ba12128ebadfa0dc474f41a1d8d5ac72709d71e3cb66",
            "source": "amazon-inspector",
            "versions": [
                "1.99.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021747",
            "import_time": "2026-10-26T06:39:39.953413642Z",
            "modified_time": "2026-10-26T06:01:17Z",
            "sha256": "e252cb88bb624f5846dbe43b806db42fd74b0e28a17007c73118e604ad394b16",
            "source": "amazon-inspector",
            "versions": [
                "2.0.99"
            ]
        },
        {
            "id": "GHSA-39p9-96vf-fxjh",
            "import_time": "2026-10-26T16:31:42.696887763Z",
            "modified_time": "2026-10-26T16:21:39Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "ba622dcd4c1d174b006b8a4b3734f82fa0348a5ba74d31fc16e0512dfd145abe",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022142",
            "import_time": "2026-10-29T14:14:29.500918959Z",
            "modified_time": "2026-10-29T13:54:18Z",
            "sha256": "d2d119779d78b445f65fb44a2f828d7389d526a76f90205b0428b43a941e4638",
            "source": "amazon-inspector",
            "versions": [
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @eforms/forms-api

Package

Name
@eforms/forms-api
View open source insights on deps.dev
Purl
pkg:npm/%40eforms/forms-api

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.0-stage
1.*
1.99.0
1.99.1
2.*
2.0.0-SNAPSHOT
2.0.99
2.99.0
2.99.1
99.*
99.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "sha256": "3393dd07c644fc8470cdd6c86ede09d1e292629d45c368bedd0a3fac15c58f05",
            "tlsh": "ca51729ea1f2b07041a170e0652f125a68baf470024dd698e85dd1947ff403c6373afe"
        },
        {
            "path": "package.json",
            "sha256": "02c8444f81990d34f288283d95424293281d8858baec1687b79f77907d5a2c35",
            "tlsh": "f9f04130ce60e2330ee802d15eda4402a198dc1f50249c0ed7cb520ca69f69b03fb79d"
        }
    ],
    "package_integrity": [
        {
            "filename": "forms-api-99.0.0.tgz",
            "hashes": {
                "sha1": "c4c97f2c1cde51050dbabbd7ad76d83377eda679",
                "sha512_sri": "sha512-YrLaTm3kD07av7ynAFmMecrSd+xYa0IcOBDocbo8M6hJQkv4d5e/D/c0hXw8Z6yP3LjnbBJC8MIpXwLNj7NDEw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@eforms/forms-api/MAL-2026-18252.json"