bworkx.

Application security

LLM & AI application security assessment

AI features change the attack surface. Test the model, the tools, and the data flow.

Prefer to talk? Book a 30-minute call.

Who it is for

  • Teams shipping chatbots, RAG systems, copilots, or agentic workflows.
  • AI features that can call tools, read data, or take actions.
  • Customer-facing AI where data leakage and prompt injection matter.
  • Internal AI systems that need a security review before wider rollout.

When it is not the right fit

  • Model training, fine-tuning, or benchmark work with no application layer.
  • A request to test a system without access to prompts, tools, and data flows.
  • A compliance certificate or a guarantee that the AI system is safe.
  • A team that cannot provide a synthetic or controlled test environment.

Scope

What is included

The scope is written down before work starts. Anything outside it is a change, with a cost and a date.

An AI system inventory covering models, prompts, tools, data sources, and users.

A threat model for prompt injection, data leakage, tool abuse, and excessive agency.

Prompt injection and jailbreak testing within the agreed scope.

Output handling and downstream action review.

Sensitive data exposure and retrieval-boundary checks.

Tool and agent permission review, including confirmation and least privilege.

Model and dependency supply chain review where the model or provider is in scope.

Rate, cost, and unbounded-consumption review.

A prioritized findings report and a retest of the agreed fixes.

Delivery

How an engagement runs

  1. Scope

    We agree the AI surface, the models, the prompts, the tools, the data sources, and the test environment. We also agree what the system must never do during testing.

  2. Model

    We map the trust boundaries: user input, prompt assembly, retrieval, model output, tool calls, and downstream actions. The diagram usually reveals the real attack surface.

  3. Test

    We test prompt injection, data leakage, output handling, tool abuse, and excessive agency within the agreed rules. Tests are non-destructive and use synthetic data.

  4. Validate

    Candidate findings are reproduced and explained. A model saying something strange is not a finding; a reproducible path to data, money, or action is.

  5. Report

    Each finding includes the input, the model or tool path, the evidence, the impact, and a remediation direction. Confirmed issues are separated from hardening advice.

  6. Retest

    After fixes, we retest the agreed findings and update the report. Model behaviour can change, so the retest records the model and configuration used.

AI is a new trust boundary

An LLM application is not just a model. It is a pipeline: user input, prompt assembly, retrieval, model output, tool calls, and downstream actions. Each boundary can fail in a different way.

The assessment follows the data and the authority, not the model brand.

Prompt injection

Prompt injection is not a single bug. It is a class of failures where untrusted text changes the instructions the system follows.

We test:

  • Direct injection through user input.
  • Indirect injection through retrieved documents, emails, or web content.
  • Instruction leakage and system-prompt exposure.
  • Multi-step injection that only works across a conversation.

The output is a reproducible path with evidence, not a collection of clever prompts.

Excessive agency

An agent with tools can do more damage than a chatbot. The assessment reviews:

  • Which tools the model can call.
  • Whether the user can trigger a tool they should not access.
  • Whether high-impact actions require confirmation.
  • Whether the model can chain tools to exceed its intended authority.
  • Whether the agent has a least-privilege identity.

Data leakage and output handling

Sensitive data can leak through retrieval, context windows, logs, or model output. Output can also become an injection vector when it is rendered or passed to another system.

We review data boundaries, retrieval filters, output encoding, and downstream consumers.

Model and tool supply chain

Models, adapters, vector stores, and third-party tools are dependencies. The assessment reviews provenance, versions, permissions, and the data they can access.

Cost and consumption

Unbounded prompts, loops, or tool calls can create unexpected cost. We review rate limits, token budgets, timeouts, and failure behaviour.

What this service is not

It is not model training, a benchmark, a compliance certification, or a guarantee that the AI system is safe. It is a scoped assessment with explicit evidence, limits, and a retest path.

Related work

See the approach in practice

Lab builds use synthetic data in the bworkx environment. Reference methods describe how the work is scoped and delivered. Neither is a client case study.

LLM security assessment method

Reference method — scope, threat model, prompt injection, tool abuse, evidence, and retest. Not a client engagement.

Read more

Questions

Before you ask

Do you need API keys to a model?

We use a client-provided key or a local open-weight model. Model API costs stay on the client account. We do not put model costs on the bworkx account.

Which standard do you use?

The OWASP Top 10 for LLM Applications 2025, with the OWASP GenAI and Agentic Security work where the system uses tools or autonomous actions. The report cites the version and the scope used.

Do you test agents and tool calls?

Yes, within the agreed scope. Agent testing focuses on tool permissions, confirmation steps, data boundaries, and whether a prompt can trigger an action the user should not be able to take.

Can you test a RAG system?

Yes. Retrieval-augmented systems are reviewed for data leakage, retrieval-boundary mistakes, prompt injection through documents, and output handling. Synthetic documents are used where possible.

Is this a penetration test?

It is a focused AI application security assessment that includes manual testing where authorized. It is not a guarantee that the AI system is safe, and it is not a compliance certification.

Application security

More in this practice

Other services in this practice. Each is scoped separately.

Dynamic application security assessment (DAST)

Authenticated runtime testing of web applications with OWASP ZAP, WSTG, and manual validation — non-destructive by default.

  • A written scope covering targets, roles, test windows, and stop conditions.
  • An authenticated baseline scan with OWASP ZAP.
  • Manual validation of authentication, session, access control, and business logic.
  • Configuration and header review for the deployed application.
See how it works

Mobile application security assessment (Android)

A MASVS 2.1-aligned review of Android applications — storage, cryptography, network, authentication, platform interaction, privacy, and resilience — with evidence and a remediation plan.

  • A written scope covering the app, the build, the roles, and the test devices.
  • A MASVS 2.1 category-by-category review with evidence for each finding.
  • Static analysis with MobSF and jadx: manifest, permissions, exported components, and hard-coded secrets.
  • Data storage and cryptography review: keystore use, token storage, backup behaviour, and logging.
See how it works

API security assessment

A focused review of API authentication, object-level authorization, data exposure, rate limits, and business logic against OWASP API Security Top 10:2023.

  • An API inventory with endpoints, roles, and data sensitivity.
  • Authentication and token review: OAuth2, OIDC, API keys, and session behaviour.
  • Object-level authorization testing across roles and tenants.
  • Excessive data exposure and mass-assignment checks.
See how it works

Next step

Start with the situation, not the solution.

Describe what is happening today, what has been tried, and what a good outcome looks like. We will tell you whether this service is the right fit.