Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@vkontakte/graph-cache-js
Advanced tools
This is a ```JavaScript``` parser for [graph-cache](https://github.com/VKCOM/graph-cache) library.
This is a JavaScript
parser for graph-cache library.
npm install --save graph-cache-js
const createGraphCache = require('graph-cache');
const jsParser = require('graph-cache-js');
function parser(parserOptions, sign, file, filename) {
return jsParser(sign, file, filename, parserOptions);
}
const gcache = createGraphCache(parser.bind(null, parserOptions), sign, {});
packageJSON
— path to package.json which you use in your project, so that parser could walk dependencies from npm.Important! It will only store and check versions of packets from npm. It won't walk your whole dependencies tree, so if you change files inside your node_modules — parser won't be able to detect those changes without changing version of the packet you're importing.
plugins
— list of plugins for bablylon or now babel-parser (https://babeljs.io/docs/en/babel-parser)alias
— alias section from webpack configThis library is tested using Mocha
and Chai
. You can run test suit with npm test
.
You can run npm run test-watch
to rerun tests on file updates.
Issues and PR's are welcomed here.
FAQs
This is a ```JavaScript``` parser for [graph-cache](https://github.com/VKCOM/graph-cache) library.
The npm package @vkontakte/graph-cache-js receives a total of 0 weekly downloads. As such, @vkontakte/graph-cache-js popularity was classified as not popular.
We found that @vkontakte/graph-cache-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.