Back to skill

Security audit

Agent Memory Hygiene

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign: the completed scan reported no AIG findings, while Skillspector flagged a credential-rotation instruction; the overall confidence is medium and inspection was incomplete.

Consider whether you are comfortable with a workflow that may direct credential changes, which could interrupt applications or integrations. Review that step carefully before installing; scan coverage was incomplete because Skillspector could only partially inspect the artifact.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

The workflow instructs credential rotation without warning that it can disrupt dependent systems.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The instruction to "remove and rotate if found" goes beyond cleaning memory and directs changes to live credentials. The skill does not warn that rotation can invalidate credentials used by applications or integrations, potentially interrupting access or service.

Content

No source excerpt is available for this finding.