# owasp/www-project-top-10-for-large-language-model-applications architecture

> Architecture diagram of the GitHub repository owasp/www-project-top-10-for-large-language-model-applications, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/owasp/www-project-top-10-for-large-language-model-applications
- Repository: https://github.com/owasp/www-project-top-10-for-large-language-model-applications

## Overview

##### Project Type Analysis
This is a documentation and guidance project focused on security risks in LLM applications. The system design should reflect both the content organization and the project's operational structure.

##### Main Components

a. Content Structure Layer:
- Top 10 LLM Vulnerabilities Documentation
- Translations Repository
- Archive System
- Data Gathering Framework
- Governance Documentation

b. Operational Layer:
- GitHub Pages Deployment System
- PDF Generation Pipeline
- Community Contribution System
- Version Control Management

**┌─ Public Access Layer ─────────────────────┐**
- Website (GitHub Pages)                  │
- PDF Documentation                       │
- Multiple Language Support               │
- ┘

**┌─ Documentation Management ─────────────────┐**
- ┌─ Core Content ─┐ ┌─ Supporting Docs ─┐  │
- LLM Top 10  │ │ - Governance      │  │
- Translations│ │ - Solutions       │  │
- ┘ └─────────────────────┘ │
- ┘

**┌─ Project Infrastructure ─────────────────┐**
- GitHub Repository                      │
- Automated Workflows                    │
- Version Control                        │
- ┘

##### Component Relationships
- Content flow (blue)
- Build processes (green)
- Community contributions (orange)

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Public_Access
        Website["Website (GitHub Pages)"]
        PDF["PDF Documentation"]
        Lang["Multiple Language Support"]
    end

    subgraph Documentation_Management
        subgraph Core_Content
            Vulns["Top 10 LLM Vulnerabilities"]
            Trans["Translations"]
        end
        
        subgraph Supporting_Docs
            Gov["Governance Documentation"]
            DataGather["Data Gathering Framework"]
        end
    end

    subgraph Project_Infrastructure
        Repo["GitHub Repository"]
        PDF_Gen["PDF Generation Pipeline"]
        Archive["Archive System"]
        Contrib["Community Contribution System"]
    end

    %% Relationships
    Website --> Vulns
    Website --> Trans
    Website --> Gov
    
    PDF_Gen --> PDF
    Vulns --> PDF_Gen
    Trans --> PDF_Gen
    
    DataGather --> Vulns
    Contrib --> Vulns
    Contrib --> Trans
    
    Repo --> Archive
    Vulns --> Archive
    Trans --> Archive

    %% Click Events
    click Vulns "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main//2_0_vulns/"
    click Trans "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main//2_0_vulns/translations/"
    click Archive "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main//Archive/"
    click PDF_Gen "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main//markdown-to-pdf/"
    click DataGather "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main//data_gathering/"
    click Gov "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main//llm-top-10-governance-doc/"
    click Contrib "https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/blob/main//CONTRIBUTING.md"

    %% Styling
    classDef public fill:#f9f,stroke:#333
    classDef core fill:#bbf,stroke:#333
    classDef support fill:#bfb,stroke:#333
    classDef infra fill:#fbb,stroke:#333

    class Website,PDF,Lang public
    class Vulns,Trans core
    class Gov,DataGather support
    class Repo,PDF_Gen,Archive,Contrib infra
```
