
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
This is a clone of the original livejournal gem. A few minor fixes and refactorings made. New functionality includes support for alternative servers compatible with LiveJournal API (e.g. Dreamwidth.org).
Add to your Gemfile
:
gem "livejournal2"
(Please note you can require livejournal
, or livejournal2
- both will work).
require 'livejournal'
dreamwidth = LiveJournal::Server.new("Dreamwidth", "https://www.dreamwidth.org")
user = LiveJournal::User.new('test', 'testkey', dreamwidth)
login = LiveJournal::Request::Login.new(user)
login.run
NOTE: For LiveJournal you use your actual password, but for Dreamwidth instead of password you need to provide an API key that can be generated here: https://www.dreamwidth.org/manage/emailpost
Original README below:
Copyright: Copyright (C) 2005 Evan Martin martine@danga.com
Website: http://neugierig.org/software/livejournal/ruby
Documentation: http://rubydoc.info/gems/livejournal/
Example usage: require 'livejournal/login'
puts "Logging in..."
user = LiveJournal::User.new('test', 'test')
login = LiveJournal::Request::Login.new(user)
login.run
puts "Login response:"
login.dumpresponse
puts "User's full name: #{user.fullname}"
FAQs
Unknown package
We found that livejournal2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.