Back to skill

Security audit

session-closeout

Security checks for vulnerabilities and agentic risk

Overview

This skill appears benign: it performs a disclosed read-only workspace closeout check and does not write files, contact external services, or install persistence.

Before installing, understand that the skill will read workspace file metadata and git status to summarize unfinished work. Its output may include workspace paths and dirty repo names, so review the summary before sharing it externally.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · SKILL.md (reported line 51)May include surrounding context.

md
## Read the output

The script prints `key=value` lines. Summarize these for the user, then record
the session outcome yourself if you keep session notes.

| Key | Values |