mal-2026-6346
Vulnerability from ossf_malicious_packages
Published
2026-06-23 20:18
Modified
2026-07-01 21:06
Summary
Malicious code in triage-bot (npm)
Details

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

Source: amazon-inspector (2ef2bb10931626a345e1277463f9c2ec6ca36108c2d6131c9210707ea5692a64)

package.json declares preinstall: node index.js, so the payload runs automatically on npm install with no user action. index.js requires os, fs, and https, then collects hostname, username, home directory, DNS servers, current working directory, and package metadata, and reads the contents of /etc/passwd and /etc/hosts (index.js:18-19). The aggregated JSON is HTTPS POSTed to t3x60c96rz2gi7qxftonjplmmdsbg14q.oastify.com, a Burp Collaborator out-of-band-interaction subdomain controlled by the publisher. Package metadata is empty (author '', description '', ISC license) and the package ships no functional code — it exists solely as an install-time beacon, consistent with a dependency-confusion / pen-test harvest payload.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits

{
  "affected": [
    {
      "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": "4eb5d9d3aa99d113bf92830dec579b22bd7dedbb3138a2c3c1116a6eb3bfb9a5",
              "tlsh": "9441259992c917330de110c06a0c70843359f9777159a9d076cf42d69f869f8b7726f3"
            },
            {
              "path": "package.json",
              "sha256": "c94f4422ed886ac88f02604bd293efb6405b5e7079848b3c7ab8e48040cce473",
              "tlsh": "2ed0a9304e22a63325c106a24c2ba48773a18f2f08043c08a3cb182c81ce6b798ff31d"
            }
          ],
          "package_integrity": [
            {
              "filename": "triage-bot-1.0.1.tgz",
              "hashes": {
                "sha1": "7848cd16fa6eca8924ee63c5af2cf119a696e999",
                "sha512_sri": "sha512-hBSQh0nK9lIv4BFGLnmIjox3vnBB2edV7YwWwYffF6UstHWkzc9qtpj/IHrae0BeLPL2AtSz4WxzTZ9GYdtEOQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "triage-bot"
      },
      "versions": [
        "1.0.1",
        "1.0.2"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-007358",
        "import_time": "2026-06-23T20:48:30.883953523Z",
        "modified_time": "2026-06-23T20:18:45Z",
        "sha256": "2ef2bb10931626a345e1277463f9c2ec6ca36108c2d6131c9210707ea5692a64",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-007889",
        "import_time": "2026-07-01T21:04:20.255027868Z",
        "modified_time": "2026-07-01T20:37:55Z",
        "sha256": "2c3f290ab3688b96b33d4e3f8d5695670d7737ba42a7c628aa246394e398ff9d",
        "source": "amazon-inspector",
        "versions": [
          "1.0.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2ef2bb10931626a345e1277463f9c2ec6ca36108c2d6131c9210707ea5692a64)\npackage.json declares `preinstall: node index.js`, so the payload runs automatically on `npm install` with no user action. index.js requires `os`, `fs`, and `https`, then collects hostname, username, home directory, DNS servers, current working directory, and package metadata, and reads the contents of /etc/passwd and /etc/hosts (index.js:18-19). The aggregated JSON is HTTPS POSTed to `t3x60c96rz2gi7qxftonjplmmdsbg14q.oastify.com`, a Burp Collaborator out-of-band-interaction subdomain controlled by the publisher. Package metadata is empty (author \u0027\u0027, description \u0027\u0027, ISC license) and the package ships no functional code \u2014 it exists solely as an install-time beacon, consistent with a dependency-confusion / pen-test harvest payload.\n",
  "id": "MAL-2026-6346",
  "modified": "2026-07-01T21:06:13Z",
  "published": "2026-06-23T20:18:45Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/triage-bot/v/1.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/triage-bot/v/1.0.2"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in triage-bot (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…