
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
github.com/atb-as/cleos/functions/upload-gcs-object-sftp
This directory contains a Go package suitable for deployment to Google Cloud Functions
UploadGCSObjectToSFTP is designed to be triggered by Cloud Storage events of
type google.storage.objects.finalize
It retrieves the contents of the GCS Object and tries to store it on a remote SFTP endpoint.
Retries should be enabled when deploying to work around transient failures.
UploadGCSObjectToSFTP expects to find these environment variables:
SECRET_NAME
: The full path to the Cloud Secret that holds the SSH private
key to use when authenticating with the remote SFTP endpoint.
Example value: projects/my-project/secrets/my-secret/versions/latest
Creating a secret:
$ gcloud secrets create $SECRET_NAME --data-file=id_rsa
SSH_USERNAME
: The username of the SSH user to authenticate as.
SSH_HOST
: The address of the SFTP endpoint. Example value: 2.tcp.ngrok.io:18745
SFTP_DIR
: Absolute path to the directory on the remote SFTP endpoint to put the GCS Object in.
gcloud functions deploy $FUNCTION_NAME --region=europe-west1 --runtime=go113 ---trigger-resource $TRIGGER_BUCKET --trigger-event google.storage.object.finalize
$ gsutil cp somefile.txt gs://configured_bucket
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.