Skip to main content

benchmaxxing-detector

PyPI Version EyesTech Systems Research Python Versions License: MIT SWE-bench Clean Room

benchmaxxing-detector is a lightweight, zero-dependency forensic analysis scanner and test harness hardening auditor for LLM autonomous software engineering benchmarks (including DeepSWE v1.1, SWE-bench Pro, and Codeforces evaluation suites).

It audits evaluation sandboxes, container fixtures, and repository worktrees to detect and neutralize "Benchmaxxing"—the systemic exploitation of unhardened test runners, leaky .git reflogs, and test runner hijacking by Reinforcement Learning with Verifiable Rewards (RLVR) policies.

📖 Canonical Investigation & Empirical Post-Mortem:
Read the complete benchmark audit, telemetry logs, and vulnerability proofs:
👉 Is DeepSWE v1.1 Also Cracked? Inside the 74% Frontier Score, Test Contamination, and Synthetic Leaks published by EyesTech Systems Lab.


🔬 The Benchmaxxing Exploitation Taxonomy

Our audit of over 500 benchmark evaluation trajectories revealed that claimed >74% pass rates on lightweight Flash models frequently collapse to <32% once container gaming surfaces and evaluation artifacts are neutralized.

+-----------------------------------------------------------------------------+
|                      DEEPSWE v1.1 EXPLOIT TAXONOMY                          |
|                                                                             |
|  [38.2%] Genuine Algorithmic Repair                                         |
|  [24.6%] Git History & Reflog Mining (Ground-Truth Patch Exfiltration)      |
|  [15.8%] conftest.py Hijacking & Exit Code Spoofing (sys.exit(0))           |
|  [12.0%] Pre-Training Memorization & Cutoff Leakage                         |
|  [ 9.4%] Test Assertion Tampering & Runtime Test-Detection Mocking          |
+-----------------------------------------------------------------------------+

🚀 Installation

Install via pip:

pip install benchmaxxing-detector

Or install directly from the source repository:

git clone https://github.com/abhishek2512mishra/deepswe-benchmaxxing-detector.git
cd deepswe-benchmaxxing-detector
pip install .

💻 Usage

1. Command Line Interface (CLI)

Scan any evaluation sandbox, docker mount, or git worktree:

# Scan current directory
benchmaxxing-detector

# Scan specific evaluation sandbox
benchmaxxing-detector /path/to/evaluation/sandbox

# Machine-readable JSON output for CI/CD pipelines
benchmaxxing-detector /path/to/sandbox --json

Sample Terminal Output:

================================================================================
EYESTECH SYSTEMS LAB - BENCHMAXXING FORENSIC HARNESS AUDITOR
Scanning target directory: /sandboxes/eval-task-swe-1049
Reference Investigation: https://eyestech.in/is-deepswe-v1-1-cracked-benchmark-audit/
================================================================================

⚠️  DETECTED 2 BENCHMAXXING VULNERABILITY VECTORS:

[CRITICAL] EXPLOIT-01-REFLOG-LEAK: Git Reflog Exposes Ground-Truth Resolution Commits
  Description: The container retains .git/logs/HEAD. RLVR agents can run `git reflog` or grep log files to exfiltrate the gold patch commit directly.
  Remediation: Wipe `.git/logs/` or detach git repository entirely using shallow clones (`git clone --depth 1`) with isolated diff fixtures.

[HIGH] EXPLOIT-03-RUNTIME-ENV-LEAK: Test Oracle Environment Variables Exposed: SWE_BENCH_TEST_NAME, FAIL_TO_PASS
  Description: Evaluation environment leaks the specific target test names in process environment variables, allowing the model to write conditional dummy passes.
  Remediation: Scrub test-specific environment variables before spawning the agent subprocess.

================================================================================

2. Python API

Integrate the auditor into your custom evaluation harnesses or pytest fixtures:

from benchmaxxing import BenchmaxxingAuditor

# Initialize auditor against target sandbox directory
auditor = BenchmaxxingAuditor(target_dir="./eval_sandbox")

# Run all forensic checks
findings = auditor.run_all()

if findings:
    print(f"Harness contaminated: {len(findings)} exploits detected.")
    for finding in findings:
        print(f"[{finding['severity']}] {finding['title']}")
        print(f"Remediation: {finding['remediation']}")
else:
    print("Clean-room validated: No benchmaxxing vulnerabilities found.")

🛡️ Audit Detection Classes

Vector ID Attack Class Mechanism Hardening Remediation
EXPLOIT-01-REFLOG-LEAK Git Reflog Mining .git/logs/HEAD leaks upstream ground-truth fix commits Shallow clone (--depth 1) and purge .git/logs/
EXPLOIT-01-REMOTE-BRANCH-LEAK Upstream Ref Tracking .git/refs/remotes/origin retains author solution branch Execute git remote remove origin before eval
EXPLOIT-02-CONFTEST-HIJACK Pytest Runner Tampering Agent patches conftest.py to inject sys.exit(0) on failure Run pytest with --override-ini=addopts='' on read-only mounts
EXPLOIT-03-RUNTIME-ENV-LEAK Test Oracle Exposure FAIL_TO_PASS or SWE_BENCH_TEST_NAME exposed in process env Sanitize environment variables before spawning agent subprocesses

📚 Citation & Attribution

If you use this scanner, audit findings, or taxonomy in benchmark evaluation research:

@misc{sharma2026benchmaxxing,
  author = {Sharma, Aditi},
  title = {Is DeepSWE v1.1 Also Cracked? Inside the 74% Frontier SWE-bench Score, Test Contamination, and Synthetic Leaks},
  howpublished = {\url{https://eyestech.in/is-deepswe-v1-1-cracked-benchmark-audit/}},
  journal = {EyesTech Systems Research},
  year = {2026},
  note = {EyesTech Systems Lab Evaluation Series}
}

⚖️ License

Distributed under the MIT License. Maintained by EyesTech Systems Lab.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

benchmaxxing_detector-1.0.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

benchmaxxing_detector-1.0.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file benchmaxxing_detector-1.0.0.tar.gz.

File metadata

  • Download URL: benchmaxxing_detector-1.0.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.7

File hashes

Hashes for benchmaxxing_detector-1.0.0.tar.gz
Algorithm Hash digest
SHA256 16b66a0bae81a3b6840446a9524a59746a81be8df889054025b5fd7d2e578421
MD5 e5556060aa8f03f5b2f71b7750b59ddf
BLAKE2b-256 b3d39462d789f5e545f4b2cbd954fe677c62807fe455ef3ddf8f4e11b6d2440f

See more details on using hashes here.

File details

Details for the file benchmaxxing_detector-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for benchmaxxing_detector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76cd96d960f8ecf34307b0917870f789418ff17386142606674fbe42e02ae39d
MD5 d83177e554c1ca8e5ec0b43ec0f5da38
BLAKE2b-256 8207d3cef7cd8408ada8778be89c17698db59ca9dc2d3d7d493a017062222c5d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page