typescript-lsp — agentic threat model
This agent acts as a local developer tool providing TypeScript/JavaScript language server diagnostics and navigation. Its primary risk lies in the execution of local LSP processes and potential file-system access, but it operates with low autonomy and no independent planning capabilities.
OWASP AIVSS score rationale
| Autonomy of Action | 0.10 | |
| Goal-Driven Planning | 0.00 | |
| Self-Modification | 0.00 | |
| Dynamic Tool Use | 0.30 | |
| Persistent Memory | 0.10 | |
| Contextual Awareness | 0.40 | |
| Dynamic Identity | 0.00 | |
| Multi-Agent Interactions | 0.20 | |
| Non-Determinism | 0.10 | |
| Opacity & Reflexivity | 0.20 |
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.
Not certain from the listing — The plugin relies on Claude Code's underlying foundation model (likely Claude 3.5 Sonnet) to interpret LSP diagnostics and navigate code. It does not host or train its own model, meaning foundation-level threats like model poisoning or direct reprogramming are inherited from the host environment.
The agent operates directly on local codebase files to provide diagnostics and navigation. The primary threat is data exfiltration or unauthorized reading of sensitive local source code files if the LSP server or host agent is compromised.
The plugin integrates via the lspServers manifest to wire a language server into Claude Code. Threats include insecure tool integration where malicious workspace configurations could manipulate the LSP server path or arguments to execute arbitrary local binaries.
The LSP server is launched locally as a subprocess by the plugin manifest. If the host environment lacks sandboxing, a compromised LSP server or malicious workspace configuration could lead to local privilege escalation or host filesystem compromise.
Not certain from the listing — There is no mention of built-in guardrails, logging, or anomaly detection for the LSP interactions. It relies entirely on the parent framework (Claude Code) for telemetry and input/output validation.
Not certain from the listing — The listing does not specify any built-in authentication, authorization, or policy enforcement mechanisms. It operates under the security context and permissions of the user running Claude Code.
The plugin acts as an extension to Claude Code, representing a single-agent helper tool. The ecosystem risk is low, though a compromised LSP plugin could act as a vector to feed malicious code suggestions or false diagnostics to the primary agent.
MAESTRO — the 7-layer agentic threat-modeling framework (Cloud Security Alliance / Ken Huang).