
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
cantina-web
Advanced tools
A stack of cantina plugins that sets up a ready-to-go web application.
Cantina Version: 4.x
Inspired by Motley.
Just load the cantina-web
plugin into your cantina
application, invoke
the 'web' loader, and you'll have a simple, but full web stack at your disposal.
var app = require('cantina').createApp();
app.boot(function (err) {
// Handle err.
if (err) throw err;
// Load cantina-web.
app.require('cantina-web');
// Load the 'web' stack.
app.load('web');
// Or, if you prefer, load the parts separately...
// app.load('plugins');
// app.load('views');
// app.load('static', {dir: 'public'});
// app.load('middleware');
// app.load('controllers');
// Start the app.
app.start();
});
By default, the web
loader expects your appliation root to be structured like:
├─┬ controllers/
├─┬ etc/
│ └── conf.yaml
├─┬ middleware/
├── plugins/
├─┬ public/
├─┬ views/
│ ├── index.hbs
│ ├── layout.hbs
│ └── status-404.hbs
├── server.js
└── package.json
See the example app for a more customized example.
Terra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.
FAQs
A stack of cantina plugins that sets up a ready-to-go web application.
We found that cantina-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.