Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cli

> 编程语言
Open source

JavaScript security CLI that allow you to deeply analyze the dependency tree of a given package or local Node.js project.

47.0K stars0 likes2 views
WebsiteGitHub

About

JavaScript security CLI that allow you to deeply analyze the dependency tree of a given package or local Node.js project.

A Node.js tool that performs a static and deep analysis of a package's dependency tree: AST-based scanning for malicious or unsafe patterns, npm registry metadata, license conformance, vulnerability aggregation (GitHub Advisory, Sonatype, Snyk) and OpenSSF Scorecard, all rendered through an interactive dependency graph.

💃 Getting Started

bash
$ npm install @nodesecure/cli -g
$ nsecure auto express

This repository is a monorepo. The @nodesecure/cli package, along with its full feature list, command documentation, configuration and FAQ, lives in the workspaces/cli workspace — head there for everything about installing and using the CLI.

📦 Workspaces

name package and link
cli @nodesecure/cli
documentation-ui @nodesecure/documentation-ui
vis-network @nodesecure/vis-network
size-satisfies @nodesecure/size-satisfies
server @nodesecure/server
cache @nodesecure/cache

These packages are available in the Node Package Repository and can be easily installed with npm or yarn, for example:

bash
$ npm i @nodesecure/documentation-ui
# or
$ yarn add @nodesecure/documentation-ui

🙏 Contributing

If you are a developer looking to contribute to the project, please first read our CONTRIBUTING guide (Code of Conduct, first-contributor guide, Developer's Certificate of Origin, Discord).

Local Setup

bash
$ git clone https://github.com/NodeSecure/cli.git
$ cd cli

$ npm install
# bundle/compile front-end assets for every workspace
$ npm run build

[!IMPORTANT] Restart npm run build when modifying files under a workspace's public/front-end assets folder.

Once you have finished your development, check that the tests (and linter) are still good by running the following script:

bash
$ npm test

[!CAUTION] If you add a feature, try adding tests for it along.

Publishing package and SLSA

The @nodesecure/cli package is published on NPM with provenance, ensuring that this project is compliant with SLSA Level 3 standards. The build and publication process is managed through the GitHub npm-provenance.yml workflow, which is automatically triggered upon the creation of a new release.

To create a local version of the package using npm and Git, follow these commands:

bash
$ npm version [patch | minor | major]
$ git commit -am "chore: x.x.x"
$ git push origin master --tags

These commands will increment the package version, commit the changes, and push them along with the tags to the repository.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Haze

💻 🎨

fraxken

💻 🐛 📝 ⚠️ 📖 🎨

Xavier Stouder

💻 🎨 📖

Tony Gorez

💻 📖 👀

abdellah-housni

🐛

Vincent Dhennin

💻 🐛

halcin

💻

Ange TEKEU

💻

PierreDemailly

💻

Inès & Mélusine LUJAN-ALVAREZ

💻

Yefis

💻

Kouadio Fabrice Nguessan

🚧

Kishore

💻

FredGuiou

💻

ZakariaEttani

💻

Foucart Julien

📖

Dafyh

⚠️

Clement Gombauld

💻

Mark MALAJ

🐛

Younes Iddahamou Idrissi

💻

zeearth

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

Issues· 12 open

View all issuesOpen on GitHub
  • #697

    Split UI and CLI into their own workspaces

    Updated Jul 10, 2026
  • #733

    Components Highlighting (maintainers, packages and infrastructure)

    help wantedInterfaceCLIUpdated Apr 7, 2026
  • #510

    Roadmap Online Version

    enhancementhelp wantedNext MajorUpdated Apr 3, 2026
  • #549

    Lit.js migration roadmap

    help wantedUpdated Apr 1, 2026
  • #675

    References in private libraries

    Updated Mar 24, 2026
  • #656

    How to add x-ray-ai to CLI ?

    Updated Jan 31, 2026

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedNov 14, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言