Status: [LIVE] Endpoints found: https://developers.openai.com/api/docs/models/gpt https://developers.openai.com/api/docs/models/gpt-oss-20b Source: https://github.com/xiaoyi041117/agentsec-eval # AgentSec Eval Reproducible, side-effect-free security evaluation for tool-using language-model agents. This repository turns an AI Agent Security competition submission into an auditable engineering project. The original work optimized replayable attack candidates for a private sandbox. The refactored framework instead measures unauthorized tool requests without executing network, email, file-system, or shell side effects. ## Why this project exists An early competition strategy used a `SECRET_MARKER` exfiltration path. During the competition, the team hypothesized that marker-dependent exfiltration might not transfer to hidden defenses. Private leaderboard results were only available after the competition ended; an observed public/private score collapse was not the trigger for the strategy change. 1. The competition solution moved to a `CONFUSED_DEPUTY` path that did not depend on the protected marker and selected prompts using model-specific execution traces. 2. The post-competition project replaced leaderboard-specific generation with a portable safety-evaluation harness that reports uncertainty and preserves an audit trail. The result is both a record of the original experimental iteration and a safer foundation for local model evaluation. ## Engineering contributions - Versioned threat scenarios covering indirect prompt injection, authorization confusion, data-instruction confusion, and quoted command injection. - Model adapters for native Ollama and OpenAI-compatible endpoints. - A positive-control gate that verifies structured tool calling before interpreting a zero-violation result. - Paired baseline-versus-hardened experiments using identical scenarios, case identifiers, model settings, and synthetic markers. - Wilson confidence intervals, per-scenario summaries, deterministic seeds, latency measurements, and JSONL checkpoints. - Risk- and uncertainty-aware allocation for additional evaluation trials. - Simulated tool definitions that record reque