Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
snyk-report
Advanced tools
This module was created to allow for snyk.io integration into CI workflow.
It is a WIP. Long term goals are to allow failure of build depending on rulesets, which will be dependent upon various factors, such as..
This module can be installed with npm
.
npm install snyk-report --save-dev
Before this module can be used authentication with the Snyk API will need to be setup. For more details see Snyk CLI Authentication.
Alternatively this module allows the environment variable SNYK_API_TOKEN
to be set containing the correct authentication token.
An example script has been included, which demonstrates snyk-report
being run against either a directory pointed to by the REPO_DIR
environment variable, or the current directory if it is not defined.
var report = require('snyk-report');
var targetDir = process.env.REPO_DIR || '.';
report(targetDir, function(err, output) {
if (err) throw new Error(err);
console.log(output.text);
});
To run the example script use the following command:
npm start
To run all the unit tests use:
npm test
## Linting
Linting for the project can be run with the following command.
npm run lint
FAQs
Assists in generating human readable snyk reports for CI integration
We found that snyk-report demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.