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.
github.com/googlecloudplatform/storage-client-side-encryption-proxy
This tool uses Tink to perform client side encryption operations backed against Google Cloud KMS. It is both a client side encryption/decryption tool as well as a decrypting proxy for Google Cloud Storage.
This is not an officially supported Google product
tools
directory, and name them as follows. Note: you can change the names and location by altering the scriptes/variables.sh
file
tools/cert.pem
tools/key.pem
scripts/variables.sh
with your GCP information (i.e bucket name and key name)go build -o tinkproxy
This example uses the binary built named tinkproxy
as described in the previous step. The tool uses Tink backed by Google Cloud KMS to encrypt a data encryption key (DEK) per directory, which is then
uploaded to your GCS bucket. After the encrypted files are uploaded, a single file is then downlaod through the decrypting proxy, which decrypts using the appropriate KMS key.
./tinkproxy --help
source scripts/variables.sh
# be sure to edit the configuration to match your environment./scripts/uploadDirectory.sh samples
./scripts/getObject.sh
./scripts/cleanup.sh
Also, you can encrypt and decrypt individual files
./tinkproxy vanish samples/gettysburg.pdf -o demo.cipher
./tinkproxy reveal demo.cipher -o cleartext.pdf
Consider the following items when using for production.
FAQs
Unknown package
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.