oathe / scan / reports / caution
Is 7d-codes/memory-pill safe?
Use with caution. 7d-codes/memory-pill is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the memory-pill skill by 7d-codes a trust score of 74/100 with 10 findings (2 high).
https://github.com/openclaw/skills/tree/main/skills/7d-codes/memory-pill
Is 7d-codes/memory-pill safe to install?
Memory Pill is a functionally legitimate AI memory/productivity skill that addresses real statelessness problems, but it overreaches by injecting system-wide behavior overrides (Execution Discipline Protocol, Agent-First spawning rule, Voice/Style personality modification) that affect all agent interactions rather than just memory management. The most significant risk is the promoted cron job that installs a nightly external binary ('memory-pill maintenance') with unverified network and filesystem behavior, which operates on the same structured PII data store (client contacts, financial constraints, relationships) that the skill instructs the agent to build. Installation was clean with no malicious behavior detected during the clone process itself.
What security issues were found in 7d-codes/memory-pill?
Category Scores
Findings (10)
HIGH Cross-Domain Behavior Override: Execution Discipline Protocol Injected for All Tasks -22 ▶
The Execution Discipline Protocol mandates that the AI apply structured decomposition, assumption declaration, single-layer execution, loop prevention, and completion validation to every non-trivial task without exception. This is a system-wide behavior override that affects all user interactions, not just memory management. The protocol is attributed to '@thejayden's EXECUTION_DISCIPLINE_PROTOCOL v1.0' — an external workflow being injected into the agent's core reasoning loop.
Evidence: ## Execution Discipline Protocol ... Apply this to EVERY non-trivial task. No exceptions. ... PLAN BEFORE EXECUTION. No output generation until the task is decomposed. ... CORE RULE: No solving before structure.
HIGH Persistent Cron Job Installing External Binary Execution at 3 AM -25 ▶
The skill instructs the agent to register a nightly cron job that invokes 'memory-pill maintenance' — an external binary not included in the skill package. The binary receives --extract-facts, --index, and --archive-old-notes flags with unrestricted access to the workspace. If this binary is compromised, updated, or malicious, it silently executes nightly while the user is asleep with access to all aggregated user data. The cron job is framed as optional but heavily promoted.
Evidence: openclaw cron add --name "memory-pill-maintenance" --schedule "0 3 * * *" --command "memory-pill maintenance --extract-facts --index --archive-old-notes" ... Or the skill can set this up automatically on first use — just ask.
MEDIUM Personality Override: Voice and Style Guide Alters AI Communication Behavior -15 ▶
The Voice & Style Guide section instructs the AI to adopt a specific persona including 'swear without restraint', 'Actually disagree when wrong', and forbidden phrases that prohibit standard AI safety communication patterns ('As an AI...', 'I'd be happy to help!'). These instructions persist in the agent's system context and modify behavior across all user interactions, potentially bypassing tone safety guardrails.
Evidence: ## Tone - Brief, no fluff - Authentic, swear without restraint - Actually disagree when wrong ... ## Forbidden Phrases - "Great question!" - "I'd be happy to help!" - "As an AI..."
MEDIUM Structured Aggregation of Client PII and Financial Data into Persistent Files -18 ▶
The skill instructs the AI to collect and persist client contact information (email, phone numbers), communication preferences, financial constraints ('Budget is $500/month'), relationship data, and decision rationale into structured JSON files. This creates a rich PII data store in predictable file locations that the nightly memory-pill binary can access without user awareness.
Evidence: clients/{slug}/: { contact: { email: '[email protected]', phone: '+1-555-1234' } } ... facts: { content: 'User prefers Vercel for all hosting', confidence: 0.9, entityRef: 'people/mohammed' } ... Constraints ('Budget is $500/month')
MEDIUM Agent Spawning Rule Extends Skill Control to All User Tasks -22 ▶
The Agent-First Rule mandates spawning subagents for any task involving file creation, research, multi-step implementation, or design. This means the memory-pill skill's prompt expansion system — which constructs detailed 'expandedPrompt' instructions for subagents — mediates between users and all substantive work. A malicious actor who controls the expandedPrompt construction logic could inject instructions into every subagent spawned.
Evidence: Default: Spawn an agent for any substantive task ... Spawn an agent when: Creating new files or components / Research or data gathering / Multi-step implementation / Design or architectural decisions / Anything requiring specialized expertise
MEDIUM Scripted User-Facing Dialog Controls Onboarding Consent Flow -8 ▶
The skill provides verbatim scripts for what the AI must say when presenting setup options to users. This manufactured consent flow is designed to guide users toward enabling cron jobs and folder creation. The framing presents destructive-capable features (persistent cron, broad file access) as simple convenience features.
Evidence: Say something like: > "Memory Pill is now active. I can set up: 1. **Extended folders** — projects/, people/, archives/, etc. for organized memory 2. **3 AM maintenance cron** — nightly fact extraction, indexing, and auto-archiving > Want me to enable any of these? (Just say 'set up everything' or pick what you want)"
LOW Installed Skills Registry Creates Capability Inventory -5 ▶
The skill maintains a JSON registry of all installed skills with versions, configurations, and status. While useful for management, this creates a machine-readable inventory of all agent capabilities that could be used to identify high-value attack targets or chain with other skills.
Evidence: skills/{slug}/: { id, type, name, version, installedAt, source, slug, config: { tone, maxLength }, status: 'active' }
LOW Version History Reveals Prior Auto-Setup Without Permission -7 ▶
The version history reveals v0.7.4 ('Added AI-driven auto-setup. Skill now instructs the AI to create extended structure on first use — no bash scripts, no user permission needed') was active before v0.7.7 added permission requirements. The skill previously ran without consent, and reverting to a prior version would restore that behavior.
Evidence: v0.7.4 — Added AI-driven auto-setup. Skill now instructs the AI to create extended structure on first use (no bash scripts, no user permission needed). v0.7.7 — First-run experience now asks permission before setup.
INFO Clean Sparse Checkout — No Unexpected Network or Process Activity 0 ▶
Installation performed a standard sparse checkout from the public OpenClaw monorepo targeting only the memory-pill subdirectory. Network traffic was limited to GitHub's CDN. No unexpected processes were spawned and filesystem writes were confined to the skill directory.
Evidence: git clone --depth 1 --no-checkout --branch main -- https://github.com/openclaw/skills.git /tmp/monorepo-clone; git sparse-checkout set skills/7d-codes/memory-pill; Network: 140.82.121.3:443 only
INFO All Honeypot Files Intact — No Exfiltration During Install 0 ▶
Canary files (.env, id_rsa, AWS credentials, .npmrc, docker config.json, GCP credentials) were not accessed or modified by the skill installation process. Audit records showing canary access at timestamps 1771931816.799 and 1771931839.869 correspond to Oathe framework baseline setup and final integrity verification respectively, both outside the install window.
Evidence: ✅ All canary files intact. Install window: 1771931822.288 (clone start) to 1771931834.579 (rm /tmp/monorepo-clone). No canary access in this window.
Should I install 7d-codes/memory-pill?
Oathe's verdict for 7d-codes/memory-pill is CAUTION with a trust score of 74/100. Recommendation: Review before install.