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.
= wiscale
Ruby Wrapper for Withings Wifi Scale API
== INSTALL: sudo gem install wiscale
== SYNOPSIS:
Setup: require 'wiscale' client = WiScale.new(:userid => 123, :publickey => 'asdlkfja')
Get all measurements without any filters: measurements = client.get_meas
Get only the last measurement: measurements = client.get_meas(:limit => 1)
Get the last measurement as weight in lbs and %fat: measurements[0].each do |rec| type = rec['type'].to_i value = (rec['value'].to_i * (10 ** rec['unit'])).to_f
if type == 6
puts "Fat %: " + value.round(2)
elsif type == 1
puts "Weight " + (value * 2.20462262).round(2) + " lb"
end
end
Subscribe a URL to push notification: client.notify_subscribe('http://www.mytestingurl.com', 'this is a test')
Get the notification you just created: client.notify_get('http://www.mytestingurl.com')
Revoke the notification: client.notify_revoke('http://www.mytestingurl.com')
Get all user information: client.get_by_userid
Get a list of users for a logon: WiScale.get_users_list('myemail@address.com', 'mywithingspassword')
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 Jon Gaudette. See LICENSE for details.
FAQs
Unknown package
We found that wiscale 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.