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.
This gem uses mechanize to scrape content from shelfari.com and simulate an API, because currently there is no official one. Given the nature of obtaining the data, things might break often, so use at your own risk.
book_by_id(id) #returns information about a book based on id
book_by_isbn(isbn) #returns information about a book based on isbn
user(username) #returns user details
now_reading(username) #returns the books the user is currently reading
gem install shelfari
require 'shelfari'
library = Shelfari.new
Get info about a book
myBook = library.book(5831441)
This returns the following JSON
{
"bookid": "5831441",
"editionid": "7405802",
"title": "The Girl Who Kicked the Hornet's Nest",
"author": "Stieg Larsson",
"cover": "http://ecx.images-amazon.com/images/I/41BHhplwx0L._SL236.jpg",
"url": "http://www.shelfari.com/books/5831441/The-Girl-Who-Kicked-the-Hornets-Nest"
}
This library is distributed under the MIT license. Please see the LICENSE file.
FAQs
Unknown package
We found that shelfari 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.