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

推荐订阅源

宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Security @ Cisco Blogs
小众软件
小众软件
D
Docker
博客园_首页
A
About on SuperTechFans
P
Privacy International News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
Arctic Wolf
Spread Privacy
Spread Privacy
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
Latest news
Latest news
WordPress大学
WordPress大学
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
大猫的无限游戏
大猫的无限游戏
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
K
Kaspersky official blog
V2EX - 技术
V2EX - 技术
SecWiki News
SecWiki News
U
Unit 42
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LINUX DO - 热门话题
S
Security Affairs
Y
Y Combinator Blog
aimingoo的专栏
aimingoo的专栏
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
T
Tenable Blog
W
WeLiveSecurity
Cloudbric
Cloudbric
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
Google Developers Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
F
Full Disclosure
N
News and Events Feed by Topic
D
DataBreaches.Net
P
Proofpoint News Feed
B
Blog RSS Feed
B
Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
fix: propagate image generation SSRF policy (#79765) (thanks @hclsys) · openclaw/openclaw@0a09a8f
steipete · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -157,6 +157,7 @@ Docs: https://docs.openclaw.ai

157157

### Fixes

158158
159159

- Agents/sandbox: include the container workspace path hint in sandbox-root escape errors while preserving shortened host workspace roots. Fixes #79712. Thanks @haumanto and @hclsys.

160+

- Image generation: honor configured web-fetch SSRF policy across OpenAI, Google, MiniMax, OpenRouter, and Vydra provider requests so RFC2544 fake-IP proxy opt-ins reach generation calls. Fixes #79716. (#79765) Thanks @hclsys.

160161

- QQBot: route gateway WebSocket connections through the ambient proxy agent so deployments with `https_proxy`, `HTTPS_PROXY`, or `HTTP_PROXY` can reach the QQ gateway. (#72961) Thanks @xialonglee.

161162

- Agents/subagents: treat `sessions_spawn` `model: "default"` as the default-model fallback and ignore ACP-only stream targets for native sub-agent spawns. Fixes #72078. (#72101) Thanks @xialonglee.

162163

- Agents/failover: stop retrying assistant-prefill format rejections across auth profiles or model fallbacks, surfacing the deterministic provider error instead of requeueing the lane. Fixes #79688. (#79728) Thanks @hclsys.

Original file line numberDiff line numberDiff line change

@@ -119,6 +119,49 @@ describe("Google image-generation provider", () => {

119119

});

120120

});

121121
122+

it("passes request SSRF policy to the provider HTTP helper", async () => {

123+

mockGoogleApiKeyAuth();

124+

const postJsonRequest = vi.spyOn(providerHttp, "postJsonRequest").mockResolvedValue({

125+

response: new Response(

126+

JSON.stringify({

127+

candidates: [

128+

{

129+

content: {

130+

parts: [

131+

{

132+

inlineData: {

133+

mimeType: "image/png",

134+

data: Buffer.from("png-data").toString("base64"),

135+

},

136+

},

137+

],

138+

},

139+

},

140+

],

141+

}),

142+

{ status: 200, headers: { "Content-Type": "application/json" } },

143+

),

144+

finalUrl:

145+

"https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image-preview:generateContent",

146+

release: async () => {},

147+

});

148+
149+

const provider = buildGoogleImageGenerationProvider();

150+

await provider.generateImage({

151+

provider: "google",

152+

model: "gemini-3.1-flash-image-preview",

153+

prompt: "draw a cat",

154+

cfg: {},

155+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

156+

});

157+
158+

expect(postJsonRequest).toHaveBeenCalledWith(

159+

expect.objectContaining({

160+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

161+

}),

162+

);

163+

});

164+
122165

it("accepts OAuth JSON auth and inline_data responses", async () => {

123166

vi.spyOn(providerAuthRuntime, "resolveApiKeyForProvider").mockResolvedValue({

124167

apiKey: JSON.stringify({ token: "oauth-token" }),

Original file line numberDiff line numberDiff line change

@@ -177,6 +177,7 @@ export function buildGoogleImageGenerationProvider(): ImageGenerationProvider {

177177

fetchFn: fetch,

178178

pinDns: false,

179179

allowPrivateNetwork,

180+

ssrfPolicy: req.ssrfPolicy,

180181

dispatcherPolicy,

181182

});

182183
Original file line numberDiff line numberDiff line change

@@ -1,4 +1,5 @@

11

import * as providerAuth from "openclaw/plugin-sdk/provider-auth-runtime";

2+

import * as providerHttp from "openclaw/plugin-sdk/provider-http";

23

import { installPinnedHostnameTestHooks } from "openclaw/plugin-sdk/test-env";

34

import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";

45

import {

@@ -93,6 +94,36 @@ describe("minimax image-generation provider", () => {

9394

});

9495

});

9596
97+

it("passes request SSRF policy to the provider HTTP helper", async () => {

98+

mockMinimaxApiKey();

99+

const postJsonRequest = vi.spyOn(providerHttp, "postJsonRequest").mockResolvedValue({

100+

response: new Response(

101+

JSON.stringify({

102+

data: { image_base64: [Buffer.from("png-data").toString("base64")] },

103+

base_resp: { status_code: 0 },

104+

}),

105+

{ status: 200, headers: { "Content-Type": "application/json" } },

106+

),

107+

finalUrl: "https://api.minimax.io/v1/image_generation",

108+

release: async () => {},

109+

});

110+
111+

const provider = buildMinimaxImageGenerationProvider();

112+

await provider.generateImage({

113+

provider: "minimax",

114+

model: "image-01",

115+

prompt: "draw a cat",

116+

cfg: {},

117+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

118+

});

119+
120+

expect(postJsonRequest).toHaveBeenCalledWith(

121+

expect.objectContaining({

122+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

123+

}),

124+

);

125+

});

126+
96127

it("keeps the dedicated global image endpoint when text config uses the global API host", async () => {

97128

mockMinimaxApiKey();

98129

const fetchMock = mockSuccessfulMinimaxImageResponse();

Original file line numberDiff line numberDiff line change

@@ -155,6 +155,7 @@ function buildMinimaxImageProvider(providerId: string): ImageGenerationProvider

155155

timeoutMs: req.timeoutMs,

156156

fetchFn: fetch,

157157

allowPrivateNetwork,

158+

ssrfPolicy: req.ssrfPolicy,

158159

dispatcherPolicy,

159160

});

160161

try {

Original file line numberDiff line numberDiff line change

@@ -364,6 +364,25 @@ describe("openai image generation provider", () => {

364364

expect(result.images).toHaveLength(1);

365365

});

366366
367+

it("propagates request SSRF policy to JSON image requests", async () => {

368+

mockGeneratedPngResponse();

369+
370+

const provider = buildOpenAIImageGenerationProvider();

371+

await provider.generateImage({

372+

provider: "openai",

373+

model: "gpt-image-2",

374+

prompt: "test",

375+

cfg: {},

376+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

377+

});

378+
379+

expect(postJsonRequestMock).toHaveBeenCalledWith(

380+

expect.objectContaining({

381+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

382+

}),

383+

);

384+

});

385+
367386

it("forwards generation count and custom size overrides", async () => {

368387

mockGeneratedPngResponse();

369388

@@ -1068,6 +1087,7 @@ describe("openai image generation provider", () => {

10681087

},

10691088

},

10701089

authStore,

1090+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

10711091

});

10721092
10731093

expect(sanitizeConfiguredModelProviderRequestMock).toHaveBeenCalledWith({

@@ -1083,6 +1103,7 @@ describe("openai image generation provider", () => {

10831103

expect.objectContaining({

10841104

url: "http://127.0.0.1:44220/backend-api/codex/responses",

10851105

allowPrivateNetwork: true,

1106+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

10861107

}),

10871108

);

10881109

expect(result.images[0]?.buffer).toEqual(Buffer.from("codex-image"));

Original file line numberDiff line numberDiff line change

@@ -681,6 +681,7 @@ async function generateOpenAICodexImage(params: {

681681

timeoutMs,

682682

fetchFn: fetch,

683683

allowPrivateNetwork,

684+

ssrfPolicy: req.ssrfPolicy,

684685

dispatcherPolicy,

685686

});

686687

const { response, release } = requestResult;

@@ -842,6 +843,7 @@ export function buildOpenAIImageGenerationProvider(): ImageGenerationProvider {

842843

timeoutMs,

843844

fetchFn: fetch,

844845

allowPrivateNetwork,

846+

ssrfPolicy: req.ssrfPolicy,

845847

dispatcherPolicy,

846848

});

847849

})()

@@ -864,6 +866,7 @@ export function buildOpenAIImageGenerationProvider(): ImageGenerationProvider {

864866

timeoutMs,

865867

fetchFn: fetch,

866868

allowPrivateNetwork,

869+

ssrfPolicy: req.ssrfPolicy,

867870

dispatcherPolicy,

868871

});

869872

})();

Original file line numberDiff line numberDiff line change

@@ -106,6 +106,7 @@ describe("openrouter image generation provider", () => {

106106

resolution: "2K",

107107

count: 2,

108108

timeoutMs: 12_345,

109+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

109110

cfg: {

110111

models: {

111112

providers: {

@@ -131,6 +132,7 @@ describe("openrouter image generation provider", () => {

131132

expect.objectContaining({

132133

url: "https://custom.openrouter.test/api/v1/chat/completions",

133134

timeoutMs: 12_345,

135+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

134136

body: expect.objectContaining({

135137

model: "google/gemini-3.1-flash-image-preview",

136138

modalities: ["image", "text"],

Original file line numberDiff line numberDiff line change

@@ -249,6 +249,7 @@ export function buildOpenRouterImageGenerationProvider(): ImageGenerationProvide

249249

timeoutMs: req.timeoutMs ?? DEFAULT_TIMEOUT_MS,

250250

fetchFn: fetch,

251251

allowPrivateNetwork,

252+

ssrfPolicy: req.ssrfPolicy,

252253

dispatcherPolicy,

253254

});

254255
Original file line numberDiff line numberDiff line change

@@ -66,6 +66,41 @@ describe("vydra image-generation provider", () => {

6666

});

6767

});

6868
69+

it("passes request SSRF policy to the image creation request", async () => {

70+

stubVydraApiKey();

71+

const fetchMock = stubFetch(

72+

jsonResponse({

73+

jobId: "job-123",

74+

status: "completed",

75+

imageUrl: "https://cdn.vydra.ai/generated/test.png",

76+

}),

77+

binaryResponse("png-data", "image/png"),

78+

);

79+
80+

const provider = buildVydraImageGenerationProvider();

81+

await provider.generateImage({

82+

provider: "vydra",

83+

model: "grok-imagine",

84+

prompt: "draw a cat",

85+

cfg: {

86+

models: {

87+

providers: {

88+

vydra: {

89+

baseUrl: "https://198.18.0.10/api/v1",

90+

},

91+

},

92+

},

93+

} as never,

94+

ssrfPolicy: { allowRfc2544BenchmarkRange: true },

95+

});

96+
97+

expect(fetchMock).toHaveBeenNthCalledWith(

98+

1,

99+

"https://198.18.0.10/api/v1/models/grok-imagine",

100+

expect.objectContaining({ method: "POST" }),

101+

);

102+

});

103+
69104

it("polls jobs when the create response is not completed yet", async () => {

70105

stubVydraApiKey();

71106

const fetchMock = stubFetch(