MAL-2026-13413
Vulnerability from ossf_malicious_packages
Published
2026-08-06 13:41
Modified
2026-08-06 14:21
Summary
Malicious code in @astralcore/aura-wb (npm)
Details

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

Source: amazon-inspector (bd4a1b22725e981c18c44de0f81915a5048b58bdcacfe6935c9dfcb3dceb641c)

The package is a WhatsApp (Baileys) bot whose default configuration in config/index.js points MONGODB_URI at a hardcoded shared Atlas cluster (mongodb+srv://unity-free:unity-free@unity-free.pc6vkvw.mongodb.net) with credentials embedded in the source. When an installer starts the bot without overriding MONGODB_URI, useMongoDBAuthState() in src/commands/index.js writes the full Baileys creds and signal keys — the noise key, signal identity key, registration, and session keys that grant complete control of the installer's WhatsApp account — to that author-controlled database. src/commands/boostWatcher.js opens on 'connection open' and polls the same shared MongoDB every 20 seconds for BoostJob documents, then drives followNewsletter, newsletterReactMessage, and readMessages against the installer's paired WhatsApp session for each job. Because the DB credentials are shared and hardcoded, anyone with the source (including the author) can read every installer's WhatsApp session material and enqueue jobs that command every installer's WhatsApp identity to follow, react to, or view arbitrary channels. Additional install-time and command paths in start.js, src/commands/boost.js, and src/telegram/notify.js post host information (os.platform, os.arch, process.env) to api.telegram.org/bot/sendMessage using a hardcoded owner chat_id 7752365037, providing the author install-time notifications on every deployment. A Google Tenor API key is also embedded in src/commands/extra_media.js.

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.
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"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "src/commands/boost.js",
              "sha256": "aa5ca8e53aad094b70317866e0629b341981a8fe5268887fca4b83d0e52f1e6c",
              "tlsh": "dde143ba70fb202071a3f06cc25e601af11af617b40cc964ba8db2509fdd598d532fb6"
            },
            {
              "path": "src/commands/extra_media.js",
              "sha256": "d63f13d51a45c28f2b49804422a31082c80e7bfc8b11b7f67e7d262df7468bbf",
              "tlsh": "40725f3425b728357137e08c73af35669256f02b3554eba0b29c72515fce0a6c6b2bf8"
            },
            {
              "path": "src/commands/myfunc2.js",
              "sha256": "44acc254f4a039ffb0e1973d9b0e067c559e10ae9dfab63df31f0c00f9e64b14",
              "tlsh": "a6b1b65ba7fea53a1b82b0d9513d504ad35ed537741a58b2f20c05a13f4e21bb0f2af4"
            },
            {
              "path": "src/commands/tools.js",
              "sha256": "82337e2b460d25519a2cd9b27c3ea24e5a9f8f2a78af078d4f89b90cd858159b",
              "tlsh": "124385b820b738257537d0ac776b3845522af01b3948ec6572ecb3615fce49ac6b27b4"
            },
            {
              "path": "src/commands/unity_dl.js",
              "sha256": "1032db5ca2ac4901e142f2b459b3e783a390e18d214f6d9f23e838aa54109934",
              "tlsh": "d40475be21f37166362ad0bc67a76c069217b0077888cc1b7acc32956fdd42cc965af5"
            },
            {
              "path": "src/commands/unity_extra.js",
              "sha256": "3067e4c5f0425a1f1062932599c0cf8472e5c4ba5b66f7c16c525267e7a62ae6",
              "tlsh": "35a35ebe20b371253526d8ac67b768065127b107b548c8a77acc76e01fed4accda17f8"
            },
            {
              "path": "src/telegram/notify.js",
              "sha256": "6176cccc6f6e312921f4f49bf95ab34b9d18ebf2ffe3825096cbfa72274c7591",
              "tlsh": "8331235304e1b0019a739558c29be15a0057d14f66027870b7cf65700f4faac92faed8"
            },
            {
              "path": "start.js",
              "sha256": "ab0ecce0521eadbc8a5a79af58e966f36837ab11226d280c2b267bea04b6a648",
              "tlsh": "08d2947015f710343963e45dab3728013226b113b509eaa8b65cb3d44ffd9a4dea2bf9"
            }
          ],
          "package_integrity": [
            {
              "filename": "aura-wb-1.0.1.tgz",
              "hashes": {
                "sha1": "02c4b00b1e01cc557c010cda70fc7cf26d383c3e",
                "sha512_sri": "sha512-ZJozuupnVeRaUJsHVcSFRwv/P5aQKsqnRnbnGxya5grRaDpE2HVPeQRDOAte4y17VJKEpQbBvqPlCQNQiXo/cw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@astralcore/aura-wb"
      },
      "versions": [
        "1.0.1",
        "1.0.4",
        "1.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-016498",
        "import_time": "2026-08-06T14:19:52.467370759Z",
        "modified_time": "2026-08-06T13:41:12Z",
        "sha256": "2bcf5586718d048bf142fce2aba00c5823cadf0d4bbf7d015a780c8714dc4ac5",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-016502",
        "import_time": "2026-08-06T14:19:52.670691305Z",
        "modified_time": "2026-08-06T13:41:50Z",
        "sha256": "7cf8d2997880a86b08dbe855f09955c3b760e7098710d1775ce588f25af5ee95",
        "source": "amazon-inspector",
        "versions": [
          "1.0.4"
        ]
      },
      {
        "id": "IN-MAL-2026-016503",
        "import_time": "2026-08-06T14:19:52.717631998Z",
        "modified_time": "2026-08-06T13:41:58Z",
        "sha256": "bd4a1b22725e981c18c44de0f81915a5048b58bdcacfe6935c9dfcb3dceb641c",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bd4a1b22725e981c18c44de0f81915a5048b58bdcacfe6935c9dfcb3dceb641c)\nThe package is a WhatsApp (Baileys) bot whose default configuration in config/index.js points MONGODB_URI at a hardcoded shared Atlas cluster (mongodb+srv://unity-free:unity-free@unity-free.pc6vkvw.mongodb.net) with credentials embedded in the source. When an installer starts the bot without overriding MONGODB_URI, useMongoDBAuthState() in src/commands/index.js writes the full Baileys `creds` and signal `keys` \u2014 the noise key, signal identity key, registration, and session keys that grant complete control of the installer\u0027s WhatsApp account \u2014 to that author-controlled database. src/commands/boostWatcher.js opens on \u0027connection open\u0027 and polls the same shared MongoDB every 20 seconds for BoostJob documents, then drives followNewsletter, newsletterReactMessage, and readMessages against the installer\u0027s paired WhatsApp session for each job. Because the DB credentials are shared and hardcoded, anyone with the source (including the author) can read every installer\u0027s WhatsApp session material and enqueue jobs that command every installer\u0027s WhatsApp identity to follow, react to, or view arbitrary channels. Additional install-time and command paths in start.js, src/commands/boost.js, and src/telegram/notify.js post host information (os.platform, os.arch, process.env) to api.telegram.org/bot\u003credacted\u003e/sendMessage using a hardcoded owner chat_id 7752365037, providing the author install-time notifications on every deployment. A Google Tenor API key is also embedded in src/commands/extra_media.js.\n",
  "id": "MAL-2026-13413",
  "modified": "2026-08-06T14:21:50Z",
  "published": "2026-08-06T13:41:12Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@astralcore/aura-wb/v/1.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@astralcore/aura-wb/v/1.0.4"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@astralcore/aura-wb/v/1.0.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @astralcore/aura-wb (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…