Back to skill

Security audit

DSH Attacker

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with high confidence: the completed scan found some capability and description mismatches, but the verdict treats the reported findings as low-risk and expected in context.

The verdict is benign, but benign does not mean risk-free. Consider the reported installation commands and undeclared tool scope before installing. The component scan was complete, but dependency inspection was not requested, so dependencies were not assessed.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied command performs skill installation rather than the declared static-review workflow. Nothing supplied establishes that this installation is a supporting dependency for that workflow. The installed skill's name alone does not establish malicious behavior, and its contents are not available for assessment.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The only supplied command, clawhub install dsh-attacker, performs package installation rather than examining code, designs, policies, or proposed fixes. Installation is an undeclared capability in this chunk, and no evidence establishes it as a supporting implementation detail for the stated review workflow. The package name alone does not establish malicious behavior or reveal what the installed package does.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/dsh_review.py (reported line 65)May include surrounding context.

python
def _inspect(binary, root, *args):
    run = subprocess.run([binary, *args], cwd=root, env=host_environment(root),
                         stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
                         timeout=10, check=True, text=True)
    return run.stdout.strip()

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/dsh_review.py (reported line 121)May include surrounding context.

python
inject: [headlessStartup, reviewRequestGuard]
""", encoding="utf-8")
            try:
                run = subprocess.run([binary, "headless", "--patch", str(patch),
                                      "--permission-mode", "read-only", "--approval-policy", "never", "-"],
                                     input=prompt.encode(), stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
                                     timeout=timeout, cwd=work, env=host_environment(root, with_key=True))

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE.md (reported line 12)May include surrounding context.

md
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE