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.
Workflow:
- Resolve API keys and model configurations.
- Clone repository from URL or verify existing local source directory.
- Discover and parse Python files for target functions and classes.
- (Optional) Filter targets by maintainability index using Radon.
- Concurrently generate harnesses via LiteLLM using extracted code context.
- Save and organize all valid harnesses into a structured, timestamped output directory.
Arguments:
-u,--url: Git URL to clone. Defaults to~/Downloadsif no--src-diris given.-s,--src-dir: Path to source directory. If--urlis provided, it clones into a subdirectory here.-o,--output-dir: Destination for generated harnesses and logs.-m,--model: LiteLLM model string (e.g.gemini/gemini-1.5-flash,ollama/llama3).-pp,--prompts-path: Path toprompts.yamlconfiguration.-p,--prompt: ID of the prompt template to use.-k,--api-key: API key string (optional if environment variable exists).-e,--extra-model-prompts: Vendor-specific parameters askey=valuepairs.-d,-v,--verbose,--debug: Enable verbose application logging.--litellm_debug_mode: Enable full LiteLLM request/response dumping. Outputs a massive log file (litellm_debug.log) into the specific run directory. Use this ONLY if you need to debug the raw HTTP requests being sent to the LLM.-sm,--smell: Filter out low-maintainability code using Radon.-w,--workers: Number of concurrent generation threads.-tt,--test-threshold: Threshold for filtering out code used for testing to save on tokens (default:1.1which disables the filter). Higher values filter less code, lower values filter more.
Examples:
-
Clone from a URL to default Downloads directory:
atherislitellm
--url https://github.com/user/repo
--output-dir output_logs
--prompts-path prompts.yaml
--prompt base
--model gemini/gemini-1.5-flash
--api-key YOUR_KEY
--workers 4 \ -
Clone from a URL into a specific folder with complexity filtering:
atherislitellm
--url https://github.com/user/repo
--src-dir /home/user/fuzzing_projects
--output-dir output_logs
--prompts-path prompts.yaml
--prompt base
--model openai/gpt-4
--extra-model-prompts project=my-project
--debug
--smell \ -
Use a local directory with short-form flags:
atherislitellm
-s /home/user/local_source
-o output_logs
-pp prompts.yaml
-p base
-m gemini/gemini-1.5-flash
-k YOUR_KEY
-w 2 \ -
Run with local Ollama model:
export OLLAMA_API_BASE=http://localhost:11434 atherislitellm
-s /home/user/local_source
-o output_logs
-pp prompts.yaml
-p base
-m ollama/codegemma:7b
-d
-sm
-e project=fuzz-test
Output and Analysis:
All results are saved into a structured, timestamped subfolder in your output directory:
- Harness Files: The generated self-contained Atheris fuzzing harnesses.
- analysis.csv: A detailed log capturing comprehensive metadata for all discovered code candidates. This report tracks function names, complexity rankings, maintainability indexes, the generated harness code, and API tokens used tokens_used per prompt.
Release files for AtherisLiteLLM 0.2.200
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atherislitellm-0.2.200.tar.gz | 18.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atherislitellm-0.2.200-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.9 kB
Release files / atherislitellm-0.2.200.tar.gz
| Download URL | atherislitellm-0.2.200.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52d194e13f9a620cdc6120e66b5b6c184208ff92a76d91753dfed661bf3d0bce
|
|
BLAKE2b-256 checksum How to use checksums |
bd3cc18ab63ce5c96a649ac3fd72b94c225a2e2bf37091af99597e2ab90a720d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency logRelease files / atherislitellm-0.2.200-py3-none-any.whl
| Download URL | atherislitellm-0.2.200-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d94b934967683694e3fc4f3b7c8a80e0172bb5f04286d2c2f0fc4ae4db18f180
|
|
BLAKE2b-256 checksum How to use checksums |
db5751c33f0e903f495faa20e30ac713f684f99745d4208e1be5f380ca6fe1bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency log