惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Proofpoint News Feed
L
Lohrmann on Cybersecurity
S
Secure Thoughts
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog
W
WeLiveSecurity
O
OpenAI News
SecWiki News
SecWiki News
博客园 - Franky
NISL@THU
NISL@THU
Microsoft Azure Blog
Microsoft Azure Blog
T
Tor Project blog
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
Security Latest
Security Latest
H
Hacker News: Front Page
Google Online Security Blog
Google Online Security Blog
P
Privacy & Cybersecurity Law Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Darknet – Hacking Tools, Hacker News & Cyber Security
月光博客
月光博客
李成银的技术随笔
Spread Privacy
Spread Privacy
F
Full Disclosure
F
Fortinet All Blogs
T
The Exploit Database - CXSecurity.com
Vercel News
Vercel News
AWS News Blog
AWS News Blog
WordPress大学
WordPress大学
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
V
Visual Studio Blog
J
Java Code Geeks
博客园 - 三生石上(FineUI控件)
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
Engineering at Meta
Engineering at Meta
Last Week in AI
Last Week in AI
P
Palo Alto Networks Blog
宝玉的分享
宝玉的分享
T
True Tiger Recordings
N
News and Events Feed by Topic
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
N
News | PayPal Newsroom
S
SegmentFault 最新的问题
Jina AI
Jina AI

Recent Commits to openclaw:main

fix(agents): fence embedded session writes refactor: remove sender owner tool gating docs: remove stale owner tool wording test: update command auth expectations · openclaw/openclaw@95eac52 fix(xai): keep OAuth URL clickable (#84927) · openclaw/openclaw@159b300 Fix stale WebChat typing indicator after terminal session patch (#84565) docs: document rejected autoreview findings · openclaw/openclaw@c49647e docs(changelog): note VAPID subject fix · openclaw/openclaw@db606a8 perf(plugins): reuse compatible gateway startup registry · openclaw/openclaw@d2ad7d6 test: cover dispatch registry reuse caller · openclaw/openclaw@b248b48 docs: add plugin registry reuse changelog · openclaw/openclaw@6ccca4a fix(tests): wrap kitchen sink pnpm runner fix(agents): cap heartbeat context hint fallback · openclaw/openclaw@04061bc chore(deadcode): dedupe repeated helpers · openclaw/openclaw@88c49f9 perf(cli): cache stable subcommand help (#84786) · openclaw/openclaw@f39f56a fix(ollama): preserve tool call ids [AI-assisted] (#84855) · openclaw/openclaw@2000227 fix: align remaining copyright notice · openclaw/openclaw@f43e83c fix(config): append numeric bound hints to ceiling/floor validation e… · openclaw/openclaw@8a8f9dc fix(qa): enable private self-check runtime · openclaw/openclaw@0fb1de5 fix(diffs): replace iconMarkup string with ToolbarIconName enum to el… · openclaw/openclaw@b7f9bf5 fix: update mac copyright owner fix(agents): normalize openapi tool schemas · openclaw/openclaw@ec67290 fix(memory): stop recall tracking when dreaming is disabled · openclaw/openclaw@c89632b fix(diagnostics-otel): suppress exporter rejection crashes (#84881) perf: speed up secrets and nodes help startup (#84818) · openclaw/openclaw@233765b docs: add PDF timeout changelog · openclaw/openclaw@e3b77d6 fix(pdf): bound remote body reads [Fix] Reject slow node event sends (#84387) fix(doctor): detect Codex bwrap namespace denials · openclaw/openclaw@43c6c26 fix(update): prune stale local bundled plugin shadows · openclaw/openclaw@4a360ac ci: add live Codex plugin release check · openclaw/openclaw@3eb2d64 fix(slack): suppress reasoning reply payloads (#84322) chore: update vite · openclaw/openclaw@ec7495c chore: update dependencies · openclaw/openclaw@ec10d12 fix(config): validate browser sandbox bind sources [AI] (#84799) · openclaw/openclaw@3cc8b2a doctor: constrain legacy plugin cleanup paths [AI] (#84801) Fix Telegram isolated polling stall watchdog (#84861) · openclaw/openclaw@40db92f ci(release): keep non-waiting clawhub publish best effort fix(docker): keep prune store warmup before offline stage · openclaw/openclaw@1e8d966 ci(release): require resolved target before child dispatch · openclaw/openclaw@2fd02c2 fix(docker): keep runtime prune offline · openclaw/openclaw@a329b9e ci(release): streamline beta publish verification · openclaw/openclaw@1c5fda1 ci(release): preserve direct repair publishes · openclaw/openclaw@0604d25 ci(release): keep focused validation reruns independent · openclaw/openclaw@624d920 [Fix] Keep node systemd tokens out of unit files (#84815) fix: reject symlinked whatsapp creds · openclaw/openclaw@194f078 fix(whatsapp): guard credential atomic writes refactor(whatsapp): use async fs-safe credential checks · openclaw/openclaw@9ec9fbf fix(doctor): clear stale runtime override pins (#84221) fix(agents): disable pi-coding-agent auto-retry to prevent tool call … fix(trajectory): tolerate partial skill snapshot entries in support c… · openclaw/openclaw@c9b6a8b fix(ui): widen settings personal card · openclaw/openclaw@3156d94 fix(agents): log pre-prompt compaction fits decisions (#84676) · openclaw/openclaw@79be940 fix(memory-core): allow bounded dreaming session cleanup (#84802) · openclaw/openclaw@0671a2a perf(cli): lazy-load agents actions for help (#84483) · openclaw/openclaw@168f8a7 Skip empty sherpa structured transcripts (#84667) · openclaw/openclaw@46030f5 feat: support git and local skill installs (#84793) · openclaw/openclaw@c031274 Policy: add tool metadata conformance (#80056) fix(doctor): warn when sandbox hides MCP tools (#84742) · openclaw/openclaw@6745fe8 perf(cli): speed up onboarding help startup (#84488) · openclaw/openclaw@2c0c9c9 perf: isolate doctor core check tests (#84493) · openclaw/openclaw@2585249 feat(tasks): explain stale-running maintenance decisions (#84691) · openclaw/openclaw@3d3cf96 fix(minimax): stop advertising music duration control (#84765) fix(codex): guard path-only bootstrap files [AI-assisted] (#84736) · openclaw/openclaw@c4f14a3 Warn on plaintext secret config in doctor (#84718) · openclaw/openclaw@9cdf8a1 Remove skill prelude exec allowlist (#84570) perf(tui): defer EmbeddedTuiBackend import, drop dead warmup helpers … · openclaw/openclaw@b79effe perf(tui): skip plugin metadata + provider catalog on remote TUI star… · openclaw/openclaw@d91ef6b Route JSON-mode plugin registration logs to stderr (#84741) · openclaw/openclaw@b3ec4f0 build: suppress rolldown-plugin-dts CommonJS dts warnings from bundle… [codex] Fix macOS app copyright year (#84729) · openclaw/openclaw@5c4c6a4 fix(approval): route /approve through approval resolver (#84678) · openclaw/openclaw@b58572e test(secret-file): cover NickServ + account-level symlinks, narrow in… · openclaw/openclaw@4d47f9a fix(infra): restore symlink rejection in tryReadSecretFileSync (#84711) · openclaw/openclaw@90fd26b ci: preserve node path across setup action steps · openclaw/openclaw@d786b4e fix(update): defer legacy parent plugin repair · openclaw/openclaw@f4dc9b1 fix(update): prefer npm during post-core repair · openclaw/openclaw@2e389b6 test: align release timeout budget expectations · openclaw/openclaw@3844513 ci: extend stable release validation monitors · openclaw/openclaw@6b52105 fix(update): adopt post-core plugin payloads fix: preserve update compatibility host during release upgrades · openclaw/openclaw@1fdeee3 fix(update): prefer existing npm plugins during repair fix(update): preserve post-core host version · openclaw/openclaw@e57fa51 chore(release): update appcast for 2026.5.19 · openclaw/openclaw@ec8e700 chore(release): refresh generated baselines · openclaw/openclaw@6c7fe58 chore(release): bump version to 2026.5.20 · openclaw/openclaw@7b90661 fix(doctor): migrate invalid thinking formats (#84626) · openclaw/openclaw@6e9d47b fix(slack): normalize approval user ids (#84671) · openclaw/openclaw@9e4eca0 fix(codex): bridge computer use elicitations chore(deps): update whatsapp baileys · openclaw/openclaw@6e7bd55 fix(cli): gate exported subcli descriptors (#84519) · openclaw/openclaw@ca0fe88 fix(browser): honor image sanitization config for screenshots (#84595) · openclaw/openclaw@d5cc0d5 fix: update fs-safe fallback dependency · openclaw/openclaw@1a7669b fix(errors): dedupe identical messages when traversing error .cause c… · openclaw/openclaw@447a364 fix(agents): credit delivered subagent completions (#84383) fix: check billing errors before surfacing rate-limit message (#79489) · openclaw/openclaw@0af55f9 fix: clarify pinned session model status · openclaw/openclaw@a134683 fix: keep cron final output over tool warnings · openclaw/openclaw@c8a953a Add OpenRouter provider routing params (#84579) · openclaw/openclaw@ac69776 feat(discord): add realtime voice bootstrap context · openclaw/openclaw@48a14e4
Policy: add model, network, and MCP conformance checks (#80783) · openclaw/openclaw@6dbd5bd
giodl73-repo · 2026-05-21 · via Recent Commits to openclaw:main

@@ -17,10 +17,13 @@ report drift through `doctor --lint`. The final conformance signal is a clean

1717

`doctor --lint` run; policy contributes findings to that shared lint surface

1818

instead of creating a separate health gate.

191920-

Policy currently manages configured channels and governed tool declarations.

21-

For example, IT or a workspace operator can record that Telegram is not an

22-

approved channel provider, require governed tools to carry risk and sensitivity

23-

metadata, then use `doctor --lint` as the shared conformance gate.

20+

Policy currently manages configured channels, MCP servers, model providers,

21+

network SSRF posture, and governed tool declarations. For example, IT or a

22+

workspace operator can record that Telegram is not an approved channel

23+

provider, restrict MCP servers and model refs to approved entries, require

24+

private-network fetch/browser access to remain disabled, require governed tools

25+

to carry risk and sensitivity metadata, then use `doctor --lint` as the shared

26+

conformance gate.

24272528

Use policy when a workspace needs a durable statement such as "these channels

2629

must not be enabled" or "governed tools must declare approval metadata" and a

@@ -41,7 +44,8 @@ arbitrary plugins. The plugin remains enabled if `policy.jsonc` is missing, so

4144

doctor can report the missing artifact.

42454346

Policy is authored, not generated from the user's current settings. A minimal

44-

policy for channels and tool metadata looks like this:

47+

policy for channels, MCP servers, model providers, network posture, and tool

48+

metadata looks like this:

45494650

```jsonc

4751

{

@@ -54,6 +58,23 @@ policy for channels and tool metadata looks like this:

5458

},

5559

],

5660

},

61+

"mcp": {

62+

"servers": {

63+

"allow": ["docs"],

64+

"deny": ["untrusted"],

65+

},

66+

},

67+

"models": {

68+

"providers": {

69+

"allow": ["openai", "anthropic"],

70+

"deny": ["openrouter"],

71+

},

72+

},

73+

"network": {

74+

"privateNetwork": {

75+

"allow": false,

76+

},

77+

},

5778

"tools": {

5879

"requireMetadata": ["risk", "sensitivity", "owner"],

5980

},

@@ -62,8 +83,9 @@ policy for channels and tool metadata looks like this:

62836384

The rules are the authority. A category block is only a namespace; checks run

6485

when a concrete rule is present. OpenClaw reads current `channels.*` settings

65-

and `TOOLS.md` declarations as evidence, then reports observed state that does

66-

not conform.

86+

`mcp.servers.*`, `models.providers.*`, selected agent model refs, network SSRF

87+

settings, and `TOOLS.md` declarations as evidence, then reports observed state

88+

that does not conform.

67896890

Run policy-only checks during authoring:

6991

@@ -167,6 +189,35 @@ Example JSON output:

167189

"enabled": false

168190

}

169191

],

192+

"mcpServers": [

193+

{

194+

"id": "docs",

195+

"transport": "stdio",

196+

"source": "oc://openclaw.config/mcp/servers/docs",

197+

"command": "npx"

198+

}

199+

],

200+

"modelProviders": [

201+

{

202+

"id": "openai",

203+

"source": "oc://openclaw.config/models/providers/openai"

204+

}

205+

],

206+

"modelRefs": [

207+

{

208+

"ref": "openai/gpt-5.5",

209+

"provider": "openai",

210+

"model": "gpt-5.5",

211+

"source": "oc://openclaw.config/agents/defaults/model"

212+

}

213+

],

214+

"network": [

215+

{

216+

"id": "browser-private-network",

217+

"source": "oc://openclaw.config/browser/ssrfPolicy/dangerouslyAllowPrivateNetwork",

218+

"value": false

219+

}

220+

],

170221

"tools": [

171222

{

172223

"id": "deploy",

@@ -178,7 +229,7 @@ Example JSON output:

178229

}

179230

]

180231

},

181-

"checksRun": 6,

232+

"checksRun": 15,

182233

"checksSkipped": 0,

183234

"findings": []

184235

}

@@ -226,18 +277,23 @@ choose a different interval.

226277227278

Policy currently verifies:

228279229-

| Check id | Finding |

230-

| ---------------------------------------- | ------------------------------------------------------------------- |

231-

| `policy/policy-jsonc-missing` | Policy is enabled but `policy.jsonc` is missing. |

232-

| `policy/policy-jsonc-invalid` | Policy cannot be parsed or has malformed rules. |

233-

| `policy/policy-hash-mismatch` | Policy does not match configured `expectedHash`. |

234-

| `policy/attestation-hash-mismatch` | Current policy evidence no longer matches the accepted attestation. |

235-

| `policy/channels-denied-provider` | An enabled channel matches a channel deny rule. |

236-

| `policy/tools-missing-owner` | A governed tool declaration is missing owner metadata. |

237-

| `policy/tools-missing-risk-level` | A governed tool declaration is missing risk metadata. |

238-

| `policy/tools-missing-sensitivity-token` | A governed tool declaration is missing sensitivity metadata. |

239-

| `policy/tools-unknown-risk-level` | A governed tool declaration uses an unknown risk value. |

240-

| `policy/tools-unknown-sensitivity-token` | A governed tool declaration uses an unknown sensitivity value. |

280+

| Check id | Finding |

281+

| ---------------------------------------- | --------------------------------------------------------------------- |

282+

| `policy/policy-jsonc-missing` | Policy is enabled but `policy.jsonc` is missing. |

283+

| `policy/policy-jsonc-invalid` | Policy cannot be parsed or contains malformed rule entries. |

284+

| `policy/policy-hash-mismatch` | Policy does not match configured `expectedHash`. |

285+

| `policy/attestation-hash-mismatch` | Current policy evidence no longer matches the accepted attestation. |

286+

| `policy/channels-denied-provider` | An enabled channel matches a channel deny rule. |

287+

| `policy/mcp-denied-server` | A configured MCP server is denied by policy. |

288+

| `policy/mcp-unapproved-server` | A configured MCP server is outside the allowlist. |

289+

| `policy/models-denied-provider` | A configured model provider or model ref uses a denied provider. |

290+

| `policy/models-unapproved-provider` | A configured model provider or model ref is outside the allowlist. |

291+

| `policy/network-private-access-enabled` | A private-network SSRF escape hatch is enabled when policy denies it. |

292+

| `policy/tools-missing-risk-level` | A governed tool declaration is missing risk metadata. |

293+

| `policy/tools-unknown-risk-level` | A governed tool declaration uses an unknown risk value. |

294+

| `policy/tools-missing-sensitivity-token` | A governed tool declaration is missing sensitivity metadata. |

295+

| `policy/tools-missing-owner` | A governed tool declaration is missing owner metadata. |

296+

| `policy/tools-unknown-sensitivity-token` | A governed tool declaration uses an unknown sensitivity value. |

241297242298

Policy findings can include both `target` and `requirement`. `target` is the

243299

observed workspace thing that does not conform. `requirement` is the authored

@@ -277,6 +333,51 @@ Example tool finding:

277333

}

278334

```

279335336+

Example MCP finding:

337+338+

```json

339+

{

340+

"checkId": "policy/mcp-unapproved-server",

341+

"severity": "error",

342+

"message": "MCP server 'remote' is not in the policy allowlist.",

343+

"source": "policy",

344+

"path": "openclaw config",

345+

"ocPath": "oc://openclaw.config/mcp/servers/remote",

346+

"target": "oc://openclaw.config/mcp/servers/remote",

347+

"requirement": "oc://policy.jsonc/mcp/servers/allow"

348+

}

349+

```

350+351+

Example model-provider finding:

352+353+

```json

354+

{

355+

"checkId": "policy/models-unapproved-provider",

356+

"severity": "error",

357+

"message": "Model ref 'anthropic/claude-sonnet-4.7' uses unapproved provider 'anthropic'.",

358+

"source": "policy",

359+

"path": "openclaw config",

360+

"ocPath": "oc://openclaw.config/agents/defaults/model/fallbacks/#0",

361+

"target": "oc://openclaw.config/agents/defaults/model/fallbacks/#0",

362+

"requirement": "oc://policy.jsonc/models/providers/allow"

363+

}

364+

```

365+366+

Example network finding:

367+368+

```json

369+

{

370+

"checkId": "policy/network-private-access-enabled",

371+

"severity": "error",

372+

"message": "Network setting 'browser-private-network' allows private-network access.",

373+

"source": "policy",

374+

"path": "openclaw config",

375+

"ocPath": "oc://openclaw.config/browser/ssrfPolicy/dangerouslyAllowPrivateNetwork",

376+

"target": "oc://openclaw.config/browser/ssrfPolicy/dangerouslyAllowPrivateNetwork",

377+

"requirement": "oc://policy.jsonc/network/privateNetwork/allow"

378+

}

379+

```

380+280381

## Repair

281382282383

`doctor --lint` and `policy check` are read-only.