
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.
@netsells/storycap-default-background
Advanced tools
This module syncs up the background of your project with the backgrounds selected in your stories parameters when used with [@storybook/addon-background](https://www.npmjs.com/package/@storybook/addon-backgrounds).
This module syncs up the background of your project with the backgrounds selected in your stories parameters when used with @storybook/addon-background.
Follow the @storybook/addon-background guide for settings up available backgrounds in your stories. This decorator will simply set the background to the value set as default: true in your background options when the story is captured by storycap.
yarn add -D @netsells/storycap-default-background
Enable globally:
import withDefaultBackground from '@netsells/storycap-default-background';
export const decorators = [
withDefaultBackground,
];
Enable on a per story basis:
import withDefaultBackground from '@netsells/storycap-default-background';
import MyComponent from '../../../components/MyComponent';
// Enable for all stories in this file
export default {
decorators: [
withDefaultBackground,
],
};
export const myComponent = () => ({
// ...component
});
// Enable for single story
myComponent.decorators = [
withDefaultBackground,
];
FAQs
This module syncs up the background of your project with the backgrounds selected in your stories parameters when used with [@storybook/addon-background](https://www.npmjs.com/package/@storybook/addon-backgrounds).
The npm package @netsells/storycap-default-background receives a total of 144 weekly downloads. As such, @netsells/storycap-default-background popularity was classified as not popular.
We found that @netsells/storycap-default-background demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

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.