
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.
param-store
Advanced tools
param-store manage the url. What's special about it is it treats url as independent params which can be set and get.
import ParamStore from 'param-store'
// path is a special param in the sense that it is the path in the url
// instead of in the query part.
// Otherwise it is the same as other query params.
// SETTER
// `set` MERGE the new params with the previous params in the url
ParamStore.set({path: 'login'}) // change path
ParamStore.set({userId: 'f38adfn'}) // change userId
ParamStore.set({path: 'user', userId: 'f38adfn'}) // change path and userId
// `setAll` RESETS the whole url and ignore the previous url
Paramstore.setAll({path: 'login'}) // overwrite current params
// Options:
// options apply to set and setAll as the second argument
// replaceState: replace instead of push to history stack
// e.g.
ParamStore.set({ path: 'login' }, {replaceState: true})
// GETTER
ParamStore.get('path') // get 'path' from params
ParamStore.getAll() // get whole params object
// LISTENNER
const listener = ParamStore.listen('path', 'tab', function(report){
const {changedParams, currentParams, previousParams} = report
})
ParamStore.unlisten(listener)
import {connect} from 'param-store'
connect(Login, 'path', 'tab’) // path and tab will be passed as props
// Link use `setAll` under the hood
import {Link} from 'param-store'
<Link type='button' params={{path: 'about'}}>this is an anchor tag</Link>
test
npm run browser
build: NOTE: before buiding, remove node_modules/history
FAQs
param store for react
The npm package param-store receives a total of 4 weekly downloads. As such, param-store popularity was classified as not popular.
We found that param-store 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.