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.
Bonanza provides some nice helpers and enhancements for nine.ch Rails apps.
For real cowboys only!
Add this line to your application's Gemfile:
gem 'bonanza'
And then execute:
$ bundle
There is a basic little helper to get an application's url. To use the urn specific link helpers, the infrastructure-client dependency is required.
nine_app_url(:redmine, :issue, '123')
=> "https://redmine.nine.ch/issues/123"
There are two link helpers for the nine ticket systems. One for customer profiles and one for tickets.
Link to a customer profile:
<%= link_to_otrs_customer 'OTRS Customer Profile', 5247, class: 'blue' %>
Link to an otrs ticket:
<%= link_to_otrs_ticket 'OTRS Ticket', '2014110610000325' %>
Link to customer data in Billing:
<%= link_to_billing 'Billing', 5247, class: 'blue' %>
Link to customer data in the Mighty Stats:
<%= link_to_stats 'Stats', 5247, class: 'black' %>
Link to a redmine issue:
<%= link_to_redmine 'Redmine', 123 %>
Link to a migration item:
<%= link_to_migration_item 'Migration', 123 %>
Link to a resource represented by a URN:
<%= link_to_urn 'VServer', 'urn:nine:vserver:1279' %>
Bonanza can validate OTRS Ticket numbers. But don't fear! It just checks for a 16-character number.
class Order < ActiveRecord::Base
include Bonanza::Validators
validates :otrs_ticket, otrs_number: true
end
Bonanza can validate nine urns, like 'urn:nine:vserver:1234'. To use this validator, the infrastructure-client dependency is required.
class Order < ActiveRecord::Base
include Bonanza::Validators
validates :urn, urn: true
end
FAQs
Unknown package
We found that bonanza 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.