bworkx.

Reference method

Reference methodApplication securityOWASP LLM Top 10:2025OWASP GenAI SecurityOWASP ASVS 5.0

LLM security assessment method

How bworkx scopes, models, tests, validates, and retests LLM and agentic applications against the OWASP Top 10 for LLM Applications 2025.

Problem. AI features introduce prompt, retrieval, and tool boundaries that traditional application testing does not cover.

Reference method. This page describes how bworkx runs an LLM and AI application security assessment. It is not a client engagement or a guarantee that the AI system is safe.

1. Scope

We agree the AI surface: models, prompts, retrieval sources, tools, agents, users, and data. We also agree the test environment and the rules of engagement.

Where a model API is used, the client provides the key or the assessment uses a local open-weight model. Model costs stay on the client account.

2. Model the system

We map:

  • User input and prompt assembly.
  • Retrieval and context injection.
  • Model output and rendering.
  • Tool calls and downstream actions.
  • Data stores, vector indexes, and logs.
  • Identity and permissions for the model and the agent.

The diagram is the attack surface.

3. Test the LLM Top 10

The assessment uses the OWASP Top 10 for LLM Applications 2025 as the lens:

  • Prompt injection.
  • Sensitive information disclosure.
  • Supply chain.
  • Data and model poisoning.
  • Improper output handling.
  • Excessive agency.
  • System prompt leakage.
  • Vector and embedding weaknesses.
  • Misinformation.
  • Unbounded consumption.

Agentic systems add tool permissions, confirmation steps, and action boundaries from the OWASP Agentic Security work.

4. Validate

A model saying something unexpected is not a finding. A finding needs a reproducible path to data, money, or action. We reproduce the path and record the model, configuration, and inputs used.

5. Evidence and retest

The report includes the input, the model or tool path, the evidence, the impact, and the remediation direction. After fixes, the agreed findings are retested. Because model behaviour can change, the retest records the model and configuration.

What this method does not cover

  • Model training, fine-tuning, or benchmark work.
  • A full red-team engagement.
  • A guarantee that the AI system is safe.
  • A compliance certification.
  • Every possible prompt; the assessment is risk-based and evidence-driven.

What I would do differently

Map the tools before testing the prompts. Excessive agency is usually a permissions and confirmation problem, not a wording problem.

Outcome. A mapped AI attack surface, tested failure paths, validated findings, and a retest path.

Next step

Need an assessment like this?

If you are preparing for a review, a launch, or a customer security questionnaire, start with the scope and the authorization.