Commit Graph

456 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
Peter Steinberger 9d8d1dd4c5
refactor: dedupe shared string aliases 8 months ago
Vincent Koc d5ed6d26e9 chore(plugins): bulk add package boundary tsconfig rollout 8 months ago
Peter Steinberger 90a45a4907
refactor: dedupe provider channel readers 8 months ago
Peter Steinberger 625fd5b3e3
refactor: centralize inbound mention policy 8 months ago
Peter Steinberger d9fbfa268f
refactor: dedupe extension string helpers 8 months ago
Peter Steinberger ddd0fcdc83
fix(ci): refresh extension mocks and protocol models 8 months ago
Peter Steinberger 59ccea334d
refactor: dedupe exported record guards 8 months ago
Vincent Koc cd09f41fe0 fix(ci): repair extension test and msteams seams 8 months ago
Peter Steinberger 0b7f6fa9d0
refactor: dedupe msteams handler record helper 8 months ago
Peter Steinberger a8ac0b7976
refactor: dedupe msteams record helper 8 months ago
Vincent Koc c3f806c9e4 perf(secrets): lighten channel contract loading 8 months ago
Vincent Koc 78639eff76 perf(secrets): narrow channel secret sdk seam 8 months ago
Peter Steinberger 8ff570ee42 refactor: resolve channel env vars from plugin manifests 8 months ago
Vincent Koc 8e2ecd053f fix(secrets): restore source-mode contract loading 8 months ago
Peter Steinberger 8b79cbcd06
build(plugins): align package versions to 2026.4.6 8 months ago
Peter Steinberger 860721f28d
build(plugins): sync bundled versions to 2026.4.6 8 months ago
Vincent Koc c3b19d204a perf(test): lazy-load bundled channel secrets 8 months ago
Peter Steinberger 378b2c2f5c
fix(check): absorb latest main lint drift 8 months ago
Lewis 1234c873bc
fix(msteams): add SSRF validation to file consent upload URL (#23596)
* fix(msteams): add SSRF validation to file consent upload URL

The uploadToConsentUrl() function previously accepted any URL from the
fileConsent/invoke response without validation. A malicious Teams tenant
user could craft an invoke activity with an attacker-controlled uploadUrl,
causing the bot to PUT file data to arbitrary destinations (SSRF).

This commit adds validateConsentUploadUrl() which enforces:

1. HTTPS-only protocol
2. Hostname must match a strict allowlist of Microsoft/SharePoint
   domains (sharepoint.com, graph.microsoft.com, onedrive.com, etc.)
3. DNS resolution check rejects private/reserved IPs (RFC 1918,
   loopback, link-local) to prevent DNS rebinding attacks

The CONSENT_UPLOAD_HOST_ALLOWLIST is intentionally narrower than the
existing DEFAULT_MEDIA_HOST_ALLOWLIST, excluding overly broad domains
like blob.core.windows.net and trafficmanager.net that any Azure
customer can create endpoints under.

Includes 47 tests covering IPv4/IPv6 private IP detection, protocol
enforcement, hostname allowlist matching, DNS failure handling, and
end-to-end upload validation.

* fix(msteams): validate all DNS answers for consent uploads

* fix(msteams): restore changelog header

---------

Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
8 months ago
Vincent Koc 620537914b fix(plugins): clean bundled extension lint tail 8 months ago
Peter Steinberger 8d095147b4
fix: restore check gate 8 months ago
Peter Steinberger af62a2c2e4
style: fix extension lint violations 8 months ago
Peter Steinberger ce8492f9a0
chore: bump version to 2026.4.5 8 months ago
Peter Steinberger 3126809cb0
refactor: clean bundled channel bootstrap boundaries 8 months ago
Peter Steinberger 89e8c8672c
fix: break bundled channel bootstrap cycles 8 months ago
Peter Steinberger 41e39eb46f
refactor: register channel bootstrap capabilities 8 months ago
coolramukaka-sys 70015be8b5
fix(msteams): replace deprecated HttpPlugin with httpServerAdapter (#60939)
Merged via squash.

Prepared head SHA: 7fe7f3c6bb847e1024ecd0e499b3f03588e6d9ec
Co-authored-by: coolramukaka-sys <271658891+coolramukaka-sys@users.noreply.github.com>
Co-authored-by: BradGroux <3053586+BradGroux@users.noreply.github.com>
Reviewed-by: @BradGroux
8 months ago
Peter Steinberger 67d6fc8847
chore(plugins): sync versions to 2026.4.4 8 months ago
Peter Steinberger c5c5c77ebb
fix(ci): restore contract-safe core imports 8 months ago
Peter Steinberger 5c32dddb1c
fix(ci): restore heartbeat task batching checks 8 months ago
Peter Steinberger 1037af01ad
style(agents): normalize runtime prompt formatting 8 months ago
Peter Steinberger 87d840e9ee
fix: tighten Teams and device typing 8 months ago
Brad Groux fce81fccd8
msteams: add typingIndicator config and prevent duplicate DM typing indicator (#60771)
* msteams: add typingIndicator config and avoid duplicate DM typing

* fix(msteams): validate typingIndicator config

* fix(msteams): stop streaming before Teams timeout

* fix(msteams): classify expired streams correctly

* fix(msteams): handle link text from html attachments

---------

Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
8 months ago
Peter Steinberger edfaa01d1d
refactor(plugin-sdk): split runtime helper seams 8 months ago
sudie-codes 928a5128f4
msteams: add channel-list and channel-info actions (#57529)
* msteams: add channel-list and channel-info actions via Graph API

* msteams: use action helpers, add channel-list pagination

* msteams: address PR #57529 review feedback
8 months ago
Brad Groux c88d6d67c8
feat(msteams): add OpenClaw User-Agent header to Microsoft HTTP calls (#51568) (#60433)
Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
8 months ago
Brad Groux dd2faa3764
fix(msteams): persist conversation reference during DM pairing (#60432)
* fix(msteams): persist conversation reference during DM pairing (#43323)

* ci: retrigger checks

---------

Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
8 months ago
Brad Groux 06c6ff6670
fix(msteams): handle Adaptive Card Action.Submit invoke activities (#60431)
* fix(msteams): handle Adaptive Card Action.Submit invoke activities (#55384)

* ci: retrigger checks

---------

Co-authored-by: Brad Groux <bradgroux@users.noreply.github.com>
8 months ago
Brad Groux 1b2fb6b98b
feat: add bundled StepFun provider plugin (#60032) (#60430)
Co-authored-by: hengm3467 <100685635+hengm3467@users.noreply.github.com>
Co-authored-by: George Zhang <georgezhangtj97@gmail.com>
8 months ago
Peter Steinberger b0e1551eb8
refactor(extensions): add channel-owned config schema seams 8 months ago
Peter Steinberger 1246e2b03a
refactor(extensions): move channel-specific config surfaces out of core 8 months ago
Vincent Koc c4bae0f7bf refactor(msteams): narrow channel runtime imports 8 months ago
Peter Steinberger e4b5027c5e
refactor(plugins): move extension seams into extensions 8 months ago
Peter Steinberger ab96520bba
refactor(plugins): move channel behavior into plugins 8 months ago
Vincent Koc 6366010884 fix(ci): route extension test helpers through public sdk seams 8 months ago
Peter Steinberger 0dad4072b4 fix: keep extension helper imports behind local runtime barrels (#60153) 8 months ago
Vincent Koc f6e99bd514 refactor(msteams): narrow messenger sdk imports 8 months ago
Vincent Koc 8b5e80fcaa refactor(msteams): narrow store sdk imports 8 months ago
Vincent Koc 6f9b4b52f8 refactor(msteams): narrow send sdk imports 8 months ago
Vincent Koc 875c3813aa refactor(msteams): narrow outbound sdk imports 8 months ago