Back to skill

Security audit

Ollama Memory

Security checks for vulnerabilities and agentic risk

Overview

This local memory skill is not malicious, but it should be reviewed because it stores and reloads user/session memories without clear consent, retention, deletion, or prompt-injection safeguards.

Install only if you intentionally want a local long-term memory system. Before use, define what may be saved, avoid storing secrets, periodically review and delete memory files, and require confirmation before changing personality or long-term behavior files such as SOUL.md and MEMORY.md.

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)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:84
Finding

Uncontrolled Plaintext Persistence and Automatic Loading of Sensitive User Data

Content
View full analysis
Remediation
View remediation

T02 · Agent Memory Poisoning

Error
Location
SKILL.md:94
Finding

Persistent Agent Memory Poisoning Through Unvalidated User-Controlled Content

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly directs the agent to persist session content, user preferences, and learned information across sessions in local files, but it does not require clear user notice, consent, retention limits, or deletion controls. Even though storage is local, this can still create privacy and data-minimization risks because sensitive personal or behavioral data may be retained longer than the user expects.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

A language or locale policy issue can arise when a skill effectively forces a specific language without user opt-in. This file presents the skill description, commands, and operating instructions only in Chinese, with no indication that users may choose another language or that the locale restriction is intentional and justified.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.