Back to skill

Security audit

Life Alignment

Security checks for vulnerabilities and agentic risk

Overview

This planning skill is not malicious, but it asks an agent to build persistent personal profile files from sensitive life information without enough user-control or retention guidance.

Install only if you are comfortable with the agent maintaining a long-lived plaintext personal profile in its workspace. Before using journals, test results, resumes, or private notes, decide what may be stored, review proposed file updates, and periodically delete or trim the durable files if they contain sensitive details.

Vulnerability Patterns
  • 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
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:75
Finding

Persistent Plaintext Storage of Sensitive Personal Profiles

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:75-82; references/file-contracts.md:1-93; references/bootstrap-questionnaire.md:9; references/templates.md:5-161
Vulnerability Type: Persistent plaintext storage of sensitive personal information
Risk Level: Medium

Vulnerable Code Snippets

SKILL.md:75-82:

markdown
### 5. Maintain the user model carefully

- Record stable traits, preferences, goals, and repeated patterns in durable files.
- Separate stable identity from temporary mood, burnout, overload, or frustration.
- For major changes to values, life direction, or self-definition, require repeated confirmation across multiple turns before rewriting stable sections.
- When the user rejects your understanding, correct it explicitly and update the model.
- Treat repeated behavior and repeated dilemmas as evidence, not just explicit self-description.

references/file-contracts.md:1-93:

markdown
# File Contracts

These files form the durable model of the user and should live in the agent workspace.

## Required Files

### `USER.md`

Purpose:

- Stable facts about the user
- Work style, decision style, energy patterns, anti-patterns
- Preferences that affect advice quality
- Repeated friction patterns and helpful patterns

Write here:

- repeated stable traits
- repeated friction patterns
- repeated strengths
- collaboration preferences
- known constraints
- open but important unknowns

Do not write here:

- one-off moods
- transient scheduling details
- unconfirmed identity shifts

Suggested sections:

- Basic facts
- Current phase
- Stable traits
- Repeated strengths
- Repeated failure modes
- Collaboration preferences
- Constraints
- Known unknowns

### `IDENTITY.md`

Purpose:

- The user's higher-level self-model
- Values, life view, meaning, and the kind of person they are trying to become
- Identity-level anti-goals and de
...[truncated 5198 chars]
Remediation
View remediation

Remediation Suggestions

  1. Require explicit, informed opt-in before creating any durable profile file. Explain what will be stored, where it will be stored, and how long it will remain.
  2. Present proposed additions to the user before persistence, particularly for identity, behavioral, health-adjacent, relationship, or private-journal content.
  3. Apply data minimization: retain concise decision-relevant summaries rather than raw excerpts or complete imported artifacts.
  4. Explicitly prohibit storage of passwords, API keys, authentication tokens, government identifiers, payment information, medical records, and unnecessary private correspondence.
  5. Redact direct identifiers and sensitive third-party information before writing durable files.
  6. Create files with restrictive permissions, such as owner-only read and write access, where the host platform supports it.
  7. Use encrypted storage or a platform-provided protected memory facility when available.
  8. Define retention and expiration rules. Remove stale heartbeat items and periodically request confirmation that other personal-profile entries should remain stored.
  9. Provide clear commands or documented procedures to inspect, correct, export, and permanently delete the complete durable model.
  10. Warn users before processing journals, resumes, test results, or prior notes that summaries may be persisted.
  11. Treat all imported artifacts as untrusted data. Never convert instructions embedded in those artifacts into agent rules, decision rules, or durable behavioral directives.
  12. Document the workspace trust boundary and warn against storing profile files in shared directories or committing them to source-control repositories.
Vulnerability Patterns
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

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

md
The user should not need to say the skill name every time.
If the conversation is clearly about life planning, real-world tradeoffs, action alignment, or proactive follow-up, run this skill's workflow automatically.

## Output Rules

- Start by naming the real problem when that adds clarity.
- Give the recommendation early.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill auto-activates whenever a conversation is 'clearly about life planning, real-world tradeoffs, action alignment, or proactive follow-up,' which is a broad set of common topics. That can cause unintended invocation and override user expectations about when this specialized workflow should run, especially in a dedicated agent where many ordinary discussions may loosely fit those categories.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The default prompt says to "Use $life-alignment-agent" for broad activities like planning, triage, and decision support, but the manifest does not define any scope limits, exclusion conditions, or negative examples. This makes activation intent ambiguous and increases the risk of unintended invocation for common planning-related requests.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file explicitly instructs the agent to maintain durable workspace files containing highly sensitive personal information, including identity-level beliefs, values, recurring failure modes, constraints, and decision history, but it provides no privacy warning, data-minimization guidance, retention limits, or handling restrictions. In a personal planning agent, this creates a real risk of over-collection and long-term retention of intimate profile data that could be exposed to other tools, later prompts, logs, or unauthorized access within the workspace.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The trigger example 'I just woke up. What should I do now?' is ordinary everyday speech that could plausibly appear in unrelated conversation. In systems using fuzzy trigger matching, generic examples like this increase the chance of accidental activation of the skill.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

The phrase 'Help me align today's actions with my long-term goals' is still fairly generic and may overlap with normal productivity or coaching requests outside this exact skill. While not overtly dangerous, it broadens the skill's activation surface and can lead to unintended routing in multi-skill environments.

Content

No source excerpt is available for this finding.