Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
An NPM module that displays Github Action progress in the terminal and aims to improve your development experience by printing status in realtime.
Hukum is an NPM module that displays Github Action (GA) progress in the terminal. It works for workflows that run when a commit is pushed to Github repo. Once a commit is pushed, Hukum will print status updates in realtime.
Hukum aims to improve your development experience with immediate feedback of the GA Workflow in your terminal.
npm install --global hukum
hukum
Hukum uses Github Actions API to get the related workflow to the recent git push and its status. It keeps on calling the APIs every 1 second to update the status on the terminal.
Below is a sample output for one of the workflows.
Add post - Setup Snapcraft in a Github Action Workflow
✔ deploy 16s
✔ Set up job 2s
✔ Run actions/checkout@v2 0s
✔ Install hugo 8s
✔ Install hugo theme 1s
✔ Build 0s
✔ Deploy 5s
✔ Post Run actions/checkout@v2 0s
✔ Complete job 0s
Hukum can work out of the box without any configuration. However, it provides a few configuration options. Include a .hukumrc
file in your home directory or the root of the project with the following contents or set the below environment variables.
{
"github": {
"token": "<token>"
}
}
// .hukumrc
{ "github": { "token": "<token>" } }
# environment variable
HUKUM_GITHUB_TOKEN=<token>
Hukum uses Github Actions API. It is possible to use these APIs without any authentication for public repositories. However, for unauthenticated requests, the rate limit allows for up to 60 requests per hour (Details at docs.github.com) which can exhaust quickly. Authenticated requests have higher limits, up to 5000 requests per hour.
You can follow these steps at docs.github.com to create a personal token. The token does not need to have any specific scope for public repositories. However, the token needs to have repo - Full control of private repositories
scope for private repositories.
Head over to the issues tab at github.com to report a bug or suggest an improvement. Feel free to contribute to the code or documentation by raising a pull request.
If you find the project interesting or helpful, please consider sponsoring or supporting it at github.com.
FAQs
An NPM module that displays Github Action progress in the terminal and aims to improve your development experience by printing status in realtime.
We found that hukum 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.