Back to skill

Security audit

TOSR Test Skill

Security checks for vulnerabilities and agentic risk

Overview

This is a plainly labeled temporary integration-test skill that describes real ClawHub skill lifecycle actions, including cleanup deletion, without hidden code or unrelated behavior.

Install or run this only in a test context where creating, updating, and deleting the documented test skill is acceptable. Operators should verify the target slug and environment before cleanup, but the inspected artifact does not show malicious or hidden behavior.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Tool Parameter Abuse

High
Category
Tool Misuse
Content
1. **Publish** — Creates a new skill via POST /api/v1/skills with multipart form data
2. **Inspect** — Retrieves skill metadata via GET /api/v1/skills/{slug}
3. **Update** — Publishes a new version of an existing skill
4. **Delete** — Removes the skill via DELETE /api/v1/skills/{slug}

## Notes
Confidence
86% confidence
Finding
The documented use of DELETE /api/v1/skills/{slug} is a destructive operation where the target is parameterized by slug, creating risk if that parameter is influenced incorrectly or insufficiently validated. In the context of a skill that exercises the real API lifecycle, this could delete unintended skills or enable destructive actions beyond the expected test resource.

Missing User Warnings

Medium
Confidence
96% confidence
Finding
The skill explicitly performs real publish, update, and delete operations against a live API, but the description does not prominently warn users that it is destructive and affects real resources. This creates a meaningful risk of accidental execution, unintended deletion, or misuse by operators who may assume the skill is only a harmless test artifact.

Autonomous Decision Making

Medium
Category
Excessive Agency
Content
## Notes

This skill is ephemeral and will be automatically deleted after the test completes.
If you see this skill listed on clawhub, it means a test run failed to clean up properly.
Confidence
80% confidence
Finding
The statement that the skill will be 'automatically deleted' indicates autonomous destructive behavior without describing an approval gate or user confirmation. Even if intended for cleanup, autonomous deletion against a real API can remove resources unexpectedly or mask failures if the wrong slug or environment is targeted.

Static analysis

No suspicious patterns detected.