AgentReadyHomeAgent Listing

← clangd-lsp

clangd-lsp — agentic threat model

7.1AIVSS 7.1 · High

The clangd-lsp plugin presents a moderate security risk primarily centered on local data exposure and potential parser exploitation. Because it indexes local C/C++ codebases to provide diagnostics to Claude, vulnerabilities in the underlying clangd binary or malicious codebases could lead to local code execution or intellectual property leakage.

OWASP AIVSS score rationale

AIVSS = (CVSS_Base + AARS) × Mitigation_Factor, where AARS = (10 − CVSS_Base) × (Factor_Sum / 10) × ThM
CVSS base 7.5AARS uplift 0.42Factor sum 1.7/10Threat ×1.0Mitigation ×0.9
Autonomy of Action
0.20
Goal-Driven Planning
0.10
Self-Modification
0.00
Dynamic Tool Use
0.30
Persistent Memory
0.40
Contextual Awareness
0.50
Dynamic Identity
0.00
Multi-Agent Interactions
0.00
Non-Determinism
0.10
Opacity & Reflexivity
0.10

Scored with the canonical OWASP AIVSS formula (AIVSS calculator reference); agentic risk factors estimated from the agent’s described capabilities.

MAESTRO 7-layer threat model

Per-layer threats for this agent. Layers tagged “not certain from listing” are general, caveated commentary where the public description didn’t pin that layer.

L1 · Foundation Models⚠ not certain from listing

Not certain from the listing — The plugin itself does not define the foundation model, but it feeds C/C++ diagnostics to Claude. Threats include Claude being misled by manipulated diagnostics or code comments designed to prompt-inject.

L2 · Data Operations✓ mapped

The plugin performs background indexing of local C/C++ source files (.c, .h, .cpp, .hpp). Threats include indexing malicious or poisoned codebases, which could exploit parser vulnerabilities in clangd or leak intellectual property.

L3 · Agent Frameworks✓ mapped

Integrates via the plugin manifest's lspServers config. Threats include insecure tool integration where Claude might execute arbitrary commands or write malicious code back to the filesystem if write-access is permitted.

L4 · Deployment & Infrastructure⚠ not certain from listing

Not certain from the listing — The deployment environment (local machine vs. sandboxed container) is not specified. If run locally without sandboxing, a vulnerability in clangd could lead to host compromise.

L5 · Evaluation & Observability⚠ not certain from listing

Not certain from the listing — No built-in logging, guardrails, or observability mechanisms are described for monitoring the LSP's interactions with Claude.

L6 · Security & Compliance (cross-cutting)⚠ not certain from listing

Not certain from the listing — There is no mention of access control, authentication, or compliance frameworks governing which files the LSP is allowed to index.

L7 · Agent Ecosystem✓ mapped

The plugin acts as a specialized tool within Claude's ecosystem. Threats include cascading failures if other plugins rely on corrupted LSP diagnostics or if Claude passes this data to untrusted external agents.

MAESTRO — the 7-layer agentic threat-modeling framework (Cloud Security Alliance / Ken Huang).