Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohaquinlop/immunipy
A Python SCA tool that acts as a watchdog, keeping an eye out for security vulnerabilities and reporting them promptly, written in Rust.
https://github.com/rohaquinlop/immunipy
cli python python-library sca security vulnerability-detection vulnerability-scanners
Last synced: 11 days ago
JSON representation
A Python SCA tool that acts as a watchdog, keeping an eye out for security vulnerabilities and reporting them promptly, written in Rust.
- Host: GitHub
- URL: https://github.com/rohaquinlop/immunipy
- Owner: rohaquinlop
- License: mit
- Created: 2024-06-07T23:40:05.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T04:35:32.000Z (3 months ago)
- Last Synced: 2024-10-11T23:50:01.644Z (27 days ago)
- Topics: cli, python, python-library, sca, security, vulnerability-detection, vulnerability-scanners
- Language: Rust
- Homepage:
- Size: 35.2 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 🐶 immunipy
A Python SCA tool that acts as a watchdog, keeping an eye out for security vulnerabilities and reporting them promptly, written in Rust.**immunipy** analyses the Python dependencies of your project and checks for security vulnerabilities.
## Features
- **Security Vulnerabilities**: immunipy checks for security vulnerabilities on real time in your Python dependencies.
- **Fast and Lightweight**: immunipy is written in Rust, which makes it fast and lightweight.
- **CI/CD Integration**: You can use immunipy in your CI/CD pipeline.
- **Easy to Use**: immunipy is easy to use.## Requirements
- Python >= 3.7
- It's necessary to have your Python dependencies in a `requirements.txt` file or a `poetry.lock` file.
## Installation
You can install immunipy using pip:
```bash
pip install immunipy
```## Usage
To check for security vulnerabilities in your Python dependencies, run:
**requirements.txt**
```bash
immunipy /path/to/requirements.txt
```**poetry.lock**
```bash
immunipy /path/to/poetry.lock
```**Project directory**
```bash
immunipy /path/to/your/project/directory
```**Git project URL**
```bash
immunipy https://your-git-project
```**Example:**
```bash
$ immunipy ./tests
```Output:
```bash
────────────────── 🐶 immunipy v0.0.1 ───────────────────
Checking . for vulnerable packages...
[00:00:01] ######################################## 2/2 Done!
Found 2 vulnerable packages in 1.4394s
─────────────────────────────────────────────────────────
Package: jinja2 Version: 2.4.1
Fixed version: 3.1.4
Vuln ID: GHSA-h75v-3vvj-5mfj Aliases: ['CVE-2024-34064']
Location: ./tests/poetry.lock
─────────────────────────────────────────────────────────
Package: jinja2 Version: 2.4.1
Fixed version: 3.1.4
Vuln ID: GHSA-h75v-3vvj-5mfj Aliases: ['CVE-2024-34064']
Location: ./tests/requirements.txt
```### Options
- `--dont-fail` or `-d`: Don't return a non-zero exit code if vulnerabilities are found.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.