Skill Trust Decision

tokst-memory

TokST 是合法的记忆管理工具,但通过 curl|bash 管道执行远程安装脚本存在供应链风险,用户数据将发送至外部服务器,且自动记忆功能可能超出用户预期。

Install decision first Source: ClawHub Scanned: 6 days ago
Files 5
Artifacts 14
Violations 1
Findings 4
Most direct threat evidence
High Supply Chain
危险 Shell 管道安装命令

README.md:48 包含 curl -fsSL https://tokst.com/install.sh | bash,从远程 URL 下载脚本并直接执行。这是经典供应链攻击向量,无法验证脚本内容即执行。

README.md:48

Why this conclusion was reached

3/4 dimensions flagged
Block
Declared vs actual capability

1 undeclared or violating capabilities were inferred.

Block
Hidden execution and egress

1 high-risk artifacts or egress signals were extracted.

Block
Attack chain and severe findings

The report includes 0 attack-chain steps and 1 severe findings.

Review
Dependencies and supply chain hygiene

Dependency information is incomplete, so supply-chain confidence stays limited.

What drove the risk score up

curl|bash 远程脚本执行 +20

README.md:48 包含 curl -fsSL https://tokst.com/install.sh | bash,该模式是经典供应链攻击向量

数据外传至外部服务器 +10

所有记忆数据通过 MCP 协议发送至 api.tokst.com,文档虽声明但用户可能不知情

自动记忆功能监控范围不明 +5

tokst auto on --agent all 声明可检测多种 Agent,可能超出用户预期

Most important evidence

High Supply Chain

危险 Shell 管道安装命令

README.md:48 包含 curl -fsSL https://tokst.com/install.sh | bash,从远程 URL 下载脚本并直接执行。这是经典供应链攻击向量,无法验证脚本内容即执行。

README.md:48
要求提供安装脚本源码供审查,或使用包管理器/手动下载方式安装。
Medium Data Exfil

用户数据发送至外部服务器

所有记忆(facts、decisions、preferences、tasks、architecture、notes)通过 MCP 协议发送至 api.tokst.com。用户可能不了解数据外传范围。

SKILL.md:1
明确告知用户数据外传范围,优先使用本地 SQLite 模式。
Medium Doc Mismatch

自动记忆功能监控范围声明不明确

tokst auto on --agent all 声明可检测 'WorkBuddy, OpenCode, Pi, Codex, Claude Code' 并安装原生桥接,可能持续监控 Agent 工作流程。

SKILL.md:169
明确说明自动记忆的服务范围和监控内容。
Low Supply Chain

Windows PowerShell 远程脚本执行

Windows 安装使用 irm https://tokst.com/install.ps1 | iex,同样从远程下载并执行代码。

README.md:65
同上,提供脚本源码供审查。

Declared capability vs actual capability

Filesystem Pass
Declared NONE
Inferred NONE
SKILL.md frontmatter 无 filesystem 声明
Network Pass
Declared READ
Inferred WRITE
文档声明云端操作需连接 api.tokst.com
Shell Block
Declared NONE
Inferred WRITE
README.md:48 要求执行 curl|bash 安装远程脚本
Skill Invoke Pass
Declared NONE
Inferred READ
文档描述 MCP 工具调用

Suspicious artifacts and egress

Critical Dangerous Command
curl -fsSL https://tokst.com/install.sh | bash

README.md:48

Medium External URL
https://tokst.com/docs

README.md:35

Medium External URL
https://tokst.com/llms.txt

README.md:36

Medium External URL
https://tokst.com/llms-full.txt

README.md:37

Medium External URL
https://api.tokst.com/openapi.json

README.md:38

Medium External URL
https://api.tokst.com/.well-known/mcp

README.md:39

Medium External URL
https://tokst.com/install.sh

README.md:48

Medium External URL
https://tokst.com/install.ps1

README.md:65

Medium External URL
https://tokst.com/docs/tasks

README.md:211

Medium External URL
https://api.tokst.com/mcp

README.md:253

Medium External URL
https://tokst.com/help

README.md:377

Medium External URL
https://tokst.com/docs/mcp

README.md:378

Dependencies and supply chain

There are no structured dependency warnings.

File composition

5 files · 965 lines
Markdown 5 files · 965 lines
Files of concern · 2
README.md Markdown · 380 lines
危险 Shell 管道安装命令 · Windows PowerShell 远程脚本执行 · curl -fsSL https://tokst.com/install.sh | bash · https://tokst.com/docs · https://tokst.com/llms.txt · https://tokst.com/llms-full.txt · https://api.tokst.com/openapi.json · https://api.tokst.com/.well-known/mcp · https://tokst.com/install.sh · https://tokst.com/install.ps1 · https://tokst.com/docs/tasks · https://api.tokst.com/mcp · https://tokst.com/help · https://tokst.com/docs/mcp · https://tokst.com/docs/sessions · https://tokst.com/docs/local
SKILL.md Markdown · 380 lines
用户数据发送至外部服务器 · 自动记忆功能监控范围声明不明确
Other files · CODEX.md · CLAUDE.md · GENERAL.md

Security positives

文档明确禁止存储凭证、私钥、访问令牌等敏感信息
支持本地 SQLite 模式避免数据外传
提供 MCP 工具白名单,无文件系统直接写入声明
MIT 许可证,代码透明度较高
提供 tokst doctor/status 命令用于验证安装