Skip to main content
Viper Consulting shield logo Viper Consulting™ 1-800-455-5691

Research › AI Safety

Gold-lit close-up of the black-and-gold robot at its desk, with a glowing gold shield and check mark beside the document workflow. Viper Consulting™ wordmark.
  • Viper Consulting™ Technical Report VC-TR-2026-01
  • AI Safety series
  • Version 1.0
  • Not peer reviewed

Weekly Purple Teaming for a Small Organization's LLM Applications: Design and Results


Viper Consulting™ (Epstein Investment Group LLC), Arlington, Virginia

Abstract

We describe the weekly purple-team exercise a small organization runs against its own production LLM applications (a knowledge-grounded website chat, lead forms, a voice-message webhook, staff sign-in and a children's storybook site) and report the results of the November 30, 2026 exercise: 41 automated cases (22 live checks and 19 offline red-team cases covering 33 tests), 41 of 41 prevented, 40 of 41 detected, and 11 of 11 expected security events written and read back. Two detection gaps were found and fixed the same day. A fourth live run on December 1 repeated the result (21 PASS, 1 PARTIAL, 0 FAIL). We map the cases to the 2026 OWASP Top 10 for LLM Applications and to MITRE ATLAS techniques, and we state plainly what the exercise does not show.

Keywords: purple team; red team; LLM security; prompt injection; OWASP Top 10 for LLM Applications; MITRE ATLAS; security logging

1. Introduction

Small organizations now put large language models (LLMs) in front of the public: a chat box on the website, a form whose text is read by a model, a voice line that turns a caller's words into a message. Each of these is an attack surface that a large security team would test continuously. A small team usually tests once, at launch, if at all.

This report describes how Viper Consulting™, a founder-led company, tests its own LLM applications every week with a purple team: a red side that attacks with fixed, harmless cases and a blue side that must show it saw each attack in its own logs. The two sides are scored together, case by case. We report the design, the measured results of the exercise of November 30, 2026, a repeat run on December 1, 2026, and what we changed because of it.

Our contribution is practical rather than theoretical: a design that one person can run every week at no cost, a scoring rule that separates prevented from detected, and a measured example of the two kinds of gap the rule finds. We map the cases to the 2026 edition of the OWASP Top 10 for LLM Applications [1] [2] and to MITRE ATLAS techniques [3], and we relate the practice to the Measure and Manage functions of the NIST AI Risk Management Framework [4] and its Generative AI Profile [5]. These mappings are our own; this report is not endorsed by OWASP, MITRE or NIST.

2. Systems in scope

The exercise covers only our own code and sites. Two Cloudflare Workers serve the systems under test:

  • The main Worker (viperconsulting.ai and the other sites it serves): a knowledge-grounded website chat (an open-weight instruction model on a managed inference service; the prompt carries a fixed, curated knowledge text, there is no vector store and the model has no tools), lead forms whose free text may later be read by a model, a voice-message webhook that turns caller details into a short message script, a staff sign-in for internal dashboards, and a private author-interview site.
  • The storybook Worker (mystarringbook.com): a children's personalized storybook site with a story and picture model behind a five-step form, photo uploads, payment webhooks, print files and an admin area.

Out of scope: third-party platforms (the CRM vendor, payment provider, model providers, Cloudflare's own systems), client systems and staff devices.

3. Method

3.1 Red side: two kinds of case

Offline cases attack the code directly in a test runner with every outbound call replaced, so nothing leaves the machine. The suite holds 19 cases (RT-01 to RT-19) implemented as 33 tests. It draws on a shared attack list of 24 prompt-injection and jailbreak strings, 10 honest control questions, 8 markup-injection strings, 20 path tricks, 11 hostile file names and 6 leak patterns; fake keys in the list are assembled from pieces so that the secret scanner never sees a key-shaped value. The suite runs on every push to the main branch.

Live checks send one harmless, tagged request per check to our production sites (LC-01 to LC-22). Every request carries a test header with a run identifier and a dedicated user agent; the script waits 1.1 seconds between requests; no load test, port scan or exploit framework is used; no lead is completed, no model is called on purpose, no message is sent and no payment is made. Checks LC-01 to LC-14 expect the attack to be refused and a security event to be written; LC-15 to LC-22 (exposure, security headers, private-page caching and cross-origin rules) expect a normal answer that leaks nothing and carries the right protections, so no event is expected.

3.2 Blue side: what must be seen

Every guard that refuses a request marks the response with a rule identifier. The Worker strips the mark and writes one event: time, site, route, rule, severity and a salted hash of the client; never an address, a message body or a secret. Events are kept 90 days, counted daily, and an alert row opens when more than 5 real high-severity events happen in one clock hour. Test-tagged events are stored apart and never count toward an alert. The rule set has 11 rules on the main Worker, for example ai.instruction_screened (medium), origin.refused (low), auth.hq_fail (medium) and webhook.bad_signature (high).

On each tagged request the Worker echoes the rule it wrote in a response header, so the live-check script can confirm detection at once; the events are later read back from both event databases with read-only queries. A weekly threat hunt runs five read-only queries over the last eight days: one client tripping three or more rules in an hour, key or sign-in failures from five or more clients in an hour, a daily spike over three times the seven-day average, a quiet high-severity hour, and every alert row.

3.3 The guards under test

The language-model guards are pure functions shared by the chat, voice and interview handlers: an input screen with 12 patterns in 9 named rule families (override, new instructions, prompt reveal, role switch, jailbreak, chat markup, exfiltration, tool abuse, secrets request) applied after Unicode normalization and removal of hidden characters; personal-data masking for logs; a hard budget on model calls per time window; a failure limiter that slows key guessing; and an output check that caps length and removes links to hosts we did not supply, secrets and prompt leaks. The chat accepts only user turns from the browser: assistant or system turns sent by a page are dropped and counted. The pattern list is not reproduced here. Pattern screening catches common attacks, not every attack; that is why the output is checked again and why the model has no tools.

3.4 Scoring

Each case is scored on five columns: prevented (yes, partly, no), detected (the expected event was confirmed, or for a no-event check, the check passed), logged (the rule written), alerted (whether the same event at real volume would open an alert) and time (response time in milliseconds). A case is PASS when every applicable column is satisfied, PARTIAL when the attack is prevented but not seen, GAP when it is seen but not prevented, and FAIL when neither.

3.5 Schedule

The exercise runs weekly: a GitHub Actions workflow on Mondays and a scheduled assistant task that follows a written runbook. Offline tests run on every push; live checks also run after every security-relevant push.

4. Results

4.1 The exercise of November 30, 2026

The exercise combined a dry run of the automated workflow, three live-check runs after three security pushes, the offline suite on the main branch and a read-only threat hunt. The run of record is the live run started at 20:20 UTC.

Table 1. Summary of the November 30, 2026 exercise.
MeasureResult
Automated cases41: 22 live checks and 19 offline cases (33 tests)
Prevented41 of 41 (100%)
Detected40 of 41
Expected security events written and confirmed11 of 11 in each of the three live runs
Live checks21 PASS, 1 PARTIAL, 0 GAP, 0 FAIL (same in all three runs)
Offline tests33 of 33 pass
Detection gaps found and fixed the same day2
Threat hunts5 hunts, 0 items to investigate
Real alert rows0 on either site
Horizontal bar chart of the 22 live checks on Nov 30, 2026: 11 blocked and logged by the Worker, 2 blocked at the edge, 8 exposure and hardening checks passed, 1 prevented but not logged.
Figure 1. Live check outcomes by group. Outcome of the 22 live checks in the run of record (GitHub Actions run started 20:20 UTC, Nov 30, 2026). 21 PASS and 1 PARTIAL.
Show the data table for Figure 1
Data for Figure 1.
GroupChecks
Blocked and logged by the Worker11
Blocked at the edge (no Worker event by design)2
Exposure and hardening checks (no event by design)8
Prevented, not logged (endpoint closed)1

The one PARTIAL case is LC-05: a call to the voice-message webhook with a wrong shared secret. The endpoint is currently closed and refuses every call before its guard runs, so the attack is prevented but no event is written. It stays PARTIAL until the endpoint is opened with its secret and retested. Two checks, LC-09 (admin page without sign-in) and LC-14 (an encoded path walk), were refused at the network edge before reaching the Worker; they pass, and no Worker event is expected.

4.2 Detection gaps found and fixed

The scoring rule's value is that it separates a refusal nobody can see from a refusal that is logged. Two such gaps were found:

  • PT-04, cross-site calls were refused but not logged. A new live check (LC-11) sent a call to the chat endpoint carrying another site's origin. It was refused, but no event was written, so the refusal could not be seen or hunted. The chat and ad-conversion endpoints now log origin.refused, and rate-limit refusals on the conversion endpoint log rate.limit_hit. LC-11 passed in all three later runs and the event was read back from the database.
  • PT-05, the threat hunt needed a stored database token. The weekly hunt was changed to a keyless, read-only route through a connector, so no token is created or stored. The proof run read 120 real events and 0 alert rows.

A third item, PT-06, was a process gap: a monthly scheduled task still read an outdated copy of the runbook. It was raised with a deadline before that task's next run.

4.3 Blue-side evidence

The test-tagged events written on November 30 were read back from both event databases: 26 on the main Worker and 23 on the storybook Worker, 49 in total, which matches the five live-check runs of that day (two of the earlier 10-check set and three of the 22-check set). None raised an alert. Over the eight days to November 30 the event stores held 120 real (untagged) events: 116 refused lead-form bodies from 39 clients, 3 refused cross-site posts from one client, and 1 blocked AI crawler; 0 were high severity.

4.4 Repeat run and response times

A fourth live run on December 1, 2026 (19:18 UTC) gave the same result: 21 PASS, 1 PARTIAL (LC-05), 0 FAIL. Figure 2 shows the response time of every check in the four runs. The malformed path walk refused at the edge (LC-14) answered in 8 to 21 ms; the checks that write an event (LC-01 to LC-04, LC-06 to LC-08, LC-10 to LC-13) took between 124 ms and 1,653 ms including the network round trip from the test runner, and the slowest were the chat and interview-key checks. The event is written before the answer is sent, so these times include detection.

Dot plot on a log scale of response time in milliseconds for each of the 22 live checks in four runs on Nov 30 and Dec 1, 2026. Edge refusals take under 20 ms; checks that write an event or call the payment-signature check take 0.2 to 1.7 seconds.
Figure 2. Response time per live check, four runs. Response time measured by the live-check script for each check in the four GitHub Actions runs (three on Nov 30, one on Dec 1, 2026). Times include the network round trip from the runner; one request per check per run.
Show the data table for Figure 2
Data for Figure 2.
CheckArea2026-11-30 20:07:09 UTC2026-11-30 20:13:06 UTC2026-11-30 20:20:48 UTC2026-12-01 19:18:31 UTC
LC-01Website chat1405121215611144
LC-02Staff sign-in196278314254
LC-03Private interview pages143110181653906
LC-04Lead forms243228318271
LC-05Voice-message webhook5612976142
LC-06Storybook payment webhook5365249881041
LC-07Storybook crawler block155161193223
LC-08Storybook print files266201239234
LC-09Storybook admin7714373183
LC-10Storybook uploads144124252651
LC-11Website chat, cross-site29612221312283
LC-12Lead forms, cross-site272236259302
LC-13Storybook uploads, cross-site125404793160
LC-14Storybook print files, path walk212089
LC-15Main site, leaked config file773068070
LC-16Main site, leaked repo settings81417364
LC-17Storybook, leaked config file201239148219
LC-18Storybook, leaked repo settings10310430102
LC-19Main site security headers235243222331
LC-20Storybook security headers23910393135
LC-21Private page caching9610011681
LC-22Chat cross-site preflight404419128

4.5 Offline suite on the latest code

The offline suite ran on the main branch on December 2, 2026 (commit 89ce0c9): 33 of 33 tests passed. The suite covers, among others: sign-in bypass with missing, wrong, forged and unsigned tokens, identity headers, write methods, other hosts and 20 path tricks; instruction text and markup in every form field; forged form tokens and oversized or wrong-type bodies; the 24 injection and jailbreak strings against the chat; fake assistant turns; planted links, keys and quoted rules in a model reply; instruction text, script tags and secrets in spreadsheet cells read by our dashboards; visitor-supplied addresses (server-side request forgery); every response and log line searched for secrets; uploads typed by their real bytes; constant-time secret comparison; and a static scan for unsafe code patterns.

5. Mapping to OWASP and MITRE ATLAS

We mapped each case to the 2026 OWASP Top 10 for LLM Applications. A case can map to more than one entry.

Table 2. Our mapping of exercise cases to OWASP Top 10 for LLM Applications (2026) entries and MITRE ATLAS techniques.
OWASP entry (2026)CasesATLAS technique
LLM01 Prompt InjectionLC-01; RT-03 (lead forms), RT-04 (chat), RT-05 (voice caller fields), RT-06 (spreadsheet cells, indirect), RT-07 (storybook form)AML.T0051 LLM Prompt Injection [6]; AML.T0054 LLM Jailbreak [7] (RT-04)
LLM02 Sensitive Information DisclosureLC-15 to LC-18 (leaked configuration and repository files); RT-04 (planted key in a model reply); RT-10 (secrets in any response or log)AML.T0057 LLM Data Leakage [8]
LLM06 Unbounded ConsumptionRT-03 (flooding), RT-04 (per-visitor limit and hourly budget), RT-09 (rate-limit evasion)None mapped
LLM08 Hidden Context ExposureLC-01 (request to print the system prompt); RT-04 (prompt-leak reply)None mapped
LLM10 Improper Output HandlingRT-04 (bad model reply cleaned before display); RT-07 (hostile story-model output)None mapped
Bar chart of how many exercise cases map to five OWASP 2026 entries: LLM01 6, LLM02 6, LLM06 3, LLM08 2, LLM10 2. Five entries have no case.
Figure 3. Cases mapped to OWASP LLM Top 10 (2026). Our mapping of exercise cases to the 2026 OWASP Top 10 for LLM Applications. Entries LLM03, LLM04, LLM05, LLM07 and LLM09 have no case, because the tested applications have no tools, no fine-tuning, no third-party model weights and no vector store exposed to visitors.
Show the data table for Figure 3
Data for Figure 3.
OWASP entry (2026)Cases
LLM01 Prompt Injection6
LLM02 Sensitive Information Disclosure6
LLM06 Unbounded Consumption3
LLM08 Hidden Context Exposure2
LLM10 Improper Output Handling2

Five entries have no case: Excessive Agency (LLM03), Supply Chain (LLM04), Data and Model Poisoning (LLM05), Misinformation (LLM07) and Vector and Embedding Weaknesses (LLM09). For the first, our models have no tools and cannot send, buy or delete; for the last, the chat has no vector store. Supply chain and poisoning risks sit with the hosted model providers and are out of scope for a black-box exercise; misinformation is handled by grounding the chat in a fixed knowledge text and is not measured here. These are gaps in coverage, not findings of safety. The remaining cases (staff sign-in, webhooks, headers, cross-origin rules) are classic web security controls that protect the LLM applications' surroundings.

6. Discussion and lessons

Score detection separately from prevention. Both gaps we fixed were refusals that worked but left no trace. A pass/fail test of the guard alone would have scored them as passes. For a small team, a refusal that is not logged is a refusal nobody can learn from.

Tag every test, and keep test events apart. The run identifier on every live request lets the blue side confirm the exact event, lets real alerts ignore tests, and lets a reader of the logs tell a drill from an attack.

Read back from the store, not only from the response. The response header proves the guard fired; reading the database proves the event was kept. We do both.

Keep live checks boring. One request a second, one request per check, our own hosts only, no payloads that could cause harm if a guard failed. The value is in repetition every week, not in the strength of a single attack.

Prefer settings over prompts. For scheduled AI tasks that cannot be attacked offline, we ask four questions on paper (indirect injection, exfiltration, unauthorized spend, destructive action) and accept a task only when each answer is "no" because of a setting, such as fixed recipients or no attached tools, not only because the prompt says so.

In NIST AI RMF terms [4], the weekly exercise is part of Measure (testing and tracking of identified risks) and Manage (responding to what the tests find); it does not address Govern or Map, which we document elsewhere.

7. Limitations

  • One request per check on our own systems shows that each guard works; it does not show behavior under heavy traffic or a determined, adaptive attacker.
  • Pattern screening is bypassable by novel phrasing. The design relies on later layers (output checks, no tools, no write actions) for that reason, and the offline list has 24 strings, not a benchmark.
  • The exercise is black-box with respect to the hosted model; we did not test the model itself, its provider or Cloudflare's systems.
  • Social engineering was a tabletop discussion only.
  • The OWASP and ATLAS mappings are our own judgment and cover five of ten OWASP entries.
  • Six exercise items were open after the November 30 exercise, none rated High: configuration steps awaiting the owner, one process item and one hardening item. Their details are withheld from this public version.
  • This is an internal exercise, not a certification, audit opinion or penetration-test attestation. The company holds no security certification at this time.

8. Reproducibility

The offline suite runs with Node.js on a clean checkout after installing one dependency of the storybook app; the live checks run from a GitHub Actions workflow and print a table of every check with HTTP status, rule, time and result. The live-check results used in this report were taken from the job logs of four workflow runs (November 30, 2026 at 20:07, 20:13 and 20:20 UTC; December 1, 2026 at 19:18 UTC); the run of record matches the times in our internal exercise report exactly. On December 3, 2026 we tried to rerun the offline suite in our writing workspace, but its one storybook dependency could not be installed there (no package-registry access); we therefore cite the December 2 continuous-integration run (33 of 33). The source code, attack list and runbook are proprietary and are not published; the method above is complete enough to rebuild an equivalent exercise.

9. Conclusion

A small organization can purple-team its own LLM applications every week with fixed, harmless cases and a scoring rule that demands evidence from the logs. In our November 30, 2026 exercise every attack was prevented, 40 of 41 were detected, and the two refusals that had been invisible were made visible the same day. The method is cheap; its value comes from running it every week and from treating "prevented but not seen" as a finding.

References

  1. OWASP GenAI Security Project. OWASP GenAI LLM Top 10 2026 (OWASP Top 10 for Large Language Model Applications, 2026 release). https://genai.owasp.org/home/resources/owasp-genai-llm-top-10-2026/
  2. OWASP GenAI Security Project. GenAI-LLM-Top10 repository README: list of the 2026 entries (LLM01:2026 to LLM10:2026). https://raw.githubusercontent.com/GenAI-Security-Project/GenAI-LLM-Top10/main/README.md
  3. MITRE. MITRE ATLAS (Adversarial Threat Landscape for AI Systems) fact sheet. https://atlas.mitre.org/pdf-files/MITRE_ATLAS_Fact_Sheet.pdf
  4. National Institute of Standards and Technology. Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1, January 2023. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf
  5. National Institute of Standards and Technology. Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, NIST AI 600-1, July 26, 2024. https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence
  6. MITRE D3FEND. Offensive technique AML.T0051, LLM Prompt Injection (ATLAS technique). https://d3fend.mitre.org/offensive-technique/attack/AML.T0051/
  7. MITRE D3FEND. Offensive technique AML.T0054, LLM Jailbreak (ATLAS technique). https://d3fend.mitre.org/offensive-technique/attack/AML.T0054/
  8. MITRE D3FEND. Offensive technique AML.T0057, LLM Data Leakage (ATLAS technique). https://d3fend.mitre.org/offensive-technique/attack/AML.T0057/
How to citeViper Consulting™ Research. (2026). Weekly Purple Teaming for a Small Organization's LLM Applications: Design and Results. Viper Consulting™ Technical Report VC-TR-2026-01, version 1.0, December 3, 2026. https://viperconsulting.ai/research/weekly-purple-teaming-llm-applications

Version history. Version 1.0, December 3, 2026: first publication. PDF: https://viperconsulting.ai/research/weekly-purple-teaming-llm-applications.pdf

Viper Consulting™ Technical Report. Not peer reviewed. Built only from our own measured results and the public sources cited. Viper Consulting™ is not affiliated with or endorsed by the USPTO, NIST, OWASP or MITRE. © 2026 Epstein Investment Group LLC d/b/a Viper Consulting™. All rights reserved.

← All reportsVC-TR-2026-02 →