mal-2025-1978
Vulnerability from ossf_malicious_packages
Published
2025-01-10 12:38
Modified
2025-12-11 09:27
Summary
Malicious code in javascan (PyPI)
Details

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

Source: kam193 (3b87a6ab9caea125ba4a71189d6a1740668e44d637f7e7c2d4f85daaf4f54ed0)

During installation, a code is downloaded and executed. This remote script then attempts to exfiltrate environmental variables, SSH keys, Slack secrets etc.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-01-javascan

Reasons (based on the campaign):

  • Downloads and executes a remote malicious script.

  • files-exfiltration

  • exfiltration-ssh-keys

  • dependency-confusion

  • exfiltration-env-variables


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "javascan",
        "purl": "pkg:pypi/javascan"
      },
      "versions": [
        "0.1",
        "0.2",
        "0.3",
        "0.4",
        "0.5"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "slack-dw-javabackend-109783.s3.us-west-1.amazonaws.com"
      ],
      "urls": [
        "https://slack-dw-javabackend-109783.s3.us-west-1.amazonaws.com/packages/package.json"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-01219",
        "import_time": "2025-03-03T15:07:15.506525565Z",
        "modified_time": "2025-03-03T13:44:58Z",
        "sha256": "ce235cd44461ffdbfbe8f0a33f794d8aceb72d07b4ea57521d9d47e1d495a4d6",
        "source": "reversing-labs",
        "versions": [
          "0.1",
          "0.2",
          "0.3",
          "0.4",
          "0.5"
        ]
      },
      {
        "id": "pypi/2025-01-javascan/javascan",
        "import_time": "2025-12-02T22:30:55.2801275Z",
        "modified_time": "2025-01-10T12:38:39Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "eee8c24ca7eb40c45b616928fa7dab92f19f8d659771c57c01dcc0597aed4a4c",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-01-javascan/javascan",
        "import_time": "2025-12-02T23:07:18.304119265Z",
        "modified_time": "2025-01-10T12:38:39Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "3b87a6ab9caea125ba4a71189d6a1740668e44d637f7e7c2d4f85daaf4f54ed0",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-01-javascan/javascan",
        "import_time": "2025-12-10T21:38:57.550061781Z",
        "modified_time": "2025-01-10T12:38:39Z",
        "sha256": "c2d6cf858c6bfba05e5656f3dc63dce8dc19a6253b3341bd78bcb0bee8fb5bfa",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.2",
          "0.3",
          "0.4",
          "0.5"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3b87a6ab9caea125ba4a71189d6a1740668e44d637f7e7c2d4f85daaf4f54ed0)\nDuring installation, a code is downloaded and executed. This remote script then attempts to exfiltrate environmental variables, SSH keys, Slack secrets etc.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-01-javascan\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - files-exfiltration\n\n\n - exfiltration-ssh-keys\n\n\n - dependency-confusion\n\n\n - exfiltration-env-variables\n",
  "id": "MAL-2025-1978",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-01-10T12:38:39Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/javascan"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in javascan (PyPI)"
}


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…