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-node
A simple and highly configurable base project for ECMAScript 2015 projects.
Out-of-the-box support for:
###Installation
$ curl https://raw.githubusercontent.com/blakelapierre/base-node/master/create.sh | bash -s your-project-name
The above command will create a new git repository named your-project-name
in your current directory.
#####OR
$ git clone https://github.com/blakelapierre/base-node
$ cd base-node
$ npm install -g gulp gulpur
$ npm install
###Building
$ gulpur build
###Running
$ node .dist/index.js
Tests:
$ node .dist/tests/index.js
###Developing
$ gulpur dev
This command will watch your source files for changes and run them through jshint
and the transpiler when they change.
###Containerizing
$ gulpur package
$ cd container
$ ./build.sh
$ ./publish.sh
First, run the package
task to produce a single-file, minimized version of your app.
Then, go into the container
folder to access the scripts to package your app into a Docker container. You should edit the build.sh
and publish.sh
scripts to use a container name that fits your project name.
FAQs
A small function that produces an emitter
The npm package es-emitter receives a total of 7 weekly downloads. As such, es-emitter popularity was classified as not popular.
We found that es-emitter 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.