Skip to content

fix(tlon): guard memex upload target - #69794

Merged
drobison00 merged 15 commits into
openclaw:mainfrom
drobison00:fix-tlon-upload-url-guard
Apr 21, 2026
Merged

drobison00 merged 15 commits into
openclaw:mainfrom
drobison00:fix-tlon-upload-url-guard

Conversation

@drobison00

Copy link
Copy Markdown
Contributor

fix(tlon): guard memex upload target

Summary

Describe the problem and fix in 2–5 bullets:

If this PR fixes a plugin beta-release blocker, title it fix(<plugin-id>): beta blocker - <summary> and link the matching Beta blocker: <plugin-name> - <summary> issue labeled beta-blocker. Contributors cannot label PRs, so the title is the PR-side signal for maintainers and automation.

  • Problem: The hosted Tlon Memex upload flow trusted a server-supplied upload URL and sent the upload body to it with a raw fetch().
  • Why it matters: A bad upload target could redirect the OpenClaw process to private, loopback, or link-local destinations during file upload.
  • What changed: uploadFile() now sends Memex upload targets through fetchWithSsrFGuard and releases the guarded dispatcher after the request completes; a new unit test covers the guarded success path and blocked-target failure path.
  • What did NOT change (scope boundary): No other Tlon network flows, storage backends, configuration, CI, or automation files changed.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor required for the fix
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

  • Closes #
  • Related NVIDIA-dev/openclaw-tracking#487
  • This PR fixes a bug or regression

Root Cause (if applicable)

For bug fixes or regressions, explain why this happened, not just what changed. Otherwise write N/A. If the cause is unclear, write Unknown.

  • Root cause: extensions/tlon/src/tlon-api.ts accepted Memex's url field and passed it directly to fetch() instead of using the repo's existing SSRF-guarded fetch helper.
  • Missing detection / guardrail: There was no unit coverage asserting that hosted Memex upload URLs are routed through fetchWithSsrFGuard or that blocked targets surface a guard failure.
  • Contributing context (if known): Nearby Tlon upload code already used the SSRF runtime helper for untrusted remote fetches, but this upload hop had not been aligned with that pattern.

Regression Test Plan (if applicable)

For bug fixes or regressions, name the smallest reliable test coverage that should catch this. Otherwise write N/A.

  • Coverage level that should have caught this:
    • Unit test
    • Seam / integration test
    • End-to-end test
    • Existing coverage already sufficient
  • Target test or file: extensions/tlon/src/tlon-api.test.ts
  • Scenario the test should lock in: Hosted-ship Memex uploads call fetchWithSsrFGuard with the returned upload URL, and blocked private/link-local targets fail through that guard instead of reaching raw fetch().
  • Why this is the smallest reliable guardrail: The behavior is confined to one helper path in the Tlon extension and can be verified by mocking Memex and the SSRF runtime directly.
  • Existing test that already covers this (if any): None.
  • If no new test is added, why not: N/A

User-visible / Behavior Changes

Hosted Tlon Memex uploads now fail before the PUT request if the returned upload URL resolves to a blocked private or loopback target. Public upload URLs continue to use the same upload flow.

Diagram (if applicable)

Before:
[Memex returns upload URL] -> [raw fetch PUT] -> [request sent to returned host]

After:
[Memex returns upload URL] -> [fetchWithSsrFGuard] -> [blocked private target or allowed public PUT]

Security Impact (required)

  • New permissions/capabilities? (No)
  • Secrets/tokens handling changed? (No)
  • New/changed network calls? (No)
  • Command/tool execution surface changed? (No)
  • Data access scope changed? (No)
  • If any Yes, explain risk + mitigation: N/A

Repro + Verification

Environment

  • OS: Linux 6.8.0-110-generic x86_64
  • Runtime/container: Node.js v22.14.0 in the task workspace
  • Model/provider:
  • Integration/channel (if any): Tlon extension Memex upload path
  • Relevant config (redacted): Hosted ship URL (https://groups.tlon.network) and mocked Memex responses in unit tests

Steps

  1. Configure the Tlon client for a hosted ship and mock the Memex upload endpoint plus storage scries.
  2. Return a public upload URL and call uploadFile(...), asserting the PUT goes through fetchWithSsrFGuard.
  3. Return a blocked link-local upload URL and assert the SSRF guard error is surfaced without a raw upload fetch.

Expected

  • Hosted Memex uploads use the SSRF-guarded fetch helper, and blocked private targets are rejected before upload.

Actual

  • uploadFile() now routes Memex upload targets through fetchWithSsrFGuard, and the added unit test passes for both the allowed upload path and blocked-target failure path.

Evidence

Attach at least one:

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Human Verification (required)

What you personally verified (not just CI), and how:

  • Verified scenarios: Ran targeted Vitest coverage for extensions/tlon/src/tlon-api.test.ts and extensions/tlon/src/urbit/upload.test.ts, then ran pnpm check:changed --staged, which passed extension typecheck, lint, import-cycle checks, and 112 extension-messaging tests.
  • Edge cases checked: Guard failure propagation for a blocked link-local upload target; release callback execution on the guarded upload path.
  • What you did not verify: Live uploads against a real Memex service or full end-to-end Tlon channel delivery.

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.

Compatibility / Migration

  • Backward compatible? (Yes)
  • Config/env changes? (No)
  • Migration needed? (No)
  • If yes, exact upgrade steps: N/A

Risks and Mitigations

List only real risks for this PR. Add/remove entries as needed. If none, write None.

  • Risk: Hosted Tlon uploads now reject Memex-provided targets that resolve to blocked private or loopback hosts, so a misconfigured upstream upload target would fail instead of proceeding.
    • Mitigation: The change only wraps the existing upload request in the standard SSRF helper already used elsewhere in the codebase, and unit coverage locks in both the public-success and blocked-target behaviors.

@openclaw-barnacle openclaw-barnacle Bot added channel: tlon Channel integration: tlon size: S maintainer Maintainer-authored PR labels Apr 21, 2026
@greptile-apps

greptile-apps Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes an SSRF vulnerability in the Tlon Memex upload path by replacing a raw fetch() call with fetchWithSsrFGuard, and adds a new unit test file covering both the guarded-success and blocked-target-rejection paths. The implementation correctly uses a try/finally to ensure release() is always called when the guard succeeds, and the test mocking pattern is idiomatic for Vitest module mocking. All remaining findings are minor style improvements (redundant mock clear, defensive release scoping, one missing negative assertion).

Confidence Score: 5/5

Safe to merge — no correctness or security issues in the changed code.

All findings are P2 style suggestions. The SSRF guard is correctly applied, release() is correctly scoped and always invoked on the success path, and the new tests cover both the allowed and blocked upload scenarios.

No files require special attention.

Prompt To Fix All With AI
This is a comment left during a code review.
Path: extensions/tlon/src/tlon-api.ts
Line: 249-255

Comment:
**`release()` acquired before `try` — consider wrapping the guard call too**

`fetchWithSsrFGuard` is called on line 236 before the `try` block begins on line 249, so `release` is only in scope within the guarded `try/finally`. This is technically safe because if `fetchWithSsrFGuard` itself throws, there is nothing to release. However, the pattern is fragile: if any code is inserted between the destructuring and the `try` (e.g. a logging call, a second await), a thrown exception there would leak the acquired guard resource. Suggested defensive refactor using an optional `release?.()` in the `finally`:

```typescript
    let release: (() => Promise<void>) | undefined;
    try {
      const guarded = await fetchWithSsrFGuard({
        url: uploadUrl,
        init: {
          method: "PUT",
          body: params.blob,
          headers: {
            "Cache-Control": "public, max-age=3600",
            "Content-Type": contentType,
          },
        },
        auditContext: "tlon-memex-upload",
      });
      release = guarded.release;
      if (!guarded.response.ok) {
        throw new Error(`Upload failed: ${guarded.response.status}`);
      }
    } finally {
      await release?.();
    }
```

This is a style hardening — the current code is correct in all foreseeable paths today.

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: extensions/tlon/src/tlon-api.test.ts
Line: 62-64

Comment:
**Redundant `mockClear` after `vi.clearAllMocks()`**

`vi.clearAllMocks()` (line 62) already resets call history and return values on every mock including `mockRelease`, so `mockRelease.mockClear()` on line 64 is a no-op and can be removed.

```suggestion
    vi.clearAllMocks();
    vi.stubGlobal("fetch", vi.fn());
    mockAuthenticate.mockResolvedValue("urbauth-~zod=fake-cookie");
```

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: extensions/tlon/src/tlon-api.test.ts
Line: 120-147

Comment:
**Missing assertion that `release` is not called on guard rejection**

The blocked-target test correctly asserts that the error propagates, but doesn't assert that `mockRelease` was never called. Adding `expect(mockRelease).not.toHaveBeenCalled()` would lock in that no resource is leaked (or erroneously released) on the rejection path, complementing the `toHaveBeenCalledTimes(1)` assertion in the success test.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "fix(tlon): guard memex upload target" | Re-trigger Greptile

Comment thread extensions/tlon/src/tlon-api.ts Resolved
Comment thread extensions/tlon/src/tlon-api.test.ts Resolved
Comment thread extensions/tlon/src/tlon-api.test.ts Resolved
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch from 9b7d657 to 9c65ea4 Compare April 21, 2026 17:50

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b6cc73271d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 89861ff1c2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: efc220e4d3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch from 432fa28 to 0d2931d Compare April 21, 2026 19:18
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Apr 21, 2026
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch from 8267577 to 717237f Compare April 21, 2026 20:05

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 717237fc5b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread scripts/check-no-raw-channel-fetch.mjs Resolved
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch 2 times, most recently from 0117278 to c8595a8 Compare April 21, 2026 20:13

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c8595a8ada

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1a67245ba3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved
@aisle-research-bot

aisle-research-bot Bot commented Apr 21, 2026 •

Copy link
Copy Markdown

🔒 Aisle Security Analysis

We found 1 potential security issue(s) in this PR:

# Severity Title
1 🟡 Medium Untrusted ship-provided custom S3 endpoint allows exfiltration of uploaded blobs to attacker-controlled public hosts
1. 🟡 Untrusted ship-provided custom S3 endpoint allows exfiltration of uploaded blobs to attacker-controlled public hosts
Property Value
Severity Medium
CWE CWE-201
Location extensions/tlon/src/tlon-api.ts:341-388

Description

In the custom S3 upload path, the plugin uses storage credentials obtained from the connected ship (via /storage/credentials.json) to configure an S3 client and then uploads the user-provided Blob to a signedUrl generated from that endpoint.

Because the endpoint is not allowlisted/confirmed and fetchWithSsrFGuard only blocks private/loopback networks by default, a malicious or compromised ship can return custom S3 credentials pointing at an attacker-controlled public HTTPS host. The plugin will then upload the user's selected file directly to that host.

Key points:

  • Input (untrusted): credentials.endpoint, credentials.accessKeyId, credentials.secretAccessKey retrieved from the ship via scryJson(..., "/storage/credentials.json").
  • Sink: fetchWithSsrFGuard({ url: signedUrl, ... body: params.blob }) performs an outbound PUT to the derived URL.
  • Impact: user-selected file content can be exfiltrated to attacker infrastructure without additional user confirmation or endpoint allowlisting.

Vulnerable code:

const endpoint = new URL(prefixEndpoint(credentials.endpoint));
const client = new S3Client({ endpoint: { /* derived from ship-provided endpoint */ }, ... });
...
const signedUrl = await getSignedUrl(client, command, { ... });
...
await fetchWithSsrFGuard({
  url: signedUrl,
  init: { method: "PUT", body: params.blob, ... },
  ...
});

Recommendation

Treat ship-provided custom S3 credentials as untrusted configuration and prevent silent uploads to arbitrary public hosts.

Options (choose based on product requirements):

  1. Allowlist acceptable storage endpoints (recommended for hosted/managed environments):
    • Require credentials.endpoint hostname to match an allowlist (or match the ship hostname / an organization-controlled suffix).
function assertAllowedCustomS3Endpoint(raw: string): URL {
  const url = new URL(prefixEndpoint(raw));
  if (url.protocol !== "https:") throw new Error("Custom S3 endpoint must use https");
  const allowed = ["s3.example.com", "nyc3.digitaloceanspaces.com"]; // example
  if (!allowed.includes(url.hostname)) throw new Error("Unapproved storage endpoint");
  return url;
}
  1. Explicit user confirmation when the upload target hostname is not previously trusted/stored locally (show hostname and require approval).

  2. Bind the upload destination to publicUrlBase or another ship-provided URL that is itself verified/anchored (e.g., via TLS pinning / known domain boundary) to ensure the upload URL and public URL share an expected origin.

Also consider logging/auditing the final hostname used for custom S3 uploads to aid detection.


Analyzed PR: #69794 at commit 0e6fd7b

Last updated on: 2026-04-21T21:55:57Z

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e7c26aa13b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch from e7c26aa to db4687a Compare April 21, 2026 20:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: db4687a4ac

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread scripts/check-no-raw-channel-fetch.mjs Resolved
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch from db4687a to f36d0a1 Compare April 21, 2026 20:54

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f36d0a11c3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread extensions/tlon/src/tlon-api.ts Resolved
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch 2 times, most recently from 47e6d07 to 42bb8de Compare April 21, 2026 21:30
@drobison00
drobison00 force-pushed the fix-tlon-upload-url-guard branch from 42bb8de to 0e6fd7b Compare April 21, 2026 21:53
@drobison00
drobison00 merged commit ee316db into openclaw:main Apr 21, 2026
91 checks passed
medikoo pushed a commit to medikoo/openclaw that referenced this pull request Apr 24, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
zhonghe0615 pushed a commit to zhonghe0615/openclaw that referenced this pull request May 7, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
globalcaos pushed a commit to globalcaos/tinkerclaw that referenced this pull request May 13, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
vixco pushed a commit to vixco/openclaw that referenced this pull request Aug 16, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
Heetisk pushed a commit to Heetisk/openclaw that referenced this pull request Sep 28, 2026
* fix(tlon): guard memex upload target

* fix(tlon): harden guarded memex upload

* fix(tlon): validate hosted memex upload targets

* fix(tlon): tighten hosted domain matching

* fix(tlon): reject non-standard memex upload ports

* fix(tlon): disable memex upload redirects

* test(tlon): drop redundant mock resets in memex upload test

* chore(lint): update tlon raw-fetch allowlist for guarded memex upload

* fix(tlon): reject unparseable ship URLs in hosted-ship classifier

* fix(lint): point tlon raw-fetch allowlist at fetch callee lines

* fix(tlon): guard custom-S3 upload through fetchWithSsrFGuard

* fix(tlon): preserve scheme-less hosted ship routing and allow explicit :443

* docs(changelog): note tlon upload guard

* fix(tlon): guard memex lookup and private s3 opt-in

* fix(tlon): validate upload result URLs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: tlon Channel integration: tlon maintainer Maintainer-authored PR scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant