
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
pomo-mailer
Advanced tools
{Mailer, Queue, Agent, Task} = require 'pomo-mailer'
mailer = new Mailer
server:
service: 'Postmark'
auth:
user: 'postmark-api-token'
pass: 'postmark-api-token'
from: 'Pomotodo <robot@pomotodo.com>'
mailer.sendMail 'action', 'jysperm@gmail.com',
title: 'Please confirm your email address'
link: 'https://pomotodo.com'
action: 'Confirm'
.then console.log
.catch console.error
queue = new Queue
mailer: mailer
mongodb: 'mongodb://localhost/pomo-mailer-test'
queue.pushMail
template: 'billing'
address: 'jysperm@gmail.com'
locals: generateBilling()
.then console.log
.catch console.error
agent = new Agent
queue: queue
users:
jysperm: 'pass'
app = express()
app.use bodyParser.json()
app.use agent.express()
task = new Task
name: 'weekly'
worker: worker
groupBy: -> moment().format 'YYYY-W'
nextGroup: -> moment().startOf('week').add(weeks: 1)
worker = (task) ->
return Q.Promise (resolve, reject, notify) ->
db.accounts.find
_id:
$gte: task.progress ? null
.sort
_id: 1
.then (accounts) ->
async.each accounts, ({_id, email, generateWeekly}) ->
notify _id
mailer.sendMail 'weekly', email, generateWeekly()
.then resolve, reject
action
alert
billing
Some useful templates converted from mailgun/transactional-email-templates.
Common fields:
title
{String}
detail
{String}
link
{String}
action
{String}
copyright
{String}
unsubscribe
{Object}
before
{String}link
{String}action
{String}after
{String}alert
fields:
alert
{String}billing
fields:
address
{Array} of {String}
products
{Array}
name
{String}price
{String}total
{Object}
name
{String}price
{String}v0.2.0
FAQs
Mail Renderer, Mail Queue, Task Manager
The npm package pomo-mailer receives a total of 0 weekly downloads. As such, pomo-mailer popularity was classified as not popular.
We found that pomo-mailer 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.