
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
pepipost-sdk-nodejs
Advanced tools
This SDK was semi-automatically generated by APIMATIC v2.0. Thanks to APIMATIC
npm install pepipost-sdk-nodejs
create a file example.js and put the below code
example.js
var PepipostSDK = require('pepipost-sdk-nodejs');
var Email = PepipostSDK.EmailController;
var data = {
"api_key": "yoursecretapikey",
"email_details": {
"fromname": "yourfromname",
"subject": "this is test email subject",
"from": "from@example.com",
"content": "<p> hi, this is a test email sent via Pepipost JSON API.</p>"
},
"recipients": [
"recipient@example.com"
]
};
Email.send(data,callback_mail_sent);
function callback_mail_sent(err_msg,parsed,context){
if(parsed.errorcode==0){
console.log("mail sent successfully.\n");
}
else{
console.log("Email sent Failed.\n");
console.log("errormessage("+parsed.errormessage+")\n");
console.log("errorcode("+parsed.errorcode+")\n");
}
}
Change the "yoursecretkey" with your API key and example.com with your approved domain name. To get your api key you need to signup/register on Pepipost
nodejs example.js
FAQs
Pepipost SDK for NodeJS
The npm package pepipost-sdk-nodejs receives a total of 4,700 weekly downloads. As such, pepipost-sdk-nodejs popularity was classified as popular.
We found that pepipost-sdk-nodejs 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.