Repository navigation
AnyMark 2.0.1 — Security maintenance
这是 V2 的安全维护更新,不改变书签格式、Profile 身份、备注存储或日常工作台功能。
修复内容
- 加强本地连接器目录校验:检查符号链接展开过程中的所有中间路径,包含相对父目录和尾部分隔符,拒绝可被其他操作系统用户替换的间接目录。
- 浏览器 smoke 工具使用唯一私有输出目录;明确指定的输出目录也必须通过所有权及权限检查。
- 增加三个文件系统边界回归用例,并提供中英文安全政策和私密漏洞报告入口。
此路径问题需要特定的自定义、多层符号链接布局;普通私有安装目录不需要迁移书签。如果你使用了自定义符号链接安装位置,请改用稳定私有目录并重新安装连接器。更新后重新连接 Agent 访问或重启 Chrome,使新的 Native host 生效。
下载
| 文件 | 用途 |
|---|---|
anymark-v2.0.1-chrome-extension.zip |
可直接加载的 Chrome 扩展,Chrome 134+;Popup/Web 无需 Node.js |
anymark-v2.0.1-agent-connector-source.zip |
可选 CLI/MCP 连接器源码,Node.js 22+,macOS/Linux;不是独立二进制 |
anymark-v2.0.1-SHA256SUMS.txt |
两个 ZIP 的 SHA-256 校验值 |
解压扩展包后,在 chrome://extensions 加载含 manifest.json 的目录。连接器源码解压到长期保留的位置后,执行:
npm ci --omit=dev
node bin/anymark.js install原有 2.0.0 附件保留,不覆盖。GitHub 自动生成的 Source code 下载不是预构建 Chrome 扩展。
English
This V2 security-maintenance release does not change bookmark formats, profile identity, notes, or workspace behavior.
- Validate intermediate components in symlinked connector paths, including relative parent traversal and trailing separators. Reject routes that another OS user can replace.
- Give optional browser-smoke tools unique private output directories and validate explicitly selected output directories.
- Add filesystem-boundary regression coverage and a bilingual security policy with private reporting guidance.
The connector issue requires a non-default, custom multi-link directory layout. No bookmark migration is required. If you use a custom symlinked connector location, reinstall into a stable private directory. Reconnect local agent access or restart Chrome after installation so the new native host is used.
Download the chrome-extension ZIP for Popup/Web. The agent-connector-source ZIP is optional Node.js source for CLI/MCP on macOS/Linux: extract it to a permanent location, run npm ci --omit=dev, then node bin/anymark.js install. Use the SHA256SUMS file to verify both archives. The original 2.0.0 downloads remain unchanged.