Security
This page describes Vinez's security mechanisms and their known limits, for teams reviewing it before deployment. Data flows are covered in the privacy policy.
Run-as account
Agents run as the system account that runs Vinez and have the same file access as that account. The server runs as a normal user, not root. To isolate teams from each other, install Vinez under separate system accounts.
File sandbox
- Agents cannot write to projects the requester has no write access to, or to Vinez's own data directory. This also applies to tasks started by admins.
- The sandbox does not restrict reads. Except for Vinez's keys and database, agents can read any file the system account can read.
- Supported on macOS and Linux. On Linux systems where unprivileged user namespaces are disabled (the Ubuntu 24.04 default), tasks run without the sandbox.
Commit audit
Vinez periodically scans commits in project repositories and raises an alert when an agent commits to a project the requester has no access to. It alerts only and does not block. Not covered: repositories outside your projects, uncommitted changes, and commits whose author was changed.
Dangerous command confirmation
When Claude Code asks for confirmation before a dangerous command, Vinez forwards the request to the requester. The command runs only after the requester replies "allow"; it is refused after 60 minutes without a reply.
Chat notifications
Notifications to WeCom, Feishu, Slack and DingTalk are not retried. They may be lost if the platform returns an error or the server restarts. Task status on the web board is authoritative.
Delivery links
Delivery links do not require sign-in. They are signed and cannot be guessed; anyone with the link can download the file.
Background processes
Cancelling a task does not stop builds, tests or services the agent started. Preview services delivered by an agent are stopped 3 days after the task ends.
Scheduled tasks
Scheduled tasks keep running after their creator is removed from a project, but cannot write to projects that person no longer has access to. Admins can pause or delete them on the Scheduled Tasks page.
Supported platforms
The server runs on macOS and Linux. On Windows, use WSL2.
Reporting issues
Report security issues via GitHub Issues.
安全说明
本页说明 Vinez 的安全机制及其已知限制,供部署前评估参考。数据流向见隐私政策。
运行身份
agent 以运行 Vinez 的系统账号运行,文件权限与该账号相同。服务端以普通用户运行,不使用 root。 如需在团队之间隔离,请用不同的系统账号分别安装。
文件沙箱
- agent 不能写入发起人没有写权限的项目,也不能修改 Vinez 自身的数据目录。超管发起的任务同样适用。
- 沙箱不限制读取。除 Vinez 的密钥和数据库外,系统账号可读的文件 agent 都可以读。
- 支持 macOS 和 Linux。Linux 系统禁用了非特权用户命名空间时(Ubuntu 24.04 默认如此),任务在无沙箱状态下运行。
提交审计
Vinez 定期扫描项目仓库的提交,agent 向发起人无权访问的项目提交代码时发出告警。只告警,不拦截。 不覆盖:项目以外的仓库、未提交的改动、作者信息被修改过的提交。
危险命令确认
Claude Code 执行危险命令前请求确认时,Vinez 将请求转给任务发起人。发起人回复「允许」后才执行,60 分钟无回复则拒绝。
聊天通知
发往企业微信、飞书、Slack、钉钉的通知不重试,平台报错或服务重启时可能丢失。任务状态以网页看板为准。
交付链接
交付链接无需登录即可下载。链接带签名,无法被猜出;持有链接的人都可以下载。
后台进程
取消任务不会停止 agent 启动的编译、测试或服务。agent 交付的预览服务在任务结束 3 天后停止。
定时任务
创建者被移出项目后,其定时任务仍会运行,但无法写入他已无权访问的项目。管理员可在「定时任务」页暂停或删除。
支持平台
服务端支持 macOS 和 Linux。Windows 请使用 WSL2。
问题反馈
安全问题请通过 GitHub Issues 反馈。