
NB Defense is an open-source security solution developed by Protect AI for safeguarding Jupyter Notebooks. As both a JupyterLab extension and a command-line interface (CLI) tool, it emphasizes secure practices throughout the entire machine learning development process. By using NB Defense, developers can ensure their notebooks are secure by actively identifying vulnerabilities, sensitive data, and other security concerns. To get started with NB Defense, you can install the JupyterLab extension or use the CLI tool to scan your notebooks. After installation, the contextual guidance will help you to navigate and analyze your notebooks securely. For comprehensive security measures, integrate the CLI tool into your Continuous Integration (CI) pipeline as a pre-commit hook. NB Defense is an open-source tool provided by Protect AI and is available without any cost. Users can utilize the features for free, making it accessible for individuals and teams concerned about notebook security. NB Defense primarily detects API keys, private keys, authentication tokens, and other sensitive credentials, personally identifiable information (PII), Common Vulnerabilities and Exposures (CVE), and non-permissive licenses in machine learning open-source frameworks. The CVE identification feature scans imported code dependencies within your notebook against a database of known vulnerabilities, alerting you to any potential risks associated with those dependencies. Yes, user privacy is prioritized. NB Defense does not store or utilize personal data for any external purposes, focusing solely on improving security practices. It's recommended to run scans regularly, especially before sharing or deploying your notebooks, to ensure that no vulnerabilities or sensitive information are present.


