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.
commonplace
Advanced tools
Commonplace is the place for reusable components for the Firefox Marketplace (mozilla/fireplace).
Commonplace is the place for reusable components for the Firefox Marketplace (mozilla/fireplace).
Use boxen
to install a node environment, or use homebrew
:
brew install node
And make sure that /usr/local/share/npm/bin
is in your $PATH
, à la:
export PATH=/usr/local/share/npm/bin:$PATH
Create a new repository for your project. In it, create a basic package.json
file. You can do this very easily by running npm init
.
Next, install commonplace by running npm install commonplace -g
. If you already have commonplace installed, update it with npm update -g commonplace
.
At this point, simply run commonplace install
. Running this command will create a src/
directory in your project containing the minimum files needed to run your code. Other directories will also be created for L10n and other functions.
The --gitignore
option is available for commonplace install
. It will copy a .gitignore
into your project. If one already exists, it will print a command to allow you to manually overwrite your current .gitignore
file.
To update your commonplace installation, simply run commonplace update --npm
from the root of your project. Commonplace will automatically update the global commonplace library to the latest version and update all of the shared modules.
commonplace lint
FAQs
Reusable components for Firefox Marketplace frontend projects.
We found that commonplace demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.