
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
book-email is an email transport for the book logging framework. It will send the log message via email.
npm install book-email
book-email is used like all other book middleware. Just add it to your logger object. I recommend you create a file log.js for your project where you setup the logger however you desire across your entire project.
// some logger you have created
var log = require('book').default();
// adds the email logging middleware to the logger
log.use(require('book-email')({
from: 'noreply@example.com',
to: 'problems@example.com',
host: 'smtp.example.com',
port: 587,
// optional
tls: true,
user: 'foo',
password: 'bar'
});
// log stuffs, it will be emailed out
log.info('hello world!');
An email will be dispatched to the specified smtp server with the json log entry
FAQs
email transport for book logging framework
We found that book-email 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 researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.