Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Globe Connect for Ruby platform provides an implementation of Globe APIs e.g Authentication, Amax, Sms etc. that is easy to use and can be integrated in your existing Ruby application. Below shows some samples on how to use the API depending on the functionality that you need to integrate in your application.
require 'globe_connect'
authenticate = Authentication.new
url = authenticate.get_access_url('[APP ID]')
response = authenticate.get_access_token('[APP ID]', '[APP_SECRET]', '[CODE]')
puts response
require 'globe_connect'
amax = Amax.new('[APP ID]', '[APP SECRET]')
response = amax.send_reward_request('[ADDRESS]', '[PROMO NAME]', '[TOKEN]')
puts response
require 'globe_connect'
binary = Sms.new('[ACCESS TOKEN]', [SHORT CODE])
response = binary.send_binary_message('[ADDRESS]', '[MESSAGE]', '[USER DATA HEADER]')
puts response
require 'globe_connect'
location = LocationQuery.new('[ACCESS TOKEN]')
response = location.get_location('[ADDRESS]', [ACCURACY])
puts response
require 'globe_connect'
payment = Payment.new('[APP ID]', '[APP SECRET]', '[ACCESS TOKEN]')
response = payment.send_payment_request([AMOUNT], '[DESCRIPTION]', '[ADDRESS]', '[END USER ID]', '[TRANSACTION OPERATION STATUS]')
puts response
require 'globe_connect'
payment = Payment.new('[APP ID]', '[APP SECRET]')
response = payment.get_last_reference_code
puts response
require 'globe_connect'
sms = Sms.new('[ACCESS TOKEN]', [SHORT CODE])
response = sms.send_message('[ADDRESS]', '[MESSAGE]')
puts response
require 'globe_connect'
subscriber = Subscriber.new('[ACCESS TOKEN]')
response = subscriber.get_subscriber_balance('[ADDRESS]')
puts response
require 'globe_connect'
subscriber = Subscriber.new('[ACCESS TOKEN]')
response = subscriber.get_subscriber_reload_amount('[ADDRESS]')
require 'globe_connect'
ussd = Ussd.new('[ACCESS TOKEN]', [SHORT CODE])
response = ussd.send_ussd_request('[ADDRESS]', '[MESSAGE]', [FLASH])
puts response
require 'globe_connect'
ussd = Ussd.new('[ACCESS TOKEN]', [SHORT CODE])
response = ussd.reply_ussd_request('[ADDRESS]', '[MESSAGE]', '[SESSION ID]', [FLASH])
puts response
FAQs
Unknown package
We found that globe_connect 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.