Evaluating an AI Security Tool Without Unsupported Claims

AI security tools are often marketed with vague claims of "detecting threats" or "preventing attacks." This post documents a rigorous evaluation framework that relies on a defined threat model, baseline metrics, test cases, and measurable criteria rather than marketing language.

Threat Model

The evaluation focuses on three attack vectors: prompt injection, credential exfiltration, and unauthorized data access. Each vector is modeled with specific scenarios: a malicious user attempting to extract system prompts, an agent improperly handling API keys, and a model leaking sensitive user data in responses.

Baseline & Test Cases

A baseline is established by running the tool in a controlled environment without any attack traffic. Test cases are then designed to trigger each vector:

Metrics & Results

The following metrics were recorded over 100 test runs per vector:

MetricPrompt InjectionCredential ExfiltrationUnauthorized Access
False Positives312
False Negatives12815
Latency (ms)210185240

Limitations

Reproducibility

All test scripts, datasets, and results are published in a public GitHub repository. The evaluation can be re-run using the provided Docker Compose file, which spins up the AI security tool and executes the test suite against a target application.

A.M. Rinas

Written by A.M. Rinas

Full-Stack Software Engineer working on web applications, DevOps automation, and databases. More about me on the about page, or say hi through the contact page and LinkedIn.

← Back to all articles

A.M. Rinas

Written by A.M. Rinas

Full-Stack Software Engineer working on web applications, DevOps automation, and databases. More about me on the about page, or say hi through the contact page and LinkedIn.

← Back to all articles