-= Per source details. Do not edit below this line.=-
package.json declares the package's own name, modules-newline, as both a dependency and devDependency pointing to http://pack.nppacks.com/npm/modules-newline instead of the npm registry. On npm install, npm fetches and installs whatever tarball is currently served from that URL, bypassing registry auditing. The URL is plain HTTP (subject to MITM substitution), unpinned (no tag, commit, or integrity hash), and hosted on a non-publisher domain unrelated to npm. Any project that installs this package, directly or transitively, executes code delivered from that external endpoint at install time, including any lifecycle scripts inside the fetched tarball. The shipped index.js is a near-verbatim copy of babel-plugin-transform-define preceded by a comment stating 'This package use for Security Research Testing Purpose.', and the package name does not correspond to the copied plugin's function.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-25T08:49:18.267158287Z",
"sha256": "4c5565e7fd7984da26242b79340fb41f4f4595fdd5fbeb929ff5dfca5b13cc1a",
"source": "amazon-inspector",
"versions": [
"0.0.6"
],
"id": "IN-MAL-2026-018735",
"modified_time": "2026-08-25T08:40:02Z"
}
]
}[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/modules-newline/MAL-2026-14483.json"
{
"evidence_files": [
{
"tlsh": "6ef02808ca72b9a346d83554b96602836e5159874818bd1872cf1e2c0bcd8bb30f415e",
"sha256": "6d5fa1e1adbecdc905b1782f464206a459372264cf5257eed8aa7acbbe6a2def",
"path": "package.json"
},
{
"tlsh": "71a1935ab5e0159745aa22e5b3ce48b577bd80b3330df5a0b54cbf563f40c348a1aed1",
"sha256": "f2fcebdb4f0e41365a39ca87a52fcc4e6abd5633fe6272e60d1386d26b90ef41",
"path": "index.js"
}
],
"package_integrity": [
{
"filename": "modules-newline-0.0.6.tgz",
"hashes": {
"sha512_sri": "sha512-srdlkwQ6Tk3mAUjcftujyA29qRZNLTeYwQOtgfH+8OQleIQYtAnyfpSY6dgPyCjUDsPzMK26UPsqxlsQpcEbVg==",
"sha1": "c3ec8c0ba2156289e3ff37dbb0f3b84d0409361a"
}
}
]
}