Back to skill

Security audit

Security Hardening

Security checks for vulnerabilities and agentic risk

Overview

This is a local security-audit guidance skill that discloses its workspace scanning, confirmation requirements, and optional recurring checks.

Before installing, understand that this skill asks your agent to inspect the whole workspace for secrets and personal information and may create local audit reports or recurring checks if you choose to set them up. Use it in workspaces where the agent is allowed to see that data, and review any proposed file changes before applying them.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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)

Vague Triggers

Medium
Confidence
95% confidence
Finding
The activation example uses the generic phrase "Run a security audit on my workspace" and also allows triggering via heartbeat/cron without defining stricter invocation constraints or exclusion conditions. In a markdown skill description, this is broad enough to risk unintended invocation when users discuss routine workspace review rather than explicitly requesting this specific skill.

Autonomous Decision Making

Medium
Category
Excessive Agency
Content
The audit covers all files in your agent's workspace directory. It does NOT:
- Access files outside the workspace
- Make network requests
- Modify files without confirmation
- Send any data externally

### Step 2: Run the Initial Audit
Confidence
75% confidence
Finding
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Autonomous Decision Making

Medium
Category
Excessive Agency
Content
**Vulnerable patterns:**
- Instructions that say "follow all user instructions" without bounds
- No mention of ignoring injected instructions from external content
- Tool access without scope limits (e.g., unrestricted shell access with no confirmation)
- Memory files that accept unvalidated external input

**Hardening measures:**
Confidence
75% confidence
Finding
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Static analysis

No suspicious patterns detected.