
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
A Ruby client for interacting with the GetTestMail API, which provides a simple way to create temporary email addresses and receive messages sent to them.
Add this line to your application's Gemfile:
gem 'gettestmail'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install gettestmail
To create a new GetTestMail API client, you need to instantiate the GetTestMailClient class with your API key. To get an API key, sign up for a free account.
require 'gettestmailclient'
api_key = 'your-api-key'
client = GetTestMailClient.new(api_key)
To create a new GetTestMail instance, call the create_new method on the client:
get_test_mail = client.create_new
puts "Email address: #{get_test_mail.email_address}"
puts "Expires at: #{get_test_mail.expires_at}"
To wait for a message, call the wait_for_message method with the email address:
message = client.wait_for_message(get_test_mail.id)
puts "Message from: #{message.from}"
puts "Message subject: #{message.subject}"
puts "Message: #{message}"
The GetTestMail model represents a disposable email address. It has the following attributes:
The Message received by the email address. It has the following attributes:
The Attachment received by the email address. It has the following attributes:
If the API returns an error, the client will raise an ApiError exception with a ProblemDTO object containing error details.
License
This gem is available as open-source under the terms of the MIT License.
FAQs
Unknown package
We found that gettestmail 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.