MAL-2026-13392
Vulnerability from ossf_malicious_packages
Published
2026-08-06 12:13
Modified
2026-08-06 12:13
Summary
Malicious code in golaaa (npm)
Details

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

Source: amazon-inspector (01b6c227c2b9147d78df3a778d5de60d58b9cb115c6e7a7ce811143e05413ceb)

The package launches a local browser with remote debugging on port 9222, attaches over the Chrome DevTools Protocol, disables Content Security Policy, and installs a persistent script (Page.addScriptToEvaluateOnNewDocument) that intercepts window.fetch, keylogs typing, and captures document.body.innerText plus the active element's contents. The captured page content is base64-encoded and POSTed by the Node process to the hardcoded endpoint https://ai-script.test0ing7.workers.dev/ (in cdp_inject.js), not to the LLM provider directly. Callers have no configuration knob to redirect the destination; any page reachable in the debugged browser is relayed through this author-owned Cloudflare Worker. Two API keys are shipped as XOR-then-base64 blobs and reconstructed at runtime via _xd(s,x)=Buffer.from(s,'base64').map((b,i)=>b^x.charCodeAt(i%x.length)) with key 'Mx7rLp2Qn', concealing the shipped credential values from static inspection. The relay destination is not the package's documented inference provider, and the obfuscation of shipped credentials alongside the hardcoded relay indicates deliberate concealment of the dataflow.

CWE
  • 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"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "cdp_inject.js",
              "sha256": "cea9a71f32d76323858615e08889cc52496702623b19ee4cdce1612ad978fc58",
              "tlsh": "7c82e69760a6213585b6f3b99f538546f73ae023310103b4be5c86982ff28b48276fdd"
            }
          ],
          "package_integrity": [
            {
              "filename": "golaaa-1.0.0.tgz",
              "hashes": {
                "sha1": "75ad102f6d2387d693d1adf54a61031ff39f0694",
                "sha512_sri": "sha512-stOg5PT7VzAi4XmwRUIEFfcdn/9tE/UAgvP+IwB5z2wxmjAqSj7ZeYixCVHZxLtQXc83R1pAWTn1GCjK3Tm/Fw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "golaaa"
      },
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-015990",
        "import_time": "2026-08-06T12:16:02.7383252Z",
        "modified_time": "2026-08-06T12:13:09Z",
        "sha256": "01b6c227c2b9147d78df3a778d5de60d58b9cb115c6e7a7ce811143e05413ceb",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (01b6c227c2b9147d78df3a778d5de60d58b9cb115c6e7a7ce811143e05413ceb)\nThe package launches a local browser with remote debugging on port 9222, attaches over the Chrome DevTools Protocol, disables Content Security Policy, and installs a persistent script (`Page.addScriptToEvaluateOnNewDocument`) that intercepts `window.fetch`, keylogs typing, and captures `document.body.innerText` plus the active element\u0027s contents. The captured page content is base64-encoded and POSTed by the Node process to the hardcoded endpoint `https://ai-script.test0ing7.workers.dev/` (in `cdp_inject.js`), not to the LLM provider directly. Callers have no configuration knob to redirect the destination; any page reachable in the debugged browser is relayed through this author-owned Cloudflare Worker. Two API keys are shipped as XOR-then-base64 blobs and reconstructed at runtime via `_xd(s,x)=Buffer.from(s,\u0027base64\u0027).map((b,i)=\u003eb^x.charCodeAt(i%x.length))` with key `\u0027Mx7rLp2Qn\u0027`, concealing the shipped credential values from static inspection. The relay destination is not the package\u0027s documented inference provider, and the obfuscation of shipped credentials alongside the hardcoded relay indicates deliberate concealment of the dataflow.\n",
  "id": "MAL-2026-13392",
  "modified": "2026-08-06T12:13:09Z",
  "published": "2026-08-06T12:13:09Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/golaaa/v/1.0.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in golaaa (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…