An open API service indexing awesome lists of open source software.

https://github.com/nodesecure/scanner

⚡️ A package API to run a static analysis of your module's dependencies. This is the CLI engine!
https://github.com/nodesecure/scanner

audit nodejs nodesecure sast scanner security

Last synced: 6 days ago
JSON representation

⚡️ A package API to run a static analysis of your module's dependencies. This is the CLI engine!

Awesome Lists containing this project

README

          


# Nodesecure Scanner



version


maintained


OpenSSF Scorecard


mit


build

⚡️ Run a static analysis of your module's dependencies.

## 💡 Features

Scanner builds on [JS-X-Ray](https://github.com/NodeSecure/js-x-ray) (SAST) and [Vulnera](https://github.com/NodeSecure/vulnera) (CVE detection), and adds additional detections such as:

- Detects:
- [Manifest confusion](https://blog.vlt.sh/blog/the-massive-hole-in-the-npm-ecosystem)
- [Dependency confusion](https://www.landh.tech/blog/20250610-netflix-vulnerability-dependency-confusion/)
- Typosquatting of popular package names
- Install scripts (e.g. `install`, `preinstall`, `postinstall`, `preuninstall`, `postuninstall`)
- Highlights packages by name, version(s), or maintainer
- Highlights infrastructure components such as ip, hostname, email, url
- Supports NPM and Yarn lockfiles

## 💃 Getting Started

```bash
$ npm i @nodesecure/scanner
# or
$ yarn add @nodesecure/scanner
```

For full API documentation, options, and usage examples, see the [@nodesecure/scanner package README](./workspaces/scanner/README.md).

## Workspaces

- [@nodesecure/scanner](./workspaces/scanner)
- [@nodesecure/tarball](./workspaces/tarball)
- [@nodesecure/tree-walker](./workspaces/tree-walker)
- [@nodesecure/flags](./workspaces/flags)
- [@nodesecure/mama](./workspaces/mama)
- [@nodesecure/contact](./workspaces/contact)
- [@nodesecure/conformance](./workspaces/conformance)
- [@nodesecure/npm-types](./workspaces/npm-types)
- [@nodesecure/i18n](./workspaces/i18n)
- [@nodesecure/rc](./workspaces/rc)
- [@nodesecure/utils](./workspaces/utils)
- [@nodesecure/fs-walk](./workspaces/fs-walk)
- [@nodesecure/github](./workspaces/github)
- [@nodesecure/gitlab](./workspaces/gitlab)

## 🐥 Contributors guide

If you are a developer **looking to contribute** to the project, you must first read the [CONTRIBUTING](./CONTRIBUTING.md) guide.

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

```bash
$ npm run check
```

> [!CAUTION]
> In case you introduce a new feature or fix a bug, make sure to include tests for it as well.

## Contributors ✨

[![All Contributors](https://img.shields.io/badge/all_contributors-31-orange.svg?style=flat-square)](#contributors-)

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Gentilhomme
Gentilhomme

💻 📖 👀 🛡️ 🐛
Tony Gorez
Tony Gorez

💻 📖 👀 🐛
Haze
Haze

💻
Maksim Balabash
Maksim Balabash

💻 🐛
Antoine Coulon
Antoine Coulon

💻 🐛 👀 🚧 🛡️
Nicolas Hallaert
Nicolas Hallaert

💻
Yefis
Yefis

💻


Franck Hallaert
Franck Hallaert

💻
Ange TEKEU
Ange TEKEU

💻
Vincent Dhennin
Vincent Dhennin

💻 📖 👀 🐛
Kouadio Fabrice Nguessan
Kouadio Fabrice Nguessan

🚧
PierreDemailly
PierreDemailly

💻 👀 🐛 ⚠️
Kishore
Kishore

💻 📖
Clement Gombauld
Clement Gombauld

💻


Ajāy
Ajāy

💻 📖
Nicolas Hallaert
Nicolas Hallaert

📖
Maxime
Maxime

⚠️
Ange TEKEU
Ange TEKEU

💻
Alexandre Malaj
Alexandre Malaj

💻 📖 🌍
FredGuiou
FredGuiou

🚧
Christian Lisangola
Christian Lisangola

⚠️


Quentin Lepateley
Quentin Lepateley

📖
Antoine Neff
Antoine Neff

🌍
Kévin VOYER
Kévin VOYER

🌍
Mathieu
Mathieu

💻 🌍
im_codebreaker
im_codebreaker

💻 📖 🎨
Ayushmaan Shrotriya
Ayushmaan Shrotriya

📖
Inès & Mélu
Inès & Mélu

📖


zwOk9
zwOk9

⚠️
Pierre Martin
Pierre Martin

📖
Hamed Mohamed
Hamed Mohamed

💻

## License

MIT