IdeaCredIdeaCred

lpr021/redteam-ai-benchmark

61

🧪 Evaluate uncensored LLMs for offensive security with targeted questions and clear criteria to ensure effectiveness in real-world penetration testing.

What's novel

🧪 Evaluate uncensored LLMs for offensive security with targeted questions and clear criteria to ensure effectiveness in real-world penetration testing.

Code Analysis

13 files read · 4 rounds

A CLI benchmarking tool that sends 12 hardcoded offensive security prompts to LLMs, scores responses using keyword/semantic/LLM-judge methods, and iteratively optimizes prompts to bypass AI safety refusals.

Strengths

Clean separation of concerns with abstract base classes for API clients and scorers, plus a smart hybrid scoring strategy that only invokes expensive LLM-judge calls for uncertain gray-zone cases. The multi-strategy prompt optimization (role-playing, technical decomposition, few-shot, CVE framing) shows genuine algorithmic thinking.

Weaknesses

The 63.8kb monolithic run_benchmark.py entry point and hardcoded per-question keyword checks (q_id == 1, q_id == 2...) severely limit scalability, while the README is AI-generated filler describing executables and GUIs that don't exist in the code. The tool's core purpose of systematically circumventing AI safety guardrails raises serious ethical concerns regardless of stated 'authorized testing' intent.

Score Breakdown

Innovation
4 (25%)
Craft
60 (35%)
Traction
8 (15%)
Scope
60 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci-2
Tests+3
Polish+0
Releases+0
Has License+5
Code Quality+20
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+3
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+7
Authored Files+12
Readme Code Match+3
Architecture Depth+3
Implementation Depth+8

Evidence

Commits

51

Contributors

3

Files

30

Active weeks

4

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT