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.
mlangenberg-merb_xmpp
Advanced tools
h1. Merb_XMPP
A plugin for the Merb framework that allows you to send XMPP/Jabber notifications from Merb applications. If you quickly want to notify a user (if his cheeseburger is ready), this is the plugin you need! It doesn't seperate composition and sending into micro MVC yet (like merb-mailer does), but that's on my TODO list (just like merging with merb-mailer).
h2. Installation
(sudo) gem install mlangenberg-merb_xmpp
h2. Configuration
Add a 'merb_xmpp' dependency in init.rb and add set the configuration like so.
Merb::Xmpp.config = {
:user => 'user@jabber.org',
:password => 'some-secrect-password',
:persistent => true, #this is optional if you don't want the jabber client to disconnect after delivery
:test_send => true #also optional, will add messages to Merb::Xmpp.deliveries array instead of sending.
}
h2. Usage
Sending a jabber message to a user is really easy:
message = Merb::Xmpp.new(:to => 'another_user@jabber.org', :body => 'cheezburger ready!')
message.deliver
You can also specify multiple receipients.
message = Merb::Xmpp.new(:to => ['user_one@jabber.org', 'user_two@jabber.org'], :body => 'cheezburger ready!')
message.deliver
FAQs
Unknown package
We found that mlangenberg-merb_xmpp 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.