@openclaw/sms 2026.8.1-beta.2 → 2026.8.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1527,7 +1527,13 @@ const resolveSmsDmPolicy = createScopedDmSecurityResolver({
|
|
|
1527
1527
|
approveHint: "openclaw pairing approve sms <code>",
|
|
1528
1528
|
normalizeEntry: normalizeSmsAllowFrom
|
|
1529
1529
|
});
|
|
1530
|
-
const collectSmsSecurityWarnings = createConditionalWarningCollector((account) => account.dangerouslyDisableSignatureValidation && "- SMS: Twilio signature validation is disabled. Only use this for local testing."
|
|
1530
|
+
const collectSmsSecurityWarnings = createConditionalWarningCollector((account) => account.dangerouslyDisableSignatureValidation && "- SMS: Twilio signature validation is disabled. Only use this for local testing.");
|
|
1531
|
+
const collectSmsOpenDmFindings = createConditionalWarningCollector.findings({
|
|
1532
|
+
collectWarnings: createConditionalWarningCollector((account) => account.dmPolicy === "open" && account.allowFrom.includes("*") && "- SMS: dmPolicy=\"open\" allows any phone number to message the bot."),
|
|
1533
|
+
checkId: "channels.sms.dm.open",
|
|
1534
|
+
severity: "critical",
|
|
1535
|
+
title: "SMS security warning"
|
|
1536
|
+
});
|
|
1531
1537
|
function smsSetupPatch(input) {
|
|
1532
1538
|
const patch = {};
|
|
1533
1539
|
for (const key of [
|
|
@@ -1886,7 +1892,7 @@ const smsPlugin = createChatChannelPlugin({
|
|
|
1886
1892
|
} },
|
|
1887
1893
|
security: {
|
|
1888
1894
|
resolveDmPolicy: resolveSmsDmPolicy,
|
|
1889
|
-
collectWarnings: ({ account }) => collectSmsSecurityWarnings(account)
|
|
1895
|
+
collectWarnings: ({ account }) => [...collectSmsSecurityWarnings(account), ...collectSmsOpenDmFindings(account)]
|
|
1890
1896
|
},
|
|
1891
1897
|
outbound: {
|
|
1892
1898
|
deliveryMode: "gateway",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/sms",
|
|
3
|
-
"version": "2026.8.1-beta.
|
|
3
|
+
"version": "2026.8.1-beta.3",
|
|
4
4
|
"description": "OpenClaw SMS/MMS channel plugin for Twilio messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
"compat": {
|
|
127
|
-
"pluginApi": ">=2026.8.1-beta.
|
|
127
|
+
"pluginApi": ">=2026.8.1-beta.3"
|
|
128
128
|
},
|
|
129
129
|
"build": {
|
|
130
|
-
"openclawVersion": "2026.8.1-beta.
|
|
130
|
+
"openclawVersion": "2026.8.1-beta.3",
|
|
131
131
|
"bundledDist": false
|
|
132
132
|
},
|
|
133
133
|
"install": {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"README.md"
|
|
152
152
|
],
|
|
153
153
|
"peerDependencies": {
|
|
154
|
-
"openclaw": ">=2026.8.1-beta.
|
|
154
|
+
"openclaw": ">=2026.8.1-beta.3"
|
|
155
155
|
},
|
|
156
156
|
"peerDependenciesMeta": {
|
|
157
157
|
"openclaw": {
|