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.
jnpm-generator
Advanced tools
#jnpm-generator Is a simple npm project generator. Just a lazy way to start npm project.
##For CLI or module projects
##usage
jnpm init
# install npm modules
# create "main" script read from package.json
# create README.md
# initialize git
# add new 'origin' read from package.json
# create .gitignore file with "node_modules/*"
# do initial commit and push.
###Publising to NPM?
jnpm publish # or
jnpm publish "commit message"
# increment version number in package.json
# git add .
# git commit -am "your message"
# git push
# npm publish
the rest of the commands, you can actually do with jgit
jnpm commit # or
jnpm commit "commit message"
# git add .
# git commit -am "your message"
jnpm push # or
jnpm push "commit message"
# git add .
# git commit -am "your message"
# git push
jnpm help
##install
sudo npm install -g jnpm-generator
Directory Structure
.
+-- .gitignore
+-- package.json
+-- .git
| +-- config
| +-- *otherGitStuff*
+-- index.js
+-- README.md
FAQs
simple npm project generator utils
We found that jnpm-generator 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.