Skip to content

Commit fd0fdcc

Browse files
authored
chore(docs): audit external links without gating PRs (#114643)
* docs: repair audited external links * ci(docs): add advisory external link audit
1 parent 2b11203 commit fd0fdcc

12 files changed

Lines changed: 77 additions & 29 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Docs External Link Audit
2+
3+
on:
4+
schedule:
5+
- cron: "47 7 * * 1"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
concurrency:
12+
group: docs-external-link-audit
13+
cancel-in-progress: false
14+
15+
jobs:
16+
audit:
17+
runs-on: ubuntu-24.04
18+
timeout-minutes: 45
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
22+
with:
23+
persist-credentials: false
24+
25+
- name: Audit external links
26+
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
27+
with:
28+
args: >-
29+
--no-progress
30+
--base-url https://docs.openclaw.ai
31+
--exclude-all-private
32+
--accept '100..=399,401,403,429'
33+
--accept-timeouts
34+
--max-retries 2
35+
--retry-wait-time 2
36+
--timeout 20
37+
--scheme http
38+
--scheme https
39+
--exclude '^https://docs\.openclaw\.ai/'
40+
--exclude '^https://github\.com/openclaw/maintainers/'
41+
--exclude '^https://(claude\.ai|help\.openai\.com|openai\.com|platform\.openai\.com|support\.discord\.com|www\.npmjs\.com|www\.raspberrypi\.com)/'
42+
'./README.md'
43+
'./CONTRIBUTING.md'
44+
'./SECURITY.md'
45+
'./docs/**/*.md'
46+
'./docs/**/*.mdx'
47+
'./docs/docs.json'
48+
fail: false
49+
failIfEmpty: true
50+
format: markdown
51+
output: .artifacts/docs-external-links/report.md
52+
53+
- name: Upload audit report
54+
if: always()
55+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
56+
with:
57+
name: docs-external-link-audit
58+
path: .artifacts/docs-external-links
59+
include-hidden-files: true
60+
if-no-files-found: warn
61+
retention-days: 14

‎CONTRIBUTING.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ We take security reports seriously. Report vulnerabilities directly to the repos
155155
- **iOS app** — [openclaw/openclaw](https://github.com/openclaw/openclaw) (apps/ios)
156156
- **Android app** — [openclaw/openclaw](https://github.com/openclaw/openclaw) (apps/android)
157157
- **ClawHub** — [openclaw/clawhub](https://github.com/openclaw/clawhub)
158-
- **Trust and threat model** — [openclaw/trust](https://github.com/openclaw/trust)
159158

160159
For issues that don't fit a specific repo, or if you're unsure, email **[email protected]** and we'll route it.
161160

‎SECURITY.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Report vulnerabilities directly to the repository where the issue lives:
2121
- **iOS app** — [openclaw/openclaw](https://github.com/openclaw/openclaw) (apps/ios)
2222
- **Android app** — [openclaw/openclaw](https://github.com/openclaw/openclaw) (apps/android)
2323
- **ClawHub** — [openclaw/clawhub](https://github.com/openclaw/clawhub)
24-
- **Trust and threat model** — [openclaw/trust](https://github.com/openclaw/trust)
2524

2625
For issues that don't fit a specific repo, or if you're unsure, email **[[email protected]](mailto:[email protected])** and we'll route it.
2726

‎docs/concepts/typebox.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ Unknown frame types are preserved as raw payloads for forward compatibility.
266266

267267
## Live schema JSON
268268

269-
Generated JSON Schema is a build artifact, not committed to the repo. The published raw file is typically available at:
269+
Generated JSON Schema is a build artifact, not committed to the repo. During the package rollout, the current beta schema is available at:
270270

271-
- [https://raw.githubusercontent.com/openclaw/openclaw/main/dist/protocol.schema.json](https://raw.githubusercontent.com/openclaw/openclaw/main/dist/protocol.schema.json)
271+
- [`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@beta/protocol.schema.json)
272272

273273
## When you change schemas
274274

‎docs/gateway/clients.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ install them only after the registry pages below resolve.
3131
provides schemas, runtime validators, TypeScript types, client identity and
3232
capability registries, structured error readers, and protocol version constants.
3333
Its npm tarball also includes the generated
34-
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol/protocol.schema.json)
34+
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@beta/protocol.schema.json)
3535
machine-readable contract.
3636
- [`@openclaw/gateway-client`](https://www.npmjs.com/package/@openclaw/gateway-client)
3737
is the reference connection implementation. Import the package root for the Node

‎docs/gateway/protocol.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm may return `E404` until the first package-bearing release is published.
2020
- [`@openclaw/gateway-protocol`](https://www.npmjs.com/package/@openclaw/gateway-protocol)
2121
publishes the schemas, validators, TypeScript types, lightweight frame and error
2222
helpers, and version constants. Its tarball includes the generated
23-
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol/protocol.schema.json)
23+
[`protocol.schema.json`](https://unpkg.com/@openclaw/gateway-protocol@beta/protocol.schema.json)
2424
machine-readable contract.
2525
- [`@openclaw/gateway-client`](https://www.npmjs.com/package/@openclaw/gateway-client)
2626
publishes the reference Node client and a browser-safe entry at

‎docs/help/faq.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ Model Q&A - defaults, selection, aliases, switching, failover, auth profiles - l
15721572

15731573
---
15741574

1575-
Still stuck? Ask in [Discord](https://discord.com/invite/clawd) or open a [GitHub discussion](https://github.com/openclaw/openclaw/discussions).
1575+
Still stuck? Ask in [Discord](https://discord.com/invite/clawd) or use the [GitHub issue chooser](https://github.com/openclaw/openclaw/issues/new/choose).
15761576

15771577
## Related
15781578

‎docs/releases/2026.7.1.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Discord, Slack, WhatsApp, Apple Messages, and other supported channels also rece
473473
- When Slack accepts a reply but the confirmation is lost, OpenClaw can verify the existing post and avoid sending a duplicate. [#97480](https://github.com/openclaw/openclaw/pull/97480) Thanks @joeyfrasier.
474474
- Discord message, thread-history, and attachment requests now reject oversized successful responses before they can drive excessive Gateway memory growth. [#97693](https://github.com/openclaw/openclaw/pull/97693) Thanks @alix-007.
475475
- Discord PluralKit lookups and voice-upload setup now stop unexpectedly large JSON responses before they can exhaust memory. [#97706](https://github.com/openclaw/openclaw/pull/97706) Thanks @cxbasdev.
476-
- Discord voice conversations in `stt-tts` mode now retain earlier spoken context across turns instead of starting over after each reply. [#97746](https://github.com/openclaw/openclaw/pull/97746) Thanks @karabaralex, @sanjays2402.
476+
- Discord voice conversations in `stt-tts` mode now retain earlier spoken context across turns instead of starting over after each reply. [6cc534b](https://github.com/openclaw/openclaw/commit/6cc534bbad7b593b701f133daee275cfca67ff86) Thanks @karabaralex, @sanjays2402.
477477
- Malformed successful Discord responses now fail with endpoint-specific context instead of surfacing a raw parser error or crashing OpenClaw. [#97889](https://github.com/openclaw/openclaw/pull/97889) Thanks @lsr911.
478478
- An oversized Discord gateway metadata response now logs a bounded error and falls back to Discord's default gateway URL instead of risking a Gateway crash. [#98682](https://github.com/openclaw/openclaw/pull/98682) Thanks @wings1029.
479479
- Discord deployments in restricted networks can now route Gateway and REST traffic through an explicitly configured DNS or private HTTP(S) proxy without opening broad direct HTTPS egress. [#99126](https://github.com/openclaw/openclaw/pull/99126) Related [#98266](https://github.com/openclaw/openclaw/issues/98266). Thanks @joshavant, @sallyom, @svuppala2006.
@@ -807,7 +807,7 @@ The [model catalog](/concepts/models) also reports availability and capability m
807807
- OpenAI embedding batch polling and Realtime setup now cancel oversized successful responses early and return a bounded error instead of growing memory without limit. [#97533](https://github.com/openclaw/openclaw/pull/97533) Thanks @hugenshen.
808808
- OpenAI OAuth usage checks now cap oversized WHAM rate-limit responses before they can destabilize the process. [#97702](https://github.com/openclaw/openclaw/pull/97702) Thanks @cxbasdev.
809809
- GPT-5.5 and other models can send valid streaming events larger than 64 KiB through ChatGPT Responses without failing the request, while malformed unbounded streams remain limited. [#98198](https://github.com/openclaw/openclaw/pull/98198) Thanks @marvinthebored, @obviyus, @peetiegonzalez.
810-
- Custom Xiaomi MiMo and other OpenAI-compatible models without a known output limit can now complete chats instead of failing with an invented oversized cap. [#98312](https://github.com/openclaw/openclaw/pull/98312) Thanks @peole, @sanjays2402.
810+
- Custom Xiaomi MiMo and other OpenAI-compatible models without a known output limit can now complete chats instead of failing with an invented oversized cap. [00a8dae](https://github.com/openclaw/openclaw/commit/00a8dae28beae4cef8759d34146f61f0363a680f) Thanks @peole, @sanjays2402.
811811
- `openclaw agent --local` now reports a clear first-event timeout when a provider opens a stream but never sends usable output instead of appearing to hang indefinitely. [#98525](https://github.com/openclaw/openclaw/pull/98525) Thanks @osolmaz.
812812
- OpenAI-compatible embedding batch downloads now process valid large outputs while stopping oversized files or JSONL records before they can exhaust memory. [#98554](https://github.com/openclaw/openclaw/pull/98554) Thanks @sunlit-deng, @vincentkoc.
813813
- Library and integration developers can now install a version-matched package, create independent AI runtimes, and reuse OpenClaw's supported model transports without embedding the full application. [#99059](https://github.com/openclaw/openclaw/pull/99059)
@@ -1714,7 +1714,7 @@ Official packages are easier to obtain through the supported [Docker](/install/d
17141714
- When a Telegram plugin approval cannot be routed, operators now receive practical Web UI, terminal UI, and configuration guidance instead of a generic failure or timeout. [#95973](https://github.com/openclaw/openclaw/pull/95973) Related [#95800](https://github.com/openclaw/openclaw/issues/95800). Thanks @chrisbot2026, @monkeyleet.
17151715
- Marketplace diagnostics now show whether refresh and entries commands used a hosted feed, a saved snapshot, or a fallback without logging feed secrets. [#96194](https://github.com/openclaw/openclaw/pull/96194) Thanks @giodl73-repo.
17161716
- Provider plugins that mask text now restore intended values inside tool-call inputs before messages, file operations, and other external actions run. [#97769](https://github.com/openclaw/openclaw/pull/97769) Related [#97761](https://github.com/openclaw/openclaw/issues/97761). Thanks @get-viti, @zoowh.
1717-
- Plugin install and update failures now show whether npm exited, was killed, or timed out instead of presenting a blank error that makes valid packages look invalid. [#98497](https://github.com/openclaw/openclaw/pull/98497) Thanks @sanjays2402, @vincentkoc.
1717+
- Plugin install and update failures now show whether npm exited, was killed, or timed out instead of presenting a blank error that makes valid packages look invalid. [4dcd95d](https://github.com/openclaw/openclaw/commit/4dcd95d1bcefbd832b3ae8c3bbf180f221b519ef) Thanks @sanjays2402, @vincentkoc.
17181718
- Plugin and media workflows now handle malformed or truncated ffprobe output without crashing while continuing to read valid video dimensions normally. [#98613](https://github.com/openclaw/openclaw/pull/98613) Thanks @pick-cat.
17191719
- `/status plugins` now groups disabled plugins by reason, including allowlist, denylist, default, and override decisions, without changing activation behavior. [#99598](https://github.com/openclaw/openclaw/pull/99598) Thanks @masatohoshino.
17201720
- Plugin authors can now import shared `textResult` and `jsonResult` helpers from `openclaw/plugin-sdk/tool-results` instead of recreating common response shapes. [#99740](https://github.com/openclaw/openclaw/pull/99740) Thanks @romneyda.

‎docs/security/CONTRIBUTING-THREAT-MODEL.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is for adding to the threat model, not reporting live vulnerabilities. If y
1414

1515
## Ways to contribute
1616

17-
**Add a threat.** Open an issue on [openclaw/trust](https://github.com/openclaw/trust/issues) describing the attack scenario in your own words. Helpful but not required:
17+
**Add a threat.** Open a [documentation issue](https://github.com/openclaw/openclaw/issues/new?template=docs_bug_report.yml) describing the attack scenario in your own words. Helpful but not required:
1818

1919
- The attack scenario and how it could be exploited.
2020
- Which components are affected (CLI, gateway, channels, ClawHub, MCP servers, etc.).
@@ -65,13 +65,12 @@ Threats are mapped to [MITRE ATLAS](https://atlas.mitre.org/) (Adversarial Threa
6565
## Resources
6666

6767
- [ATLAS website](https://atlas.mitre.org/)
68-
- [ATLAS techniques](https://atlas.mitre.org/techniques/)
69-
- [ATLAS case studies](https://atlas.mitre.org/studies/)
68+
- [ATLAS data and contribution guide](https://github.com/mitre-atlas/atlas-data)
7069

7170
## Contact
7271

7372
- **Security vulnerabilities:** [Trust page](https://trust.openclaw.ai) for reporting instructions, or `[email protected]`.
74-
- **Threat model questions:** open an issue on [openclaw/trust](https://github.com/openclaw/trust/issues).
73+
- **Threat model questions:** open a [documentation issue](https://github.com/openclaw/openclaw/issues/new?template=docs_bug_report.yml).
7574
- **General chat:** Discord `#security` channel.
7675

7776
## Recognition

‎docs/security/THREAT-MODEL-ATLAS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ read_when:
1010

1111
This threat model documents adversarial threats to the OpenClaw AI agent platform and ClawHub skill marketplace. It is a living document maintained by the OpenClaw community. See [Contributing to the threat model](/security/CONTRIBUTING-THREAT-MODEL) for how to report new threats, propose attack chains, or suggest mitigations.
1212

13-
**Key ATLAS resources:** [Techniques](https://atlas.mitre.org/techniques/) | [Tactics](https://atlas.mitre.org/tactics/) | [Case studies](https://atlas.mitre.org/studies/) | [ATLAS GitHub](https://github.com/mitre-atlas/atlas-data) | [Contributing to ATLAS](https://atlas.mitre.org/resources/contribute)
13+
**Key ATLAS resources:** [ATLAS website](https://atlas.mitre.org/) | [ATLAS data and contribution guide](https://github.com/mitre-atlas/atlas-data)
1414

1515
---
1616

0 commit comments

Comments
 (0)