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.
Logs statistics for specific commits in CSV form and optionally sends them as JSON to a web api.
A Python package that logs the details of a specific set of events made to a GitHub repository. Logs are saved into a CSV
file and can optionally be sent in a request to a web app, such as a Google Apps Script attached to a Google Sheet where the data can be stored.
This package is designed to be used in a GitHub Actions workflow, where the workflow is triggered by a push or pull request to the repository. Details of the commits included in the push will then be logged.
A sample GitHub Actions workflow is included in .github/workflows/
event-logger.yml
. This example stores the logs into a Google Sheet by first posting them as JSON
data to a web app attached to the Google Sheet. The URL of the web app is presumed be stored in a GitHub Actions Secret named COMMIT_LOG_API
.
In order to save the logs into a Google Sheet, the following steps are required:
Extensions
->Apps Scripts
menu option in Google Sheets.apps-script-example
/code.js
into the Apps Script editor and save. This sets up the script as a web app so it can respond to GET
or POST
requests.Deploy
->New Deployment
in the Apps Scripts editor. Note the web app URL that is generated once deployed.COMMIT_LOG_API
.gitcommitlogger
command in the example GitHub Action will send a POST
request to the Google Sheet web app whenever a push or pull request is made on the repository.FAQs
Logs statistics for specific commits in CSV form and optionally sends them as JSON to a web api.
We found that gitcommitlogger demonstrated a healthy version release cadence and project activity because the last version was released less than 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.