MAL-2026-6121Malicious code in @gbrlxvi/ts-project-lint (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @gbrlxvi/ts-project-lint | * |
| npm | @gbrlxvi/ts-project-lint | 1.1.0 |
{"schema_version":"1.7.4","id":"MAL-2026-6121","published":"2026-06-18T16:44:00Z","modified":"2026-08-13T22:13:34.454034891Z","aliases":["GHSA-m526-p8gm-4wxg"],"summary":"Malicious code in @gbrlxvi/ts-project-lint (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (09e070ea98f9c48e77b964b3dacd4d3e7cbd82cf896fc6140ec4c390438debc8)\nThe package's main module index.js (also loaded indirectly by bin/cli.js) reads a hidden binary file lib/.perf.dat, AES-256-CBC-decrypts it with a hardcoded key/IV, and executes the resulting plaintext via `new Function(_r)()`. The decrypt-and-execute logic uses string-concatenation obfuscation (`'crypt'+'o'`, `'f'+'s'`, `'aes-256-cb'+'c'`) and a silent try/catch to avoid static detection, and the payload file is named with a leading dot and described as 'performance telemetry' despite the package's advertised purpose being a TypeScript lint configuration. The payload (lib/.perf.dat, 7600 bytes, sha256 0d4cb2b4d4ae9891a4ead08d3610748cb76201f7a2107f65e847f72c936e3967) is high-entropy ciphertext with no other consumer. Any developer who `require()`s this package or runs `npx ts-project-lint` executes opaque attacker-controlled code in their process, with full filesystem and network access of the calling user. The combination of dynamic code evaluation, obfuscated symbol references, hidden dotfile payload, mismatched cover story, and silent error swallowing matches the canonical opaque-blob dropper pattern.\n\n## Source: ghsa-malware (9a056aa759829123dd31c81069fccf76696d2805fd74d25d38072bb4cac28f57)\nAny 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.\n","affected":[{"package":{"name":"@gbrlxvi/ts-project-lint","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"e23f944cb85328f0a66a68322165371d07fad459e4b049c2dedf754e96e9f957","tlsh":"613147d67eb5f4913162a19ad87ebf03b122810954f5f230d1e9e5903f4d0095e392e6"},{"path":"lib/.perf.dat","sha256":"0d4cb2b4d4ae9891a4ead08d3610748cb76201f7a2107f65e847f72c936e3967","tlsh":"82f1b0e471c3b0056d352f0a34d34f57c7dc3639ac9b591bf1902981ee2e61ad5e982e"}],"package_integrity":[{"filename":"ts-project-lint-1.1.0.tgz","hashes":{"sha1":"12b0b2cfacde8ee4b6b4ca175ce9b1e5dedeebc7","sha512_sri":"sha512-NQ5ekQ27dls3bV3Jhxf9NgUx0Nl16GVfLoVsg+u4TaG2VmpRb487H9kIYiCCUEaL97OyvCvwtp5rLqjdw7R8MA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@gbrlxvi/ts-project-lint/v/1.1.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m526-p8gm-4wxg"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007013","import_time":"2026-06-18T17:08:48.315353468Z","modified_time":"2026-06-18T16:44:00Z","sha256":"09e070ea98f9c48e77b964b3dacd4d3e7cbd82cf896fc6140ec4c390438debc8","source":"amazon-inspector","versions":["1.1.0"]},{"id":"GHSA-m526-p8gm-4wxg","import_time":"2026-08-13T22:11:44.627373204Z","modified_time":"2026-08-13T15:48:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"9a056aa759829123dd31c81069fccf76696d2805fd74d25d38072bb4cac28f57","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0