
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.
npm install --save keyframe
or
yarn add keyframe
Pass an object witch every key is the keyframe from 0 to 100.
Each keyframe is a function that will be called during the keyframe interval. Each passed function is cached and runs only once when the value is the same.
And will return a function to run through the keyframes progress.
const run = keyframe({
50: (d) => update(d),
100: (d) => update(d),
});
run(0); // 0
run(0.25); // 0.5
run(0.5); // 1
run(0.75); // 0.5
run(1); // 1
import keyframe from 'keyframe';
...
const moveTo = (x, y) => {
div.style.transform = `translate(${x}px, ${y}px)`;
};
// From (0% -> 50%) move the div left 150px
// then from (50% -> 100%) move the div up 50px.
const onSliderUpdate = keyframe({
// d is the duration between 0% -> 50%.
50: d => moveTo(d * 150, 0),
// d is the duration between 50% -> 100%.
100: d => moveTo(150, d * -50),
});
// Return range between 0 and 1.
DOMslider.addEventListener('input', () => onSliderUpdate(slider.value / 100), true);
Check the examples/ folder to see full examples.
Or check out the DEMO page
yarn install
yarn run dev
yarn test
FAQs
A simple keyframe utility for custom animation
We found that keyframe 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.