
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
Reloader, watches files for changes, reloads webpages in response
<script src="/rldr"></script>
To use add this to your html someplace
Then in your express server add rldr to the app
const path = require("path")
const pathsToWatch = [path.join(__pathname, "../src")]
require("rldr")(app, pathsToWatch)
const path = require("path")
reloadDirs = [path.join(__pathname, "../src")]
function addRldr(app) {
const rldr = require("rldr")(app)
const watch = require("watch")
reloadDirs.forEach(dir => {
watch.watchTree(dir, {interval: .2}, function (f, curr, prev) {
console.log("Server Change Detected, reloading client")
// Fire server-side reload event
rldr.reload();
});
})
}
this had been moved to a separate module named rldr-cli
rldr-cli
If rldr is used in addition to another webserver, you may need to set
the RLDR_ORIGIN. So if you are loading rldr as
http://localhost:8045
you can preset the variable with an inline script tag
<script>var RLDR_ORIGIN="http://localhost:8045"</script>
<script src="http://localhost:8045/rldr"></script>
or by settings RLDR_ORIGIN in localStorage
you will also probaby need to call the rldr-cli with --alow-origin http://localhost:YOUR_OTHER_PORT
it uses express-longpoll to send reload events back to the client
why not websockets? simplicity. longpoll just works in more environments.
FAQs
reloads a webpage on changes
The npm package rldr receives a total of 3 weekly downloads. As such, rldr popularity was classified as not popular.
We found that rldr 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.