
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.
@codejamninja/apollo-cache-redux
Advanced tools
apollo-cache-redux is a cache implementation backed by Redux for Apollo Client 2.0.
It heavily reuses cache normalization code from apollo-cache-inmemory.
Works with Redux 3.x and 4.x .
npm install @codejamninja/apollo-cache-redux --save
After installing the package:
import { ReduxCache, apolloReducer } from 'apollo-cache-redux';
import { createStore, combineReducers } from 'redux';
import { HttpLink } from 'apollo-link-http';
import ApolloClient from 'apollo-client';
const store = createStore(
combineReducers({
apollo: apolloReducer
...otherReducers
})
);
const cache = new ReduxCache({ store });
const client = new ApolloClient({
link: new HttpLink(),
cache
});
The following options are accepted for ReduxCache:
store. An existing Redux store. If you don't have one, please create it as per the example above.reduxRootSelector (optional). Customises the reducer name for the cache (default: apollo).InMemoryCache, to customise the underlying InMemoryCache (e.g. fragmentMatcher).Apart from the unit tests in this repo, this cache implementation was tested with the apollo-client and react-apollo end-to-end tests.
Until there's a better way to bring them to this repo, they will reside in their own branches of these projects:
FAQs
Redux cache for Apollo Client 2.x
The npm package @codejamninja/apollo-cache-redux receives a total of 1 weekly downloads. As such, @codejamninja/apollo-cache-redux popularity was classified as not popular.
We found that @codejamninja/apollo-cache-redux 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.