mal-2026-1040
Vulnerability from ossf_malicious_packages
Published
2026-02-23 22:01
Modified
2026-03-04 00:15
Summary
Malicious code in react-markdown-canvas (npm)
Details

Malicious package due to data exfiltration via Discord webhook on install. Collects IP, hostname, and date without consent.


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

Source: amazon-inspector (4123db6526d8c37f99fa33e2524edc97922efef6b1605dc0a8acdbf41e76cc77)

The package react-markdown-canvas was found to contain malicious code.

Source: ossf-package-analysis (833c2865c0a6f984f9af493aa02b5ec03e8a63f037c298a46ae54bb1d88d3a1a)

The OpenSSF Package Analysis project identified 'react-markdown-canvas' @ 1001.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "react-markdown-canvas"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1001.0.0",
        "1005.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "actran@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"
    },
    {
      "contact": [
        "https://safedep.io"
      ],
      "name": "SafeDep",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2026-02-26T01:37:59.158937835Z",
        "modified_time": "2026-02-23T22:01:02Z",
        "sha256": "833c2865c0a6f984f9af493aa02b5ec03e8a63f037c298a46ae54bb1d88d3a1a",
        "source": "ossf-package-analysis",
        "versions": [
          "1001.0.0"
        ]
      },
      {
        "import_time": "2026-02-26T01:37:59.331038983Z",
        "modified_time": "2026-02-23T22:11:01Z",
        "sha256": "eebf5582865e2a81a8d7e00e967725e011a5317109ff891b5b281df547349c63",
        "source": "ossf-package-analysis",
        "versions": [
          "1005.0.0"
        ]
      },
      {
        "import_time": "2026-03-01T20:41:57.339201726Z",
        "modified_time": "2026-03-01T20:25:57Z",
        "sha256": "4123db6526d8c37f99fa33e2524edc97922efef6b1605dc0a8acdbf41e76cc77",
        "source": "amazon-inspector",
        "versions": [
          "1001.0.0",
          "1005.0.0"
        ]
      }
    ]
  },
  "details": "Malicious package due to data exfiltration via Discord webhook on install. Collects IP, hostname, and date without consent.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4123db6526d8c37f99fa33e2524edc97922efef6b1605dc0a8acdbf41e76cc77)\nThe package react-markdown-canvas was found to contain malicious code.\n\n## Source: ossf-package-analysis (833c2865c0a6f984f9af493aa02b5ec03e8a63f037c298a46ae54bb1d88d3a1a)\nThe OpenSSF Package Analysis project identified \u0027react-markdown-canvas\u0027 @ 1001.0.0 (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-1040",
  "modified": "2026-03-04T00:15:19Z",
  "published": "2026-02-23T22:01:02Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://app.safedep.io/community/malysis/01KJ69FH2YT5GPF37JYK3T87DN"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in react-markdown-canvas (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…