[Release feedback] Introduce a machine-readable LLM security attack scenario and verification framework

Open
#133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active

Research direction

Read the existing 2026 release attack-scenario and testing guidance for LLM01, LLM03 and LLM09, then inspect how the repository stores scenario and content files so a proposed schema can fit that structure. The first step is to draft the schema fields listed in the proposal and map one existing indirect prompt-injection scenario to them. Done means maintainers agree on the format and a small representative scenario set is added; this is design work, not a localized edit.

Written by the indexing model from the issue text.

Description

Feedback type

Example or attack scenario

Feedback

Proposal

The 2026 release contains increasingly detailed attack scenarios for risks such as prompt injection, indirect injection through retrieved content, excessive agency, tool abuse, and vector/embedding weaknesses.

I propose introducing a machine-readable attack-scenario and security-verification format that connects each scenario to:

  • OWASP LLM Top 10 risk
  • Attack surface
  • Preconditions
  • Threat/attacker objective
  • Expected secure behavior
  • Security evidence
  • Impact/severity
  • Verification result

For example, an indirect prompt-injection scenario could be represented conceptually as:

LLM01-RAG-001
  |
  ├── Attack surface: RAG / retrieved content
  ├── Preconditions: application uses untrusted retrieved content
  ├── Objective: influence trusted instructions or trigger privileged behavior
  ├── Expected behavior: untrusted content cannot override trusted instructions
  └── Evidence:
        - retrieved context
        - model output
        - tool calls
        - authorization decisions

The intention is not to create a new pentesting product or maintain a large collection of jailbreak payloads.

Instead, the repository could provide a standardized security-test schema and a small set of representative scenarios that AppSec engineers can implement against their own LLM applications.

This could eventually allow the same OWASP risk definition to be consumed by documentation, testing tools, and security assessment workflows.

Expected outcome

The LLM Top 10 would provide not only descriptions of risks and mitigations, but also a consistent structure for translating those risks into repeatable security verification activities.

This would help reduce differences in how AppSec teams interpret and test the same LLM security risk.

Supporting evidence

The proposal builds on the existing attack scenarios and testing guidance in the 2026 release, particularly the detailed treatment of prompt injection and indirect prompt injection.

Relevant supporting material:

  • OWASP GenAI LLM Top 10 2026
  • LLM01: Prompt Injection
  • LLM03: Excessive Agency
  • LLM09: Vector and Embedding Weaknesses

The proposed schema would structure existing security guidance rather than introduce an unrelated testing taxonomy.

Acknowledgments
  • I searched existing issues and discussions for this topic.
  • I agree to follow the OWASP Code of Conduct.
Dominant language
JavaScript
Stars
177
Forks
57
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/GenAI-LLM-Top10

All issues in GenAI-Security-Project/GenAI-LLM-Top10

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.