Fictional worked example · Legal systems & AI workflows

How we would assess
a legal document and AI workflow.

Follow a proposed engagement from the initial brief to its scope, planned evidence and follow-up. This scenario uses fictional data and does not describe completed client work.

The fictional brief

Start with the decision
the assessment must support.

A fictional legal organisation is preparing an internal matter-document portal with AI-assisted search. It needs to understand the security risks before deciding whether to release the workflow to staff.

Decision to support
Identify weaknesses to address before release and record any remaining limitations for the organisation’s decision-makers.
System in scope
One representative staging version of the portal, its application API and the document-search integration.
Representative roles
Legal user, matter supervisor and administrator, with separate invented matters and representative test accounts.
Information used
Invented documents and synthetic matter metadata. Production matter files are outside this proposed scope.
01 / Application

Documents and users

Upload, search, share and export invented matter files through the portal and its API.

02 / Connected feature

AI-assisted search

Retrieve from the approved test documents and return responses within the user’s permitted workflow.

03 / Boundary

Supporting components

Include agreed application configuration; identify separately managed model, hosting and document services.

Planned coverage

Connect each question
to evidence and a boundary.

The OWASP Web Security Testing Guide is the web-testing baseline, informed by OWASP API security guidance and OWASP LLM application risks. Specialists build on that baseline around the architecture, technology and business rules in the agreed scope. They validate findings and interpret their impact.

Proposed coverage only. No testing has been performed and no results are asserted.
AreaQuestion for the assessmentContext and boundaries
Document processingDoes the application handle uploaded content and other input safely through processing, preview and export?Consider how weaknesses could affect confidential documents as they move through the workflow. Only agreed formats and components are in scope.
Identity and matter boundariesDo sign-in, session and authorisation controls protect the intended users, matters and actions?Focus on the intended separation between users and matters. Test accounts represent the agreed roles, not every organisational permission.
Sharing and business rulesDo invitations, links, approval steps and exports follow the organisation’s intended rules?Connect findings to information exposure or unintended actions, with the relevant workflow and conditions recorded.
AI-connected data and actionsDoes the connected feature respect document access and permitted actions, including when inputs are unexpected?Assess the agreed data sources, permitted actions and application controls. Legal accuracy and professional judgement remain outside this security assessment.
APIs and deployment configurationDo the API and agreed web server, CDN or cache settings protect the workflow and private content?Include the agreed interfaces and supporting configuration. A staging assessment does not automatically establish the security of production configuration.

Before testing

Make the boundaries
and preparation explicit.

Included scope has limits.

  • Only the listed application version, interfaces, roles and supporting components are included.
  • Production systems, the organisation’s wider network and model-provider infrastructure require separate scope and permission.
  • Tests use invented material. Differences from production data, integrations or configuration are recorded as limitations.
  • This scope assesses technical controls; it does not determine legal accuracy, privilege or overall regulatory compliance.

What to prepare.

  • A representative staging build, a workflow walkthrough and API documentation.
  • Accounts for the agreed roles and invented documents across separate matters.
  • The intended sharing rules, AI data sources and permitted actions.
  • Permission for each included component, a technical contact and agreed operating constraints.

Your assessment report

Clear findings.
Practical next steps.

Your report helps you understand the findings and gives your technical team the detail needed to act on them.

What your MurtaSec assessment report includes.
Report sectionWhat it containsHow it helps
Executive summaryA clear overview of the assessment’s key findings and their implications.Give decision-makers a concise view of the risks that need attention.
Summary of findingsAn overview of the individual findings in one place.Review the issues together and plan the next steps with your team.
Finding detailsEach finding includes a description, reproduction steps, remediation steps and references.Help your technical team understand the issue, reproduce it and work through the recommended fix.

Let’s plan
your assessment.

Use this example as a starting point. Tell us how your workflow differs, what you need to learn and any requirements the assessment must address.