
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.
components-dependency-graph
Advanced tools
A script for creating a graph of relationships between components in React.js / React Native applications.
A script for creating a graph of relationships between components in React.js / React Native applications.
File mode
npx components-dependency-graph -f /path/to/component.tsx
Directory mode
npx components-dependency-graph -d /path/to/directory
--config <path> – Allow to use config in different location (details about config below).
--generate_diagram <path> – Generates diagram in SVG format based on GraphViz.
Just create in base location file called cdg.config.json:
{
"excludeDirectoriesWithNameContains": [
// ...
],
"excludeFilesContains": [
/// ...
],
"rootPath": "",
"generateGraphWithFilesPaths": true,
"pathAliases": {
"@assets": "./src/assets/"
}
}
| Property | Type | Description |
|---|---|---|
| excludeDirectoriesWithNameContains | Array | If catalog path contains one of string from this list will be ignored. |
| excludeFilesContains | Array | If filename contains one of string from this list will be ignored. |
| rootPath | string | Specify the path of the main project root. |
| generateGraphWithFilesPaths | boolean | Specify if graph nodes should have path added to name. |
| pathAliases | Record<string, string> | Dictionary to replaces paths based on Babel configuration |
components-dependency-graph-vscode
MIT
FAQs
A script for creating a graph of relationships between components in React.js / React Native applications.
We found that components-dependency-graph 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.