Back to skill

Security audit

Context Mode

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent and disclosed, but it stores prompts and work history in a project file and can resume work automatically without fresh confirmation.

Review before installing. Use it only in projects where persistent local logging is acceptable, add session.log to ignore rules, avoid putting secrets in prompts or commands while it is active, and prefer changing the resume behavior to summarize state and ask for confirmation before taking action.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
Findings (2)

T02 · Agent Memory Poisoning

Warning
Location
SKILL.md:66
Finding

Untrusted Session Log Can Poison Future Agent Actions

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:66
Finding

Plaintext Session Logging Can Expose Sensitive Prompts and Command Information

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill instructs continuous creation and updating of a session log that includes user prompts, commands, files edited, and task state, but provides no privacy notice, retention policy, or consent step. This creates a clear data persistence risk because sensitive natural-language content may be written to disk in the project root and later exposed to other users, tools, or commits.

Content

No source excerpt is available for this finding.

Ssd 4

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill establishes a persistence-and-resume workflow that stores context across resets and instructs the agent to continue work from stored state automatically. While intended for usability, this normalizes ongoing autonomous action based on retained context, which can amplify mistakes, bypass renewed user intent checks, and compound the impact of stale or sensitive state carried forward.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Persisting the user's most recent instruction verbatim in a long-lived session log creates a natural-language data retention channel that may capture secrets, credentials, proprietary details, or personal information. Because the file is stored in the project root, it is especially prone to accidental sharing through source control, backups, or team access.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The resume behavior explicitly requires reloading and resurfacing prior user input from the log, which can reveal sensitive content in later sessions beyond the original context. This increases exposure because the system is designed to proactively present old user data rather than waiting for an explicit request to restore it.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The auto-resume flow reads prior session data from disk and echoes the last user prompt back into a new session without warning. Resurfacing stored content can expose secrets, personal data, or confidential instructions to anyone reopening the workspace or reviewing logs, even if they were not present in the original session.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

The instruction to continue from the last task in progress without asking for instructions authorizes autonomous decision-making based on stored state rather than fresh user confirmation. In a skill that persists prompts and task context across resets, this is more dangerous because the agent may act on outdated, incomplete, or sensitive instructions after environment or ownership changes.

Content

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

Maintain a running session log at ./session.log. Write to it after every file edit and every command run. Track: files edited, commands run, tasks in progress, last user prompt, last action taken. Format defined in Context Mode skill.

Auto-Resume

At the start of every new session, check for ./session.log. If it exists, read it and announce the resume state. Continue from the last task in progress without asking for instructions.

text

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger phrases are broad enough that ordinary user requests like 'set up session logging' or 'keep track of what you've done' could unintentionally activate persistent logging and resume behavior. In this skill, accidental activation matters because it changes data handling and autonomy defaults for the whole session, potentially causing logging of sensitive prompts without explicit consent.

Content

No source excerpt is available for this finding.