TokenSaver

ReviewAudited by ClawScan on May 10, 2026.

Overview

TokenSaver looks like a plausible local context-memory tool, but it can automatically index private OpenClaw workspace memory/profile files and has weak file-path containment.

Before installing, decide whether you want this skill to read and index your OpenClaw workspace memories and profile/config files. Use a dedicated, non-sensitive workspace if possible, verify the PyPI package source, and avoid giving it untrusted or attacker-controlled memory URIs until path containment is fixed.

Findings (3)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Private workspace memory or profile information could be stored and automatically recalled into later agent sessions; poisoned or outdated local context could also influence future answers.

Why it was flagged

The auto-sync module indexes local OpenClaw workspace memory, daily logs, agent configuration, and user profile files into a reusable context store by default.

Skill content
workspace_path: str = "~/.openclaw/workspace" ... def index_workspace(self): ... "MEMORY.md" ... "memory/*.md" ... "AGENTS.md" ... "USER.md" ... self.vector_store.batch_index(documents)
Recommendation

Require explicit user opt-in before indexing workspace files, document exactly which paths are read, add exclusions for sensitive files, and provide clear retention and deletion controls.

What this means

A crafted URI containing path traversal segments could cause the agent to create or overwrite JSON files outside the intended TokenSaver storage area.

Why it was flagged

Storage paths are derived directly from the caller-supplied URI without normalization or checks that the final path remains inside the intended database directory.

Skill content
path = self._uri_to_path(context.uri) ... with open(path, 'w', encoding='utf-8') ... def _uri_to_path(self, uri: str) -> Path: ... return self.base_path / f"{uri}.json"
Recommendation

Normalize and resolve paths, reject absolute paths and '..' segments, and enforce that all writes remain under the configured TokenSaver data directory.

What this means

Users may install code that differs from the reviewed files if the package source or version is not verified.

Why it was flagged

The skill asks users to install unpinned external packages from a package index. This is purpose-aligned setup, but provenance and version pinning are not established in the artifact.

Skill content
pip install tokensaver ... pip install 토큰세이버 ... pip install tokensaver[speed]
Recommendation

Install only from a trusted package source, prefer pinned versions and hashes, and compare the installed package with the reviewed source.