Back to skill

Security audit

architecture-review

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: the scanners found no AIG issues, but Skillspector reports behaviors that appear broader than its architecture-review purpose.

Consider whether the reported operations and checks fit the architecture-review help you want, especially the examples involving order processing and user-data access. The scan covered all six listed components, but three local references were missing, so evidence about those references is incomplete; benign does not mean risk-free.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied function performs business operations rather than analyzing architecture, ADR compliance, or coupling. Its state mutation and notification call are not supporting implementation details of any architectural assessment shown here. These operations occur only if the function is called; the implementations and resource access of the notification and logging functions are not provided.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The snippet performs a database query; it does not inspect architecture or assess compliance. Although the comment labels the query as a bad architectural practice, that label does not change its executable behavior. Accessing user records is not declared or evidently necessary for the stated assessment purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied code performs an operational user-data lookup rather than architecture or coupling assessment. Although the comment illustrates a service dependency, the code does not analyze that dependency, evaluate ADR compliance, or connect the lookup to the declared assessment purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

The supplied command targets a potential SQL-injection risk rather than architectural decisions, ADR compliance, or coupling. No connection to an architectural rule is provided, making its demonstrated purpose materially different from the declaration. The command only searches source text; it does not execute SQL or modify files.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

The supplied code performs a security-oriented implementation check, not an assessment of architecture decisions, ADR compliance, or coupling. No architectural rule connects this endpoint-validation check to the declared purpose. Its heuristic also does not reliably establish missing validation: it filters individual lines rather than determining whether each endpoint validates input.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The supplied chunk performs a database-indexing check and does not evaluate architectural decisions, ADR requirements, or coupling. Although database indexing can inform design reviews, no connection to an architectural rule or decision is implemented here. The mismatch concerns the chunk's functional focus, not its ordinary file-reading behavior.

Content

No source excerpt is available for this finding.

Excessive Permissions

Low
Category
Privilege Escalation
Confidence
80% confidence
Finding

Skill requests more permissions than appear necessary for its stated functionality. Review if elevated access is justified.

Content

Scanner excerpt · modules/principle-checks.md (reported line 284)May include surrounding context.

Least Privilege

1. Minimum Permissions:

python
# Bad: Admin for everything
db_user = "admin"