MAL-2026-4267

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@newline53/newline-ts-sdk/MAL-2026-4267.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4267
Published
2026-05-23T17:52:10Z
Modified
2026-05-26T06:01:55Z
Summary
Malicious code in @newline53/newline-ts-sdk (npm)
Details

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

Source: amazon-inspector (475a7ac4130ef9c168565439f8cac230fce87b1d59bc116caec6c712f3a5dc60)

On npm install, the postinstall hook (node install.js) collects os.hostname() and os.userInfo().username along with the package name, encodes them as a DNS subdomain of mjcfux88wjjahplabxdauc6bl.canarytokens.com, and beacons out via DNS resolution (dns.lookup/dns.resolve) and HTTP requests (shelled curl/wget to http://<host-username-pkg>.mjcfux88wjjahplabxdauc6bl.canarytokens.com). The package has no real functionality — index.js is module.exports = {} — and package.json carries placeholder author metadata (a 32-char hex string with no homepage or repository). The structure (empty main, recon-only postinstall, canarytoken endpoint) is the canonical dependency-confusion probe: an attacker publishes a public npm package matching an internal scope name to detect whether private builds inside a target organization resolve to and install the public name. The exfiltrated hostname/username identifies the victim environment to the attacker.

Source: ossf-package-analysis (5410fe1569b6b68356a714bec6729f19f05c94faa3ee858c58df8a35345f5eca)

The OpenSSF Package Analysis project identified '@newline53/newline-ts-sdk' @ 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": [
        {
            "import_time": "2026-05-23T18:26:18.344447533Z",
            "modified_time": "2026-05-23T17:52:10Z",
            "sha256": "5410fe1569b6b68356a714bec6729f19f05c94faa3ee858c58df8a35345f5eca",
            "source": "ossf-package-analysis",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "import_time": "2026-05-23T18:26:18.614571294Z",
            "modified_time": "2026-05-23T18:21:22Z",
            "sha256": "850e524520d9a4f99a9db2a9ffbbe932d1fe9256f89661c2ab33840f66dedbcd",
            "source": "ossf-package-analysis",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-004374",
            "import_time": "2026-05-26T05:52:28.486342435Z",
            "modified_time": "2026-05-23T17:54:28Z",
            "sha256": "1ebfb513ccab4c26eb32c705dff22c1d406b63b808a892a412b96e83a82cbc57",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-004372",
            "import_time": "2026-05-26T05:52:28.272186857Z",
            "modified_time": "2026-05-23T17:52:32Z",
            "sha256": "475a7ac4130ef9c168565439f8cac230fce87b1d59bc116caec6c712f3a5dc60",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-004375",
            "import_time": "2026-05-26T05:52:28.583907486Z",
            "modified_time": "2026-05-23T17:54:28Z",
            "sha256": "66e2e3fc61650bd0215066af2b21837ff23cb044ab56e385401878cfbec7d8b6",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-004370",
            "import_time": "2026-05-26T05:52:28.025149829Z",
            "modified_time": "2026-05-23T17:52:27Z",
            "sha256": "6e3fd64e82a33680c9545e4065e71a2990350d13c0182777df8c094c9514284e",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-004371",
            "import_time": "2026-05-26T05:52:28.152369964Z",
            "modified_time": "2026-05-23T17:52:28Z",
            "sha256": "86fe18bd38e9f6f5b1f5f4278284e76874c2f5781c9bb5396a230a5d9314a0c2",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-004373",
            "import_time": "2026-05-26T05:52:28.386210877Z",
            "modified_time": "2026-05-23T17:52:33Z",
            "sha256": "aad6652e2eb0c57558109b87ff36a64fdea033ec256d4aa78268c6f49afba499",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @newline53/newline-ts-sdk

Package

Name
@newline53/newline-ts-sdk
View open source insights on deps.dev
Purl
pkg:npm/%40newline53%2Fnewline-ts-sdk

Affected ranges

Affected versions

1.*
1.0.0
1.0.1
1.0.2

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"
    }
]
indicators
{
    "domains": [
        "newline53-newline-ts-sdk.scan.scan-e61f3bd6facf.mjcfux88wjjahplabxdauc6bl.canarytokens.com"
    ],
    "evidence_files": [
        {
            "path": "install.js",
            "sha256": "0dfc08ec02993dc0ee798da772eac18d639737cf653a1873bc5882d7ce60db13",
            "tlsh": "b7210f6d39f426602a661ce8621b34116893e117b19aede8b19e97e00f1343892b3ce8"
        },
        {
            "path": "package.json",
            "sha256": "1b55015074f9904d8c4e275c89f0ba58808e7e7f6a8cec8a883eab049b8db625",
            "tlsh": "1ae0c2244a119af33bc14a6a0d266e46bd218e6f4052fc0c63db621093df7ba587922d"
        }
    ],
    "package_integrity": [
        {
            "filename": "newline-ts-sdk-1.0.2.tgz",
            "hashes": {
                "sha1": "a497e5712c857ee66e1ffe23ca246eab61d54a78",
                "sha512_sri": "sha512-AuOGLY+BC7wnkWwqXN0dEX+ITCchnW3yOSNRu02HoEqa6coM/c7CegbVTHXv3F/J0hI+csajJdOiI9rhjx1XIQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@newline53/newline-ts-sdk/MAL-2026-4267.json"