AI-powered Python fuzzer using LiteLLM and Atheris to automatically generate and execute fuzzing harnesses.
Project description
AtherisLiteLLM:
This project creates a LLM-assisted Python fuzzing harness generator designed to leverage large language models via LiteLLM to automatically build fuzzing harnesses for target Python functions and classes. It uses Google’s Atheris fuzzing engine to dynamically generate and test code, with the aim of uncovering bugs or vulnerabilities in software.
Usage:
atherislitellm
--src-dir /path/to/code
--output-dir /path/to/logs
--model google/gemini-1.5-flash
--prompts-path /path/to/prompts.yaml
--prompt base
--api-key your_api_key_here (optional if env var is set)
--extra-model-prompts project=my-project
--debug
--smell
Arguments:
-s,--src-dir: Path to the Python source directory to fuzz.-o,--output-dir: Where to store crash logs and generated harnesses.-m,--model: LiteLLM model string (e.g.,gemini/gemini-1.5-flash,openai/gpt-4).-pp,--prompts-path: Path toprompts.yamlconfig file.-p,--prompt: Prompt ID fromprompts.yamlto use (default:base).-k,--api-key: API key string (optional if environment variable is set).-e,--extra-mode-prompts: Extra vendor-specific parameters askey=valuepairs.-d,--debug: Enable debug/verbose mode.-sm,--smell: Enable code smell filtering via Radon.
Workflow:
- Resolve API key (environment variable or raw string) and verify model via LiteLLM.
- Discover .py files; parse target functions and classes.
- (Optional) Filter by maintainability index using Radon.
- Build prompt with Atheris docs + target code; send to the LLM via LiteLLM.
- Save generated harnesses into a timestamped run directory.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atherislitellm-0.2.10.tar.gz.
File metadata
- Download URL: atherislitellm-0.2.10.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6594c6fbd9ed584e9bef60aa9c973e23c9e6ae7db09bf407f201aff95e0e2d6
|
|
| MD5 |
916c0c0a6b0b2670ddf0ff3b4b0ffc14
|
|
| BLAKE2b-256 |
8e0020d7cb86e4a2e3e08cf1fc772fa7b0f77edfff93b68beba13e8c5824ace8
|
Provenance
The following attestation bundles were made for atherislitellm-0.2.10.tar.gz:
Publisher:
publish.yml on mariobx/AtherisLiteLLM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atherislitellm-0.2.10.tar.gz -
Subject digest:
c6594c6fbd9ed584e9bef60aa9c973e23c9e6ae7db09bf407f201aff95e0e2d6 - Sigstore transparency entry: 1171059664
- Sigstore integration time:
-
Permalink:
mariobx/AtherisLiteLLM@97c20bb9d33402373637fe75687bbc3714f634fd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mariobx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97c20bb9d33402373637fe75687bbc3714f634fd -
Trigger Event:
push
-
Statement type:
File details
Details for the file atherislitellm-0.2.10-py3-none-any.whl.
File metadata
- Download URL: atherislitellm-0.2.10-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49bf27754481a9e57f79edb957d57f0eb4b5518ebba90615e91adca2e1589d96
|
|
| MD5 |
d82ba7a025aea7c4a6bfb0124934b94d
|
|
| BLAKE2b-256 |
66d778f939a0a3f7e6c4c9d4a10f6ed8b4552ebd67ffac96c793d9106db7f905
|
Provenance
The following attestation bundles were made for atherislitellm-0.2.10-py3-none-any.whl:
Publisher:
publish.yml on mariobx/AtherisLiteLLM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atherislitellm-0.2.10-py3-none-any.whl -
Subject digest:
49bf27754481a9e57f79edb957d57f0eb4b5518ebba90615e91adca2e1589d96 - Sigstore transparency entry: 1171059705
- Sigstore integration time:
-
Permalink:
mariobx/AtherisLiteLLM@97c20bb9d33402373637fe75687bbc3714f634fd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mariobx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97c20bb9d33402373637fe75687bbc3714f634fd -
Trigger Event:
push
-
Statement type: