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.
A simple API wrapper for AniList's GraphQL APIv2
This is a small side project for a practical introduction to both Ruby and GraphQL, so its not perfect
Also learned some of the basics of Rubocop, Rspec, Rake, Ruby metaprogramming, and publishing a ruby gem
gem Anilistrb
bundle
gem install Anilistrb
gem update Anilistrb
require 'Anilistrb/Client'
client = Anilistrb::Client.new
anime = client.search_anime('Konosuba')
puts anime
# [ANIME] 21202 - {
# "romaji"=>"Kono Subarashii Sekai ni Shukufuku wo!",
# "english"=>"KONOSUBA -God's blessing on this wonderful world!",
# "native"=>"この素晴らしい世界に祝福を!" }
p anime.attributes # ["id", "title", "type", "format", "status", "description", "start_date", "end_date", "season", ... ]
puts anime.data # Raw request data as a hash
user = client.search_user('barrettotte')
puts user # [USER] 247578 - barrettotte
list = client.get_animelist(247578)
puts list
# ANIME list for [USER] 247578 - barrettotte
# Completed: 244 item(s)
# Current: 9 item(s)
# Dropped: 1 item(s)
# Paused: 0 item(s)
# Planning: 284 item(s)
# Repeating: 0 item(s)
bundle install
to install dependenciesrake spec
run testsbundle exec rake install
install locallygem build Anilistrb.gemspec
gem push Anilistrb-x.x.x.gem
FAQs
Unknown package
We found that Anilistrb 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.