
What is NB Defense?
NB Defense, brought to you by Protect AI, is a JupyterLab Extension and a CLI tool designed to enhance the security of Jupyter Notebooks. It encourages users to consider security at every stage of the machine learning development process. NB Defense is open source and provides features to detect vulnerabilities such as secrets, PII, CVEs, and third-party license issues within notebooks and repositories.
How to use NB Defense?
NB Defense can be used as a JupyterLab Extension for real-time, in-notebook security guidance or as a CLI tool for scanning entire Git repositories. The CLI tool can be integrated into CI systems as a pre-commit hook. Customizable scanning options are available for both the extension and the CLI.
NB Defense’s Core Features
Secrets Detection PII Detection CVE Detection License Detection Contextual Guidance within JupyterLab Advanced Repository Scanning via CLI Customizable Scanning Options
NB Defense’s Use Cases
- Scanning Jupyter Notebooks for secrets before committing to a repository.
- Identifying CVE vulnerabilities in imported Python packages within a notebook.
- Ensuring compliance with third-party license requirements in ML projects.
- Detecting and removing personally identifiable information (PII) from notebooks.
Relevant Navigation


UbiOps

fastn

Sieve

Censorly

CrawlAi

Pegleg.ai
