anarchy@0.0.1-security vulnerabilities

security holding package

  • latest version

    0.0.1-security

  • first published

    5 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the anarchy package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Malicious Package

    anarchy is a malicious package that was used to collect download metrics beyond what npm provides, and sent them to google analytics or piwik. This can cause a privacy concern amongst users.

    This is especially dangerous in production runtime environments, where environment variables tend to consist of keys, passwords, tokens and other secrets.

    Example:

    {
      "name": "npm_scripts_test_metrics",
      "scripts": {
        "preinstall": "curl 'http://google-analytics.com/collect?v=1&t=event&tid=....'",
        "postinstall": "curl 'http://google-analytics.com/collect?v=1&t=event&tid=....'"
      }
    },
    {
      "name": "subtitles-lib",
      "scripts": {
        "postinstall": "bash -c 'curl \"http://*****.piwikpro.com/piwik.php?idsite=3&rec=1&action_name=$HOSTNAME\"'"
      }
    }
    

    The list of packages and their scripts are:

    npm_scripts_test_metrics
    subtitles-lib
    ikst
    botbait
    mktmpio
    anarchy
    

    How to fix Malicious Package?

    Avoid usage of this package altogether.

    *