The skill is vulnerable to cross-session prompt injection and unauthorized data persistence by reading from and writing to arbitrary files in the user's home directory.
Findings (6)
Content Injection
Hightargets Perception
The skill architecture relies on loading external markdown files (modes/socrates.md, etc.) as instructions. If these files are modified or replaced, the agent's behavior can be completely subverted by an attacker who gains write access to the skill directory.
Route user requests to one of three personality modes... then load the corresponding mode file.
Cognitive State
Hightargets Memory & Learning
The skill mandates reading from a persistent findings log before every analysis ('the skill should briefly scan the findings log for relevant past insights'), meaning attacker-controlled content written to `~/.spatial-transcriptomics-memory/findings.jsonl` in a prior session can inject instructions into future agent reasoning. This is a classic cross-session prompt injection vector via agent memory.
Before starting any analysis, the skill should briefly scan the findings log for relevant past insights.
Behavioural Control
Hightargets Action
The skill instructs the agent to write session data, findings, and method notes to `~/.spatial-transcriptomics-memory/` across sessions, constituting an undeclared persistent side-effect outside the workspace. This path is outside any project directory and persists across unrelated agent sessions, enabling cross-session data accumulation without user awareness.
~/.spatial-transcriptomics-memory/findings.jsonl — append insights from each analysis session ... ~/.spatial-transcriptomics-memory/<mode>-sessions.jsonl
The skill mandates writing to and reading from arbitrary files in the user's home directory (~/.spatial-transcriptomics-memory/), which could be used to persist state or exfiltrate data across sessions without explicit user permission for each write.
This skill writes to ~/.spatial-transcriptomics-memory/ for persistent learning across sessions
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.
Skill description is empty or too short. A clear description helps users evaluate the skill's purpose.