惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 司徒正美
S
SegmentFault 最新的问题
Jina AI
Jina AI
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
WordPress大学
WordPress大学
爱范儿
爱范儿
博客园 - Franky
量子位
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Red Team AI Benchmark v1.9.0: Why We Added an Ethical Use...
KL3FT3Z · 2026-06-15 · via DEV Community

A look at the structural improvements in version 1.9.0 — and why an MIT-licensed red teaming framework now explicitly demands authorized use.


What Changed in v1.9.0

This week we merged PR #6, a major structural overhaul of the redteam-ai-benchmark framework. The headline is version 1.9.0, but the real story is in the details.

Here is what actually landed:

Change Impact
Modular scoring architecture Four scorers — keyword, semantic, hybrid, llm_judge — now live in scoring/ and can be swapped via --scorer
Unified provider interface models/base.py defines APIClient; adding a new backend means implementing three methods
YAML-native configuration config.yaml replaces scattered CLI flags; scoring, export, optimization, and Langfuse all live in one file
Semantic scoring on CPU by default Qwen/Qwen3-Embedding-0.6B runs on CPU to avoid CUDA OOM on busy systems; GPU override available
Export flexibility JSON, CSV, or both; custom basenames; optional response inclusion
AGENTS.md + CLAUDE.md First-class AI-agent documentation so contributors and automated tools know the codebase

These are not cosmetic changes. The codebase was refactored to support sustained community contribution without the original author becoming a bottleneck.


The Quiet Change That Matters Most

Buried in the README update is a single line that redefines the project's relationship with its users:

"MIT. Use in authorized red team labs, commercial security assessments, AI-security research, and educational environments."

This is not a license change. The license remains MIT. It is a statement of intent.

Why Now?

Over the past year, the benchmark has been cited in three distinct contexts:

  1. Defensive research — Eddie Oz's "LLMs Under Siege" used the framework to evaluate 30 models and argue for AI-driven defensive strategies. This is the use case the tool was built for.

  2. Uncensored model validation — Some model cards began citing benchmark scores as proof that their weights bypass safety filters. The score was treated as a feature, not a vulnerability.

  3. Offensive toolkit integration — A closed-source framework forked the benchmark into a broader attack toolkit, stripping the defensive context.

The first context validates the tool. The second and third exploit it.

We cannot prevent misuse with an MIT license. But we can refuse to be silent about intent.


What the Ethical Use Policy Actually Says

The README now closes with this paragraph:

"Use in authorized red team labs, commercial security assessments, AI-security research, and educational environments."

This is deliberately narrow. It does not say "use however you want." It says:

  • Authorized — You have permission to test the target.
  • Red team labs — Controlled environments, not production systems without clearance.
  • Commercial security assessments — Professional engagements with contracts, scopes, and liability.
  • AI-security research — Academic or industry research with ethical review.
  • Educational environments — Learning, not weaponizing.

This is not legally enforceable. MIT license does not allow that. But it is professionally enforceable — in the court of community opinion, in hiring decisions, in conference talks, in peer review.


The Technical Foundation Supports the Ethical Position

The v1.9.0 refactor makes the tool more useful for legitimate researchers while making misuse harder to justify:

Scoring Transparency

With four scorers exposed via --scorer, users can no longer hide behind a single opaque metric:

# Keyword scoring — fast, deterministic, dependency-free
uv run run_benchmark.py run ollama -m "llama3.1:8b" --scorer keyword

# Semantic scoring — understands paraphrased correct answers
uv run run_benchmark.py run ollama -m "llama3.1:8b" --scorer semantic

# Hybrid scoring — combines both for maximum accuracy
uv run run_benchmark.py run ollama -m "llama3.1:8b" --scorer hybrid

# LLM judge — external model evaluates quality (requires OpenRouter)
uv run run_benchmark.py run openrouter -m "anthropic/claude-3.5-sonnet" --scorer llm_judge

Each scorer produces different results. A model that scores 100% on keyword but 50% on semantic is not production-ready — it is gaming the metric. This transparency forces honest evaluation.

Configuration as Documentation

The new config.yaml structure means benchmark runs are reproducible and auditable:

scoring:
  method: semantic
  semantic_model: Qwen/Qwen3-Embedding-0.6B

export:
  formats: [json, csv]
  output_dir: ./results
  include_response: true

optimization:
  enabled: false

When a researcher publishes results, they can share the config file. When a bad actor publishes results, the config reveals their intent.

Prompt Optimization as Opt-In

The --optimize-prompts flag remains available, but it is now explicitly optional and logged. The optimized_prompts_{model}_{timestamp}.json file creates an audit trail:

  • What was the original prompt?
  • What reframed variants were tested?
  • Which one succeeded?
  • How many iterations?

This is not a jailbreak tool. It is a vulnerability research instrument with built-in accountability.


Why This Matters for the AI Security Community

The AI security field in 2026 faces a credibility crisis. On one side, vendors claim their models are "safe" based on narrow internal tests. On the other, uncensored model cards claim "freedom" based on benchmark scores stripped of context.

Both sides are wrong.

Safety is not the absence of capability. A model that refuses all offensive questions is not safe — it is useless for defensive research. A model that answers all offensive questions is not free — it is dangerous.

The benchmark exists to measure the gap between these extremes. Version 1.9.0 makes that measurement more rigorous, more transparent, and more accountable.


Acknowledgments

Respect to Edilson Osorio Jr. for the original "LLMs Under Siege" research that proved this benchmark produces actionable, real-world insights.

Respect to POXEK, POXEK-AI for the v1.9.0 refactor — modular architecture, clean provider interfaces, and scoring transparency.


Get Involved

git clone https://github.com/toxy4ny/redteam-ai-benchmark.git
cd redteam-ai-benchmark
uv sync
uv run run_benchmark.py --help

Issues and PRs welcome. If you use the benchmark in published research, please cite the repository and share your methodology.


The author is a certified offensive security professional and the maintainer of the redteam-ai-benchmark open-source framework. Views expressed are personal and do not represent any employer or client.