How joaolucasos169/llm-security-auditor works
This is a small Python red-team utility for auditing chatbot API rate limits and quota handling. The documented workflow loads target credentials, runs repeated identity-spoofed token requests, and reports successful versus blocked attempts and a vulnerability verdict. The sampled runner calls the auditor; its audit method generates identities and requests tokens. Although the README describes quota bypass testing and audit logs, the sampled run does not call the separate chat-message sender, and the source excerpt does not show a distinct logging/reporting subsystem. Connections reflect only shown calls and documented capabilities.
Main entry points: auditor.py Rate limit auditor · main.py CLI runner
Components 8
Audit runner
- CLI runner
main.py - Audit verdict
main.py
Quota audit
- Rate limit auditor
src/auditor.py - Identity generator
src/auditor.py - Token handshake
src/auditor.py - Chat message sender
src/auditor.py
Other components
- Authorized operator
- Chatbot API
Connections 8
- Authorized operator → CLI runner: starts
README.md - CLI runner → Rate limit auditor: runs test
main.py - Rate limit auditor → Identity generator: generates IDs
src/auditor.py - Rate limit auditor → Token handshake: requests token
src/auditor.py - Token handshake → Chatbot API: POST token
src/auditor.py - CLI runner → Audit verdict: prints counts
main.py - Rate limit auditor → Chat message sender: optional send
src/auditor.py - Chat message sender → Chatbot API: POST message
src/auditor.py