Back to skill

Security audit

session-management

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed local session-management workflow that writes project state logs and only proposes durable Claude memory updates with approval.

Before installing, be aware that this skill is designed to retain project context on disk, including session summaries, decisions, deadlines, blockers, and possibly sensitive notes. Use it in repositories where that local record is acceptable, and review any proposed Claude memory entries before approving them because those can affect future conversations for the project.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest describes a structured session lifecycle that maintains project state across conversations via start, checkpoint, end, and heartbeat commands. However, /end also instructs the agent to derive and propose additions to ~/.claude/projects/<encoded-cwd>/memory/, which is a separate durable memory mechanism outside the state/session files described in the manifest.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill directs the agent to create and continuously modify project files that persist session history, decisions, and state, but it does not prominently warn the user at the point of use that these actions perform disk writes. In a tool that users may expect to be advisory unless told otherwise, implicit persistence can surprise users and cause unintended retention of sensitive notes, project context, or workflow metadata.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documentation states that during heartbeat the skill should 'Never silently edit state files,' which implies a non-mutating check-in unless explicitly approved. But /today step 8 instructs the agent to append a new entry to state/heartbeat-log.md, which is itself a state-file modification performed as part of heartbeat.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.