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.
Cross-platform, native, desktop notification service for notifying when personal GitHub dashboard feed gets updated with new activity
:octocat::bell: Cross-platform, native, desktop notification service for notifying when personal GitHub dashboard feed gets updated with new activity
github-feed-notifier (GFN) is a small NodeJS program that produces desktop notifications when your GitHub dashboard feed is updated with a new item. The program uses node-notifier, which allows for cross-OS support (Linux, macOS and Windows).
There are quite a few "feed notifiers" for GitHub, but most of them lack something that I want:
Install GFN globally:
$ npm install -g gfn
and configure:
$ gfn config
Once properly configured, GFN can be run as a foreground process in your terminal: $ gfn
or $ github-feed-notifier
The main requirement for configuration is your personal GitHub feed URL. You can obtain it by following these steps:
gfn config
and paste this linkThough GFN can be run directly as shown above, it is meant to be run as a background process on your computer to prevent using an extra terminal session.
To start GFN as a background process, use forever, a simple CLI tool that allows a script to run forever, in the background.
To get started, install 'forever' globally:
$ npm install -g forever
Once installed, start forever:
$ forever start `npm root -g`/gfn
This is where it gets different for different platforms, OS's and builds. I recommend looking it up for your own platform.
One possible, cross-platform solution is to use pm2 instead of 'forever' to run the command forever, as pm2 lets you keep your process alive after every restart using startup hooks. But for a small project like this, pm2 might be overkill.
To get started, answers to questions on StackExchange worked for me, for Linux and macOS.
Copyright (c) Mihir Chaturvedi. All rights reserved.
Licensed under the MIT License.
FAQs
Cross-platform, native, desktop notification service for notifying when personal GitHub dashboard feed gets updated with new activity
The npm package gfn receives a total of 3 weekly downloads. As such, gfn popularity was classified as not popular.
We found that gfn 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.