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
Reusable components for Firefox Marketplace frontend projects.
Components are stored in the dist
directory. There are currently several
folders in dist
that group the components:
contrib
: JS modules that aren't necessary, but can be useful for some
projects.contrib-css
: CSS components that aren't the part of the base styles,
but are possibly shared between some projects.core
: necessary JS modules that power all of our projects, the Commonplace framework.core-css
: base CSS components that ship with every project for visual consistency.core-templates
: reusable templates that every project usescontrib-templates
: reusable templates that some projects useWhen adding an integral component that should be distributed to all Commonplace
projects, first add the files to dist/core
. Then we add the name of the
core module to CORE_MODULES
in lib/config.js
. This will make it
so Commonplace projects won't have to manually configure them into their
RequireJS configurations.
When you add or update a component, you presumably want projects to be able to consume that component. We use Bower to manage our components.
bower.json
.Then your projects should be able grab the new or updated component from Bower.
For Commonplace projects, you can run make update
to get these components
into your project and into your RequireJS development configuration.
Clone the Marketplace template.
Run make init
. This will download dependencies from Commonplace via Bower
and set up a couple of configurations.
You can check out the Wiki, which has plenty of documentation about the project and the Commonplace framework.
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.