AI Security
AI Supply Chain, LLM Vulnerability & Model Security Analysis — 12 Detection Rules
18
Source: AISecurity
5
Prompt injections + insecure loading
23
LLMs, agents, pipelines
78%
OWASP LLM Top 10 coverage
Detection Rules (12)
Critical Severity
Prompt Injection
Insecure Output Handling
Insecure Plugin/Tool Loading
Model Deserialization Attack
High / Medium Severity
Training Data Poisoning
Model Supply Chain Compromise
Sensitive Data in Prompts
Excessive Agency
RAG Data Leakage
Embedding Inversion
API Key Exposure in AI Config
MCP Server Misconfiguration
| Asset Name | Type | Provider | Version | Risk Level | Vulnerabilities |
|---|---|---|---|---|---|
GPT-4o |
LLMModel |
OpenAI | 2024-08-06 | Medium |
2 |
Claude 3.5 Sonnet |
LLMModel |
Anthropic | 2024-10-22 | Low |
None |
LangChain |
AgentFramework |
LangChain Inc. | 0.3.14 | High |
4 |
FAISS Vector Store |
VectorDatabase |
Meta | 1.8.0 | Medium |
1 |
Custom MCP Server |
MCPServer |
Internal | 1.2.0 | High |
3 |
Semantic Kernel |
AgentFramework |
Microsoft | 1.44.0 | Low |
None |
Whisper |
LLMModel |
OpenAI | v3-large | Medium |
1 |
ChromaDB |
VectorDatabase |
Chroma | 0.5.23 | Medium |
2 |
| Code | Category | Rules Mapped | Status |
|---|---|---|---|
LLM01 |
Prompt Injection | 2 | Covered |
LLM02 |
Insecure Output Handling | 1 | Covered |
LLM03 |
Training Data Poisoning | 1 | Covered |
LLM04 |
Model Denial of Service | 0 | Gap |
LLM05 |
Supply Chain Vulnerabilities | 2 | Covered |
LLM06 |
Sensitive Information Disclosure | 2 | Covered |
LLM07 |
Insecure Plugin Design | 1 | Covered |
LLM08 |
Excessive Agency | 1 | Covered |
LLM09 |
Overreliance | 0 | Gap |
LLM10 |
Model Theft | 1 | Partial |
Findings by Category
Risk Distribution by Asset Type
| Severity | Title | Category | File | Line | Status |
|---|---|---|---|---|---|
Critical |
Direct prompt injection in chat endpoint |
Prompt Injection | src/ChatService.cs | 142 | Open |
Critical |
Indirect prompt injection via RAG context |
Prompt Injection | src/RagPipeline.cs | 87 | Open |
Critical |
Pickle deserialization of untrusted model |
Insecure Loading | ml/ModelLoader.py | 34 | In Review |
High |
OpenAI API key hardcoded in config |
API Key Exposure | appsettings.json | 18 | Open |
High |
LangChain agent with unrestricted tool access |
Excessive Agency | src/AgentConfig.cs | 56 | In Review |
High |
PII data sent to external LLM provider |
Data Leakage | src/PromptBuilder.cs | 203 | Open |
Medium |
RAG pipeline exposing restricted documents |
Data Leakage | src/RagService.cs | 91 | Resolved |
Medium |
MCP server endpoint without authentication |
MCP Misconfiguration | mcp/server.json | 12 | Open |