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.
Base plugin for adding a `pkg` object with get/set methods for getting data from package.json or setting data to package.json.
Base plugin for adding a
pkg
object with get/set methods for getting data from package.json or setting data to package.json.
(TOC generated by verb using markdown-toc)
Install with npm:
$ npm install base-pkg --save
var pkg = require('base-pkg');
var Base = require('base');
var base = new Base();
base.use(pkg());
console.log(base.pkg.data);
//=> package.json object
Exposes all of the methods from data-store, visit that project for API documentation and to see the full range of available features and options.
option
, enable
and disable
. See the readme… more | homepagePull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016 Jon Schlinkert Released under the MIT license.
This file was generated by verb, v0.9.0, on March 17, 2016.
FAQs
Plugin for adding a `pkg` method that exposes pkg-store to your base application.
The npm package base-pkg receives a total of 18,929 weekly downloads. As such, base-pkg popularity was classified as popular.
We found that base-pkg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.