Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@abcnews/dev-proxy
Advanced tools
Provides the capability to override an `news-projects` script with a different script with settings defined in `localStorage`.
Provides the capability to override an news-projects
script with a different script with settings defined in localStorage
.
The script being overridden needs to import and use this library:
import { proxy } from '@abcnews/dev-proxy';
function init() {
// The code that kicks off your script goes here.
}
proxy('project-name').then(init);
To put the override into effect localStorage
needs to contain an entry with key proxy_<project-name>
that contains the URL of the script to override with.
The proxy
function returns a promise that will either:
.then(init)
part of the above implementation example), orFor the proxy
function to successfully identify a script to run instead a few criteria need to be met:
proxy
function should not have a NODE_ENV
of 'development' (this prevents infinite loops when this proxy
function is used on a dev server.localStorage
must contain an entry identifying a suitable replacement hosted on an ABC url (including localhost
aliases that include abc.net.au
).You can use this bookmarklet to help setup the config.
FAQs
Provides the capability to override an `news-projects` script with a different script with settings defined in `localStorage`.
The npm package @abcnews/dev-proxy receives a total of 2 weekly downloads. As such, @abcnews/dev-proxy popularity was classified as not popular.
We found that @abcnews/dev-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.