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.
npmversioner
Advanced tools
This is the long awaited NPM Versioner. This tool does the following:
basepathconfig.json
{ "basePath": "/your/base/repo/path/here" }
master
branch from GitHubnode app
y
at the prompt if everything looks goodIf you create a new module, add it to the config.json
file using the format:
{
"name": {package name},
"description": {package description (optional)},
"configLocation": {relative folder path to package.json location},
"isNPM": {set to true if this is a sift.lib package}
}
We recommend npm linking all @sift packages on development machines. This ensures that you can write code and test it in real time without publishing to npm.
The siftliblinks.sh
script in this repo will perform all of the necessary linking.
To run:
cd /your/git/directory
sudo chmod +x ./NpmVersioner/siftliblinks.sh #(first time only)
sudo chown -R {yourUserName} {/your/base/repo/path/here}
sudo chown -R /usr/local/lib/node_modules
./NpmVersioner/siftliblinks.sh '{/your/base/repo/path/here}'
Note: You MUST run this script inside of your git directory.
** Please note the variables within the script: yourGitFolder, nameForBaseRemote
cd ~/{{yourGitFolder}}/
for i in $(ls -d Sift*/)
do
cd ~/git/$i
echo
echo
echo =========== Start updating $i ==============
git remote update {{nameForBaseRemote}}
if [ $(git rev-parse master) = $(git rev-parse {{nameForBaseRemote}}/master) ]
then
echo ++++++++++ $i is up to date ++++++++++
else
echo ======= Updating origin with upstream=====
git checkout master
git pull {{nameForBaseRemote}} master
# git push origin master
# echo ====== Updating local master =====
# git pull --rebase
fi
done
The purpose of install.js is to install all node modules on sift lib.
To run simply type in node install
FAQs
This module updates npm packge versions and dependency references
The npm package npmversioner receives a total of 0 weekly downloads. As such, npmversioner popularity was classified as not popular.
We found that npmversioner 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.