
Research
lightning PyPI Package Compromised in Supply Chain Attack
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.
recursive-watch
Advanced tools
Minimal recursive file watcher.
Uses the native recursive fs.watch option on macOS/Windows and basic recursive dir watching on Linux
npm install recursive-watch
var watch = require('recursive-watch')
watch('./a-file-or-directory', function (filename) {
console.log('something changed with', filename)
})
var unwatch = watch(path, onchange)Watch a directory or filename. Calls the onchange function if the path changed in anyway.
Call the unwatch function to stop watching the path.
MIT
FAQs
Minimal recursive file watcher
The npm package recursive-watch receives a total of 40,040 weekly downloads. As such, recursive-watch popularity was classified as popular.
We found that recursive-watch 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
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.