Services / 04 · Prófun gervigreindarkerfa

AI and LLM application testing

An application built on a large language model takes instructions from text, and the text does not always come from you. The test shows what happens when someone else writes the instructions.

Carried out by
Andri Pétur Hafþórsson
Scope
Agreed in writing for each engagement
Authorisation
In writing, before testing starts
Deliverable
A report with evidence and advice
Price
Fixed quote after scoping

01 / Scope

Four test areas

01

Prompt injection

Whether text from a user, a document or a web page can take over the system’s instructions.

02

Data leakage

Whether the system gives up data the asker should not see: system instructions, other users’ data or internal documents.

03

Tool and agent abuse

Whether the model can be made to use its tools and agents on things it should not touch.

04

Access control around the model

Whether permissions are enforced outside the model, or the model itself is trusted to say no.

02 / Rules

Rules of engagement

Rule 01

Written authorisation

No testing starts without it.

Rule 02

Named scope

What the scope names is tested. Nothing outside it is touched.

Rule 03

Evidence

Each finding comes with evidence that it can be exploited.

03 / The engagement

Scope, duration and what is needed

Example scopes

  • A chat interface that answers from the company’s own data.
  • An assistant with access to tools or internal systems.
  • An API that wraps a language model.

What determines duration

Duration depends on the size of the attack surface in scope.

  • The size of the scope: number of systems, roles and addresses.
  • How complex the system is and how well it is documented.
  • Whether accounts and material are ready when work starts.

What you provide

  • Test accounts in the roles to be tested.
  • A description of the data and tools the model can reach.
  • A contact who can make decisions while testing is under way.

Retest

Fixed-scope packages include one retest. For other work a retest is offered with the quote or ordered separately. An included retest is available for three months from delivery of the report.

No price list. A fixed quote follows scoping.

A lower quote is available if you accept in writing that testing of your public-facing surface may use lower-cost AI models whose provider may keep what is sent to it. See questions and answers.

04 / Deliverables

What you get

  • A report on every weakness that was found
  • Evidence for each finding
  • Advice on remediation
  • A walkthrough of the findings with you
See a sample report
A finding in the reportStructure
# Each finding in the report
what:   a description of the weakness
where:  the system or place it was found
proof:  how it was demonstrated
fix:    advice on remediation

05 / Compliance

What the results support

Results from this service are typically used as evidence towards these requirements:

NIS2
Measures are to be tested and their effectiveness assessed, vulnerabilities handled and staff trained (Article 21).
DORA
A testing programme for ICT systems, including vulnerability assessments and penetration tests (Articles 24 and 25). Threat-led penetration testing (TLPT, Article 26) has its own requirements and is outside this overview.
ISO/IEC 27001
Annex A controls on technical vulnerabilities, security testing, independent review and training.
GDPR
Regular testing and evaluation of the security of processing (Article 32).

Supports and provides evidence for. Not certification and not a guarantee of compliance. Which requirements apply to you depends on your business.

06 / Carried out by

Andri Pétur Hafþórsson does the work himself. ISO/IEC 27001 · ISO/IEC 27701 · ISO/IEC 42001. Lead Auditor Fellow at Mastermind Certifications.

About Andri