mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 16:41:23 +00:00
docs: clarify personal-by-default onboarding security notice
This commit is contained in:
@@ -31,15 +31,21 @@ async function requireRiskAcknowledgement(params: {
|
||||
"Security warning — please read.",
|
||||
"",
|
||||
"OpenClaw is a hobby project and still in beta. Expect sharp edges.",
|
||||
"By default, OpenClaw is a personal agent: one trusted operator boundary.",
|
||||
"This bot can read files and run actions if tools are enabled.",
|
||||
"A bad prompt can trick it into doing unsafe things.",
|
||||
"",
|
||||
"If you’re not comfortable with basic security and access control, don’t run OpenClaw.",
|
||||
"OpenClaw is not a hostile multi-tenant boundary by default.",
|
||||
"If multiple users can message one tool-enabled agent, they share that delegated tool authority.",
|
||||
"",
|
||||
"If you’re not comfortable with security hardening and access control, don’t run OpenClaw.",
|
||||
"Ask someone experienced to help before enabling tools or exposing it to the internet.",
|
||||
"",
|
||||
"Recommended baseline:",
|
||||
"- Pairing/allowlists + mention gating.",
|
||||
"- Multi-user/shared inbox: split trust boundaries (separate gateway/credentials, ideally separate OS users/hosts).",
|
||||
"- Sandbox + least-privilege tools.",
|
||||
"- Shared inboxes: isolate DM sessions (`session.dmScope: per-channel-peer`) and keep tool access minimal.",
|
||||
"- Keep secrets out of the agent’s reachable filesystem.",
|
||||
"- Use the strongest available model for any bot with tools or untrusted inboxes.",
|
||||
"",
|
||||
@@ -53,7 +59,8 @@ async function requireRiskAcknowledgement(params: {
|
||||
);
|
||||
|
||||
const ok = await params.prompter.confirm({
|
||||
message: "I understand this is powerful and inherently risky. Continue?",
|
||||
message:
|
||||
"I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?",
|
||||
initialValue: false,
|
||||
});
|
||||
if (!ok) {
|
||||
|
||||
Reference in New Issue
Block a user