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.
venn-messaging
Advanced tools
Venn Messaging Redundancy Package, including Push Notifications, Email and SMS
Build in a redundant messaging service seamlessly. If your email, sms or push notification provider goes down, we'll fall back to a secondary service.
npm install venn-messaging
params | type | description | example |
---|---|---|---|
api_key | String | Venn API Key | 64d2fa24h3f6f7cc61asp3e8 |
params | type | description | example |
---|---|---|---|
data.from | String | from email address | from@email.com |
data.to | String | to email address | to@email.com |
data.subject | String | email subject | Subject 123 |
data.message | String | email message | How you doin? |
vennEmail = require("venn-messaging").Email;
// initialize and send an email
vennEmail.initialize(VENN_API_KEY);
var data = {
from: "from@email.com",
to: "to@email.com",
subject: "Subject 123",
message: "How you doin?"
};
vennEmail.send(data, function(err, result){
// email successfully sent if no error
});
params | type | description | example |
---|---|---|---|
api_key | String | Venn API Key | 64d2fa24h3f6f7cc61asp3e8 |
params | type | description | example |
---|---|---|---|
data.from | String | from phone number | +14354402246 |
data.to | String | to phone number | +1633050227 |
data.message | String | text message | How you doin? |
vennSms = require("venn-messaging").SMS;
// initialize and send an SMS
vennSms.initialize(VENN_API_KEY);
var data = {
from: "+14356650499",
to: "+14503350029",
message: "How you doin?"
};
vennSms.send(data, function (err, result) {
// text successfully sent if no error
});
params | type | description | example |
---|---|---|---|
api_key | String | Venn API Key | 64d2fa24h3f6f7cc61asp3e8 |
params | type | description | example |
---|---|---|---|
data.deviceToken | String | id of target device | FE66489F304DC75B8D6E8200DFF8 |
data.deviceType | String | type of target device | ios |
data.message | String | notification message | How you doin? |
vennPush = require("venn-messaging").Push;
// initialize and send a push notification
vennPush.initialize(VENN_API_KEY);
var data = {
deviceToken: "FE66489F304DC75B8D6E8200DFF8",
deviceType: "ios",
message: "How you doin?"
};
vennPush.send(data, function (err, result) {
// push notification successfully sent if no error
});
npm install
VENN_API_KEY="h41fa6602663b30c78b9c339"
VENN_API_URL="http://localhost:3400/v1"
node examples/example.js
VENN_API_KEY=5f6abf85d1947ce29ce7332f
VENN_API_URL=http://localhost:3400/v1
DEBUG="venn"
node examples/example.js
mocha
test/service_type/service_name/error.js
test/template/test_service_template.js
into this new filelib/models/providers/service_type/service_name.js
lib/models/providers/template/service_template.js
into this new filelib/models/messaging_client.js
var ServiceName = require('./providers/service_type/service_name');
initServices
else if (property === "service_name" && keys[property]) {
messagingProvider = new ServiceName(keys[property]);
}
FAQs
Venn Messaging Redundancy Package, including Push Notifications, Email and SMS
The npm package venn-messaging receives a total of 1 weekly downloads. As such, venn-messaging popularity was classified as not popular.
We found that venn-messaging 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.