MAL-2026-4175

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/collected-forms-embed-js/MAL-2026-4175.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4175
Aliases
  • GHSA-9j37-8wjm-pcxq
Published
2026-05-19T19:11:15Z
Modified
2026-06-01T10:16:40.474113649Z
Summary
Malicious code in collected-forms-embed-js (npm)
Details

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

Source: amazon-inspector (b110466fd12f426709ec7f628f63304d175faddb8094d08e8448388ed3114805)

The package.json declares a postinstall lifecycle hook that performs reconnaissance and exfiltration on every install. The script invokes child_process to capture host identity (whoami) and reads process.env, queries https://api.ipify.org to obtain the installer's public IP, and POSTs the collected data to a subdomain under.oast.fun (an out-of-band application security testing / interaction host commonly used as exfiltration C2). Any developer or CI system running npm install for this package will leak host identity, environment variables, and network identifiers to the attacker-controlled callback. There is no legitimate reason for a forms-embedding library to fingerprint hosts and beacon to an OAST domain at install time.

Source: ghsa-malware (ac92e6994c361dee2371b037c52d1ed3d1b27ced5002dcbc3de7ef0c884ed91d)

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 (5bc706a222ff9fef4872e708bcd99cf286eaf8a11c9908c33ed9776e43d600e6)

The OpenSSF Package Analysis project identified 'collected-forms-embed-js' @ 1.0.1 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-05-19T19:11:15Z",
            "versions": [
                "1.0.1"
            ],
            "sha256": "5bc706a222ff9fef4872e708bcd99cf286eaf8a11c9908c33ed9776e43d600e6",
            "source": "ossf-package-analysis",
            "import_time": "2026-05-19T19:37:29.899134693Z"
        },
        {
            "modified_time": "2026-05-19T19:15:57Z",
            "versions": [
                "1.0.0"
            ],
            "sha256": "926a7090e592448b33ec1f07ff48b015e748055126805ba3cea7ce1105769191",
            "source": "ossf-package-analysis",
            "import_time": "2026-05-19T19:37:30.071821153Z"
        },
        {
            "modified_time": "2026-05-19T20:02:44Z",
            "versions": [
                "1.0.5"
            ],
            "sha256": "5367f129b0df5435a98c74c0d1ba7a84f585fdf5b418594dde6b5e4b8fc93d4a",
            "source": "ossf-package-analysis",
            "import_time": "2026-05-19T20:39:27.292271364Z"
        },
        {
            "modified_time": "2026-05-20T15:31:34Z",
            "versions": [
                "8.0.5"
            ],
            "sha256": "fd46757bbdd55dc8cff41c5263528b77a9aa417f2a2a5ce556236683affee92b",
            "source": "ossf-package-analysis",
            "import_time": "2026-05-20T15:47:05.727413781Z"
        },
        {
            "import_time": "2026-05-26T05:51:01.744063603Z",
            "versions": [
                "8.0.5"
            ],
            "sha256": "b110466fd12f426709ec7f628f63304d175faddb8094d08e8448388ed3114805",
            "id": "IN-MAL-2026-003645",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T22:34:43Z"
        },
        {
            "import_time": "2026-05-26T05:51:01.885491472Z",
            "versions": [
                "8.0.5"
            ],
            "sha256": "4fbefab332886a9a7e192a8284c8cdb60134f4382be77b5932e9de16fc9f2f35",
            "id": "IN-MAL-2026-003646",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T22:34:43Z"
        },
        {
            "modified_time": "2026-06-01T09:10:45Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "ac92e6994c361dee2371b037c52d1ed3d1b27ced5002dcbc3de7ef0c884ed91d",
            "id": "GHSA-9j37-8wjm-pcxq",
            "source": "ghsa-malware",
            "import_time": "2026-06-01T10:04:39.151978143Z"
        }
    ]
}
References
Credits

Affected packages

npm / collected-forms-embed-js

Package

Name
collected-forms-embed-js
View open source insights on deps.dev
Purl
pkg:npm/collected-forms-embed-js

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.5
8.*
8.0.5

Database specific

indicators
{
    "domains": [
        "api.ipify.org",
        "lszakfghwnvxspyfcmaabd1css99rnq3w.oast.fun"
    ],
    "evidence_files": [
        {
            "sha256": "43b351a44fbe0ba1a767087bd117f28852ccd629578ae793c6bae3f860b4a7a6",
            "tlsh": "251142e08980dab9e7d147f97946d541fd23e70a22114cb0e86c17818b441b46197f9c",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-Qpki2f43yNco6tyyqsefAD5P191hxQw95GG5UoHXxvifS/LYIJXU7h7RRbSxCwaLOdP3XGrN+8SIX4KB5BFWaQ==",
                "sha1": "3574f0ee176afb5af8ec6839e599423268628394"
            },
            "filename": "collected-forms-embed-js-8.0.5.tgz"
        }
    ]
}
cwes
[
    {
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/collected-forms-embed-js/MAL-2026-4175.json"