AgentReadyHomeAgent Listing

← SonarQube

SonarQube — agentic threat model

4.3AIVSS 4.3 · Medium

This agentic plugin acts as a security and quality gatekeeper within Claude Code, operating with low autonomy but high integration into the development lifecycle. Its primary risk lies in the potential bypass or manipulation of its static analysis and secrets scanning hooks, which could allow malicious code or secrets to slip through to the LLM or repository.

OWASP AIVSS score rationale

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

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 integrates with Claude Code, but the underlying foundation model's specific vulnerabilities (e.g., prompt injection to bypass the plugin's rules) are managed by the host environment rather than SonarQube itself.

L2 · Data Operations✓ mapped

The plugin processes file edits and code repositories to perform analysis. Risks include data exfiltration of sensitive source code or intellectual property if the plugin's telemetry or reporting channel is compromised.

L3 · Agent Frameworks✓ mapped

The plugin hooks directly into the agent framework via Pre-tool and PostToolUse hooks. A vulnerability in how these hooks are registered or executed could allow an attacker to bypass the quality gates or disable secrets scanning entirely.

L4 · Deployment & Infrastructure⚠ not certain from listing

Not certain from the listing — The deployment context is inside Claude Code (likely local developer environments or CI/CD containers). If the plugin executes local binaries for analysis, there is a risk of local privilege escalation or arbitrary code execution via malformed source files.

L5 · Evaluation & Observability✓ mapped

This plugin is fundamentally an observability and guardrail tool, applying 7,000+ rules and 450+ secret patterns. The primary threat is evasion (evaluation gaming) where malicious code is structured to bypass the static analysis patterns.

L6 · Security & Compliance (cross-cutting)✓ mapped

The plugin enforces compliance and security policies (quality gates) across 40+ languages. Compromise of the rule configuration could lead to compliance failures or silent acceptance of vulnerable code.

L7 · Agent Ecosystem✓ mapped

As a plugin within Claude Code, it interacts directly with the primary coding agent. If another compromised agent in the ecosystem modifies the workspace, this plugin must reliably detect those changes without cascading failures.

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