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.
Rails view helpers for easy integration with the SettleBox API.
Add this line to your Gemfile:
gem 'settlebox'
The run:
$ bundle install
When you signup for SettleBox you will recieve an API_KEY and an API_SECRET. Put these in an initializer for your application.
#config/initializers/settlebox.rb
require 'settlebox'
Settlebox.config do |config|
config.api_key = "API_KEY"
config.api_secret = "API_SECRET"
config.lang = :en # This optional currently :en and :sv are supported, :en is default
end
After this you are ready to go.
The gem comes with a couple of helpers that helps you include the SettleBox widget. For a more fancy description of the API with interactive guides see SettleBox homepage.
Include the javascript tag on any page that you want to make use of the SettleBox profile.
= settlebox_include_tag
Include this on the users settings profile page.
= settlebox_card_tag('demo_full@settlebox.com')
Include this where you have more space and want to show the complete SettleBox profile of the user.
= settlebox_reputation_tag('demo_full@settlebox.com')
This is the SettleBox cube which has an hoovering effect. Use this where you have alot of items in a list.
# href tells SettleBox where to go if the cube is clicked
= settlebox_listing_tag('demo_full@settlebox.com', href="https://settlebox.com)
To easily try out the SettleBox gem and API. There exists a demo user. The demo user has the following email address
# Replace the * depending on how much information you want the profile to show
demo_*@settlebox.com
# Examples
# Will show a profile of a user that has connected everything there is to connect.
demo_full@settlebox.com
# Will show a user that only has connected facebook
demo_fb@settlebox.com
# Will show a user with an avatar, ebay and twitter
demo_av_eb_tw@settlebox.com
Supported options for the demo user are.
For more information about SettleBox please refer to our homepage SettleBox homepage.
FAQs
Unknown package
We found that settlebox 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.