mal-2026-10019
Vulnerability from ossf_malicious_packages
Published
2026-07-09 12:25
Modified
2026-07-11 04:37
Summary
Malicious code in client-cookies-agent (npm)
Details

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

Source: amazon-inspector (12870ae203f2612ab2bf9e796583acba17914cd4699909156f86c643fcf51f24)

package.json declares postinstall=node index.js, which runs automatically on npm install. index.js collects host identifiers via os.hostname(), os.userInfo(), and process.cwd(), resolves the external IPv4 address, and POSTs them as JSON to a hardcoded Interactsh-style out-of-band collector at lpzlajzjfkpfeefuzxbv6n5nob7bpuh6e.oast.fun/receive-data over plain HTTP. The package has empty description and author fields and is published at version 99.9.5, a shape consistent with a dependency-confusion squat against a private/internal package name: installing (or accidentally resolving) this name causes a reconnaissance beacon to fire from the developer or CI machine, confirming code execution on the target and leaking host, user, cwd, and network identifiers to the attacker.

Source: ossf-package-analysis (84540e9e44077c6ea24d8b8dc6093397f9ff6bcac74e53fe1dabfdd37d1a9b95)

The OpenSSF Package Analysis project identified 'client-cookies-agent' @ 99.9.5 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
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.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "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"
          },
          {
            "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": "108ace563bb47f186a4326ee566478e9a521891ef5ba26d575262c3e9c05fcd0",
              "tlsh": "203153e5eaf6632106f604c570881413352ff210728adac0bafe43c47bc16f0ad32ae6"
            },
            {
              "path": "package.json",
              "sha256": "8a5f0802730424a53c2a7273f9aa90f4ea185b0630e43dbe1c8f29f262f4de51",
              "tlsh": "8ed0a7741d30593329c417a94967a40bb9718e1b0104780c6b93286cd7ee93348fe20e"
            }
          ],
          "package_integrity": [
            {
              "filename": "client-cookies-agent-99.9.5.tgz",
              "hashes": {
                "sha1": "bd77224fc4f9970cf960b926dab0f716d2d70ecc",
                "sha512_sri": "sha512-LzIqGmlSVxxM/pVvGgUth827tQBp86NPR5Y/hBLNHiJvsAJ71IZHRWK5ixsI9xNeXqkm7nv8+/sziZZpIxwaAg=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "client-cookies-agent"
      },
      "versions": [
        "99.9.5",
        "99.9.6",
        "99.9.7"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/ossf/package-analysis",
        "https://openssf.slack.com/channels/package_analysis"
      ],
      "name": "OpenSSF: Package Analysis",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2026-07-09T13:32:38.189412003Z",
        "modified_time": "2026-07-09T12:25:53Z",
        "sha256": "84540e9e44077c6ea24d8b8dc6093397f9ff6bcac74e53fe1dabfdd37d1a9b95",
        "source": "ossf-package-analysis",
        "versions": [
          "99.9.5"
        ]
      },
      {
        "id": "IN-MAL-2026-009107",
        "import_time": "2026-07-09T16:20:41.37316939Z",
        "modified_time": "2026-07-09T15:29:20Z",
        "sha256": "12870ae203f2612ab2bf9e796583acba17914cd4699909156f86c643fcf51f24",
        "source": "amazon-inspector",
        "versions": [
          "99.9.5"
        ]
      },
      {
        "id": "IN-MAL-2026-009301",
        "import_time": "2026-07-09T17:19:20.794993812Z",
        "modified_time": "2026-07-09T16:34:08Z",
        "sha256": "5436bbe20f2f46c187360960355983b715a1fec39173341d09f1fb6114012b9a",
        "source": "amazon-inspector",
        "versions": [
          "99.9.6"
        ]
      },
      {
        "id": "IN-MAL-2026-009730",
        "import_time": "2026-07-11T04:35:45.739023283Z",
        "modified_time": "2026-07-11T03:57:52Z",
        "sha256": "36dc6dc093b1456e2853ff7e0bc57abb2866dd7f6cea4fabb252ca34dc79ccff",
        "source": "amazon-inspector",
        "versions": [
          "99.9.7"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (12870ae203f2612ab2bf9e796583acba17914cd4699909156f86c643fcf51f24)\npackage.json declares postinstall=`node index.js`, which runs automatically on `npm install`. index.js collects host identifiers via os.hostname(), os.userInfo(), and process.cwd(), resolves the external IPv4 address, and POSTs them as JSON to a hardcoded Interactsh-style out-of-band collector at lpzlajzjfkpfeefuzxbv6n5nob7bpuh6e.oast.fun/receive-data over plain HTTP. The package has empty description and author fields and is published at version 99.9.5, a shape consistent with a dependency-confusion squat against a private/internal package name: installing (or accidentally resolving) this name causes a reconnaissance beacon to fire from the developer or CI machine, confirming code execution on the target and leaking host, user, cwd, and network identifiers to the attacker.\n\n## Source: ossf-package-analysis (84540e9e44077c6ea24d8b8dc6093397f9ff6bcac74e53fe1dabfdd37d1a9b95)\nThe OpenSSF Package Analysis project identified \u0027client-cookies-agent\u0027 @ 99.9.5 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n",
  "id": "MAL-2026-10019",
  "modified": "2026-07-11T04:37:27Z",
  "published": "2026-07-09T12:25:53Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/client-cookies-agent/v/99.9.5"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/client-cookies-agent/v/99.9.6"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/client-cookies-agent/v/99.9.7"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in client-cookies-agent (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…