Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This is a pure-Ruby implementation of the OpenPGP Message Format (RFC 4880).
OpenPGP is the most widely-used e-mail encryption standard in the world. It is defined by the OpenPGP Working Group of the Internet Engineering Task Force (IETF) Proposed Standard RFC 4880. The OpenPGP standard was originally derived from PGP (Pretty Good Privacy), first created by Phil Zimmermann in 1991.
require 'rubygems'
require 'openpgp'
require 'open-uri'
text = open('http://openpgp.rubyforge.org/pgp.txt').read
msg = OpenPGP::Message.parse(OpenPGP.dearmor(text))
gpg = OpenPGP::Engine::GnuPG.new(:homedir => '~/.gnupg')
key_id = gpg.gen_key({
:key_type => 'DSA',
:key_length => 1024,
:subkey_type => 'ELG-E',
:subkey_length => 1024,
:name => 'J. Random Hacker',
:comment => nil,
:email => 'jhacker@example.org',
:passphrase => 'secret passphrase',
})
The recommended installation method is via RubyGems. To install the latest official release of OpenPGP.rb, do:
% [sudo] gem install openpgp # Ruby 1.8.7+ or 1.9.x
% [sudo] gem install backports openpgp # Ruby 1.8.1+
To get a local working copy of the development repository, do:
% git clone git://github.com/bendiken/openpgp.git
Alternatively, you can download the latest development version as a tarball as follows:
% wget http://github.com/bendiken/openpgp/tarball/master
.gemspec
or VERSION
files. If you need to change them,
do so on your private branch only.CONTRIBUTORS
file and the
corresponding list in the the README
. Alphabetical order applies.AUTHORS
file. If your contributions are significant
enough, be assured we will eventually add you in there.OpenPGP.rb is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.
FAQs
Unknown package
We found that openpgp 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.