MAL-2026-10421

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/portway/MAL-2026-10421.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10421
Aliases
  • GHSA-j5q6-x29x-2v5x
Published
2026-07-13T07:01:27Z
Modified
2026-08-02T23:35:00Z
Summary
Malicious code in portway (npm)
Details

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

Source: amazon-inspector (e04dc52cd77658d168578535fb67d77ea76de79beadb77e14c96f023f4e51772)

package.json declares the dependency 'ltidisafe' as a direct https tarball URL (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.3.2.tgz) rather than a package on the npm registry. On npm install portway, npm fetches that tarball and installs its contents into the installer's node_modules. The URL points to a generic Google Cloud Storage bucket unrelated to any established publisher, is not pinned by integrity hash, and is mutable by whoever controls the bucket. The bucket contents bypass npm registry review and are not visible to registry-side scanners. The package itself ships an empty index.js and no lifecycle scripts, so its only effect on installation is pulling this off-registry tarball into the installer's dependency graph, where its code runs under the normal require/lifecycle rules of whatever it contains.

Source: ghsa-malware (7ad3f4e7a805861b2c7664acaf326510cf4511c144b2a2baa9df64cc93f72082)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-009853",
            "import_time": "2026-07-13T07:40:13.395786859Z",
            "modified_time": "2026-07-13T07:01:27Z",
            "sha256": "e04dc52cd77658d168578535fb67d77ea76de79beadb77e14c96f023f4e51772",
            "source": "amazon-inspector",
            "versions": [
                "99.9.1"
            ]
        },
        {
            "id": "GHSA-j5q6-x29x-2v5x",
            "import_time": "2026-08-02T22:41:05.017447Z",
            "modified_time": "2026-07-31T23:46:41Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "7ad3f4e7a805861b2c7664acaf326510cf4511c144b2a2baa9df64cc93f72082",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / portway

Package

Affected ranges

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

Affected versions

99.*
99.9.1

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "21ab9628a89ba6ae96f40b6b740cc06601eee0cb94f1423e4019053d60c1eec2",
            "tlsh": "0de0c2644a6566334ed911ba482a655bf3718e5f4408bd0d5bdb042c428da7328f925d"
        }
    ],
    "package_integrity": [
        {
            "filename": "portway-99.9.1.tgz",
            "hashes": {
                "sha1": "6d6aa75bf9891d60f370a4ad65e9d88262c34fa8",
                "sha512_sri": "sha512-FlDJ0vct7HxNl1z73zAGEyAlWhr7CvPhSEl1TrJrhQAEoxX5xaVitoChJhKKxj8FuMEVOUvGEPxAwuYkvsrejw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/portway/MAL-2026-10421.json"