Back to skill

Security audit

Atlas Framework

Security checks for vulnerabilities and agentic risk

Overview

This markdown-only framework is not malicious, but it should be reviewed because it directs broad automatic workspace memory reads and persistent setup without clear user consent.

Review this skill before installing. It is mainly a development methodology, but it can cause an agent to read existing project memory/log files and create persistent memory databases automatically. Install it only where project-local memory is intended, and avoid using it in workspaces that may contain private historical notes, secrets, or unrelated project context unless you add your own consent, scope, and deletion controls.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:117
Finding

Automatic Persistent Memory Access and Initialization Without Explicit User Consent

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 117–123 and 164–172
Vulnerability Type: Persistent data access beyond the immediate task scope
Risk Level: Medium

Relevant Skill Instructions:

markdown
## Memory System

The framework includes a persistent memory system for cross-session continuity.

### Loading Memory

At session start, load memory context:
- Read `memory/MEMORY.md` for curated long-term facts
- Read today's log: `memory/logs/YYYY-MM-DD.md`
- Read yesterday's log for continuity
markdown
## First Run Initialization

On first session in a new environment:

1. Check if `memory/MEMORY.md` exists
2. If missing, create the folder structure:
   - `memory/logs/`
   - `data/`
3. Create `MEMORY.md` with template
4. Initialize SQLite databases for memory and activity tracking

Technical Analysis

The skill directs the agent to read persistent memory and recent activity logs automatically at session startup. It also directs the agent to create persistent memory files, directories, and SQLite databases when they do not already exist.

These actions are not conditioned on explicit user authorization, a demonstrated need for the current task, or a clearly defined filesystem boundary. Consequently, activating the skill for a general application-development task could cause the agent to access historical information unrelated to the current request. The loaded files could contain private user data, confidential project information, or untrusted content from earlier sessions.

The instructions also lack controls governing what information may be retained, how long it may be retained, and when it must be deleted. They do not explicitly prohibit storing credentials, tokens, raw conversations, or other sensitive information.

The audited file does not instruct the agent to exfiltrate memory, execute content loaded from memory, or write attacker-controlled rules into ...[truncated 1757 chars]

Remediation
View remediation

Remediation Suggestions

  1. Require explicit, informed user consent before reading existing memory files or enabling cross-session persistence.
  2. Disable persistent memory by default and make it an opt-in capability for tasks that genuinely require continuity.
  3. Restrict all memory access to a canonicalized, user-approved, project-local directory. Reject path traversal, symbolic-link escapes, and paths outside that boundary.
  4. Request authorization separately before creating files, directories, or SQLite databases.
  5. Define an allowlisted schema for retained information and prohibit storage of credentials, API keys, authentication tokens, raw conversations, personal data, and unrelated project content.
  6. Apply data minimization, expiration periods, size limits, deletion controls, and an auditable record of memory reads and writes.
  7. Treat loaded memory as untrusted reference data. Never interpret its contents as system instructions, executable commands, or authorization to invoke tools.
  8. Load only memory entries explicitly associated with the active project and task rather than automatically loading current and previous daily logs.
  9. Document the exact files accessed, the reason for access, the retention period, and how users can inspect or delete stored information.
  10. Use restrictive filesystem permissions and parameterized SQLite operations in any future implementation of the documented memory system.
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

├── hardprompts/ — Reusable instruction templates ├── memory/ — Persistent memory system ├── .tmp/ — Temporary work (disposable) ├── .env — API keys + environment variables └── CLAUDE.md — System instruction file

text

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill’s activation scope is extremely broad—covering building applications, workflows, AI frameworks, databases, and integrations—without meaningful exclusion criteria. That makes it likely to trigger in many ordinary development contexts and steer agent behavior unexpectedly, increasing the chance of unreviewed architectural, file, or workflow changes.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The initialization section instructs the agent to create directories, files, and SQLite databases automatically in a new environment, but does not require prior user approval or warn that the workspace will be modified. In agent settings with write permissions, this can cause unexpected persistence, state pollution, or modification of repositories and local environments.

Content

No source excerpt is available for this finding.