Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
yakischloba-em-mailer
Advanced tools
== em-mailer
Simple wrapper for EventMachine SMTP client, makes sending mail with EM easy! It uses tmail or tmail-pure for creating the mail messages. tmail-pure has no C and works on JRuby. Grab it here http://github.com/yakischloba/tmail-pure/tree/master
If you want, you can just pass your own TMail::Mail object to Mailer#send instead of using the Mailer#mail helper. This would be useful for fancy things like attachments.
== Synopsis
require 'rubygems' require 'eventmachine' require 'em-mailer'
mailer = EventMachine::Mailer.new( :domain => 'somedomain.com', :host => 'smtp.somemailserver.com', :username => 'spaceman', :password => 'afraidofasteroids', )
mailer.callback { $stdout.puts "Sent successfully!"} mailer.errback {|e| $stdout.puts "you blew it: #{e}"}
EM.run { mailer.mail( :to => "asteroid@largegalaxy.com", :from => "spaceman@spacestation.com", :subject => "zomg", :body => "
Please don't hit me!
", :html => true ) }== Other options
:port => Integer
:starttls => true/false
== Issues
The EM client only supports 'plain' auth for now.
FAQs
Unknown package
We found that yakischloba-em-mailer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.