Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
northwatcher
Advanced tools
NorthWatcher is cron for filesystem changes.
Each line in your watch file specifies a directory to watch and a command to run when changes occur in that directory. You may optionally specify the kind of changes that will trigger the command.
Lines that begin with # are comments. No trailing comments.
The watch file resides at ~/.northwatcher
and looks like this:
# triggers when files are created or removed in /etc
/etc notify-the-admin.sh
# triggerz when you save pikcherz of teh kittehz
+ Pictures rbx post-to-twitter.rb
# triggers when files are removed from the ~/todo directory
- todo update-remote-todo-list.sh
So each line has an optional trigger followed by a directory and then a command. The triggers are:
+
: files are created-
: files are removedYou can use one or both of these, if you omit the trigger then both creations and removals are monitored.
No frills.
No spaces in filenames.
If you actually want to watch /etc
it seems like you need root privs. I don't need this behaviour so I'm not likely to fix it.
Node nerd? It's just an npm i --global northwatcher
away. Otherwise you'll need to install node and npm and then run the aforementioned command.
Copyright 2011 Sami Samhuri
MIT License
FAQs
NorthWatcher is cron for filesystem changes.
The npm package northwatcher receives a total of 0 weekly downloads. As such, northwatcher popularity was classified as not popular.
We found that northwatcher 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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.