@salesforce/plugin-trust 3.7.127 → 3.8.0

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.
package/README.md CHANGED
@@ -91,8 +91,113 @@ sfdx plugins
91
91
 
92
92
  <!-- commands -->
93
93
 
94
+ - [`@salesforce/plugin-trust plugins trust allowlist add`](#salesforceplugin-trust-plugins-trust-allowlist-add)
95
+ - [`@salesforce/plugin-trust plugins trust allowlist list`](#salesforceplugin-trust-plugins-trust-allowlist-list)
96
+ - [`@salesforce/plugin-trust plugins trust allowlist remove`](#salesforceplugin-trust-plugins-trust-allowlist-remove)
94
97
  - [`@salesforce/plugin-trust plugins trust verify`](#salesforceplugin-trust-plugins-trust-verify)
95
98
 
99
+ ## `@salesforce/plugin-trust plugins trust allowlist add`
100
+
101
+ Add plugins to the plugin allowlist.
102
+
103
+ ```
104
+ USAGE
105
+ $ @salesforce/plugin-trust plugins trust allowlist add -n <value>... [--json] [--flags-dir <value>]
106
+
107
+ FLAGS
108
+ -n, --name=<value>... (required) The npm name of the plugin to add to the allowlist. Add multiple plugins by
109
+ specifying the `--name` flag multiple times.
110
+
111
+ GLOBAL FLAGS
112
+ --flags-dir=<value> Import flag values from a directory.
113
+ --json Format output as json.
114
+
115
+ DESCRIPTION
116
+ Add plugins to the plugin allowlist.
117
+
118
+ The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is
119
+ unsigned.
120
+
121
+ This command adds one or more plugins to the `unsignedPluginAllowList.json` file, creating the file if it doesn't
122
+ exist. Plugins already present in the allowlist are skipped.
123
+
124
+ EXAMPLES
125
+ Add a single plugin to the allowlist:
126
+
127
+ $ @salesforce/plugin-trust plugins trust allowlist add --name @scope/my-plugin
128
+
129
+ Add multiple plugins to the allowlist:
130
+
131
+ $ @salesforce/plugin-trust plugins trust allowlist add --name @scope/my-plugin --name another-plugin
132
+ ```
133
+
134
+ _See code: [src/commands/plugins/trust/allowlist/add.ts](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/allowlist/add.ts)_
135
+
136
+ ## `@salesforce/plugin-trust plugins trust allowlist list`
137
+
138
+ List the plugins on the plugin allowlist.
139
+
140
+ ```
141
+ USAGE
142
+ $ @salesforce/plugin-trust plugins trust allowlist list [--json] [--flags-dir <value>]
143
+
144
+ GLOBAL FLAGS
145
+ --flags-dir=<value> Import flag values from a directory.
146
+ --json Format output as json.
147
+
148
+ DESCRIPTION
149
+ List the plugins on the plugin allowlist.
150
+
151
+ The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is
152
+ unsigned.
153
+
154
+ This command prints the contents of the `unsignedPluginAllowList.json` file as a table.
155
+
156
+ EXAMPLES
157
+ List all plugins on the allowlist:
158
+
159
+ $ @salesforce/plugin-trust plugins trust allowlist list
160
+ ```
161
+
162
+ _See code: [src/commands/plugins/trust/allowlist/list.ts](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/allowlist/list.ts)_
163
+
164
+ ## `@salesforce/plugin-trust plugins trust allowlist remove`
165
+
166
+ Remove plugins from the plugin allowlist.
167
+
168
+ ```
169
+ USAGE
170
+ $ @salesforce/plugin-trust plugins trust allowlist remove -n <value>... [--json] [--flags-dir <value>]
171
+
172
+ FLAGS
173
+ -n, --name=<value>... (required) The npm name of the plugin to remove from the allowlist. Remove multiple plugins by
174
+ specifying the `--name` flag multiple times.
175
+
176
+ GLOBAL FLAGS
177
+ --flags-dir=<value> Import flag values from a directory.
178
+ --json Format output as json.
179
+
180
+ DESCRIPTION
181
+ Remove plugins from the plugin allowlist.
182
+
183
+ The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is
184
+ unsigned.
185
+
186
+ This command removes one or more plugins from the `unsignedPluginAllowList.json` file. Plugins not present in the
187
+ allowlist are skipped.
188
+
189
+ EXAMPLES
190
+ Remove a single plugin from the allowlist:
191
+
192
+ $ @salesforce/plugin-trust plugins trust allowlist remove --name @scope/my-plugin
193
+
194
+ Remove multiple plugins from the allowlist:
195
+
196
+ $ @salesforce/plugin-trust plugins trust allowlist remove --name @scope/my-plugin --name another-plugin
197
+ ```
198
+
199
+ _See code: [src/commands/plugins/trust/allowlist/remove.ts](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/allowlist/remove.ts)_
200
+
96
201
  ## `@salesforce/plugin-trust plugins trust verify`
97
202
 
98
203
  Validate a digital signature.
@@ -120,6 +225,6 @@ EXAMPLES
120
225
  $ @salesforce/plugin-trust plugins trust verify --npm @scope/npmName
121
226
  ```
122
227
 
123
- _See code: [src/commands/plugins/trust/verify.ts](https://github.com/salesforcecli/plugin-trust/blob/3.7.127/src/commands/plugins/trust/verify.ts)_
228
+ _See code: [src/commands/plugins/trust/verify.ts](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/verify.ts)_
124
229
 
125
230
  <!-- commandsstop -->
@@ -0,0 +1,11 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ import { type AllowListResult } from '../../../../shared/allowlist.js';
3
+ export declare class AllowListAdd extends SfCommand<AllowListResult> {
4
+ static readonly summary: string;
5
+ static readonly description: string;
6
+ static readonly examples: string[];
7
+ static readonly flags: {
8
+ name: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
9
+ };
10
+ run(): Promise<AllowListResult>;
11
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
17
+ import { Messages } from '@salesforce/core';
18
+ import { AllowList } from '../../../../shared/allowlist.js';
19
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
+ const messages = Messages.loadMessages('@salesforce/plugin-trust', 'allowlist.add');
21
+ export class AllowListAdd extends SfCommand {
22
+ static summary = messages.getMessage('summary');
23
+ static description = messages.getMessage('description');
24
+ static examples = messages.getMessages('examples');
25
+ static flags = {
26
+ name: Flags.string({
27
+ char: 'n',
28
+ summary: messages.getMessage('flags.name.summary'),
29
+ required: true,
30
+ multiple: true,
31
+ }),
32
+ };
33
+ async run() {
34
+ const { flags } = await this.parse(AllowListAdd);
35
+ const allowList = new AllowList(this.config.configDir);
36
+ const existingAllowList = await allowList.get();
37
+ const results = [];
38
+ const addedPlugins = [];
39
+ for (const name of flags.name) {
40
+ const shouldAddPlugin = !existingAllowList.includes(name);
41
+ if (shouldAddPlugin) {
42
+ addedPlugins.push(name);
43
+ results.push({ Plugin: name, Status: 'added' });
44
+ }
45
+ else {
46
+ results.push({ Plugin: name, Status: 'skipped', Reason: 'already within allowlist' });
47
+ }
48
+ }
49
+ if (addedPlugins.length > 0) {
50
+ await allowList.save([...existingAllowList, ...addedPlugins]);
51
+ }
52
+ this.table({
53
+ data: results,
54
+ });
55
+ return results;
56
+ }
57
+ }
58
+ //# sourceMappingURL=add.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add.js","sourceRoot":"","sources":["../../../../../src/commands/plugins/trust/allowlist/add.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAwB,MAAM,iCAAiC,CAAC;AAElF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,M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BACN,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,0BAA0B,EAAE,CAAC,CAAC;YACxF,CAAC;QACH,CAAC;QAED,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC5B,MAAM,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,iBAAiB,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC;QAChE,CAAC;QAED,IAAI,CAAC,KAAK,CAAC;YACT,IAAI,EAAE,OAAO;SACd,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACjB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ import { type AllowListResult } from '../../../../shared/allowlist.js';
3
+ export declare class AllowListList extends SfCommand<AllowListResult> {
4
+ static readonly summary: string;
5
+ static readonly description: string;
6
+ static readonly examples: string[];
7
+ run(): Promise<AllowListResult>;
8
+ }
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { SfCommand } from '@salesforce/sf-plugins-core';
17
+ import { Messages } from '@salesforce/core';
18
+ import { AllowList } from '../../../../shared/allowlist.js';
19
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
+ const messages = Messages.loadMessages('@salesforce/plugin-trust', 'allowlist.list');
21
+ export class AllowListList extends SfCommand {
22
+ static summary = messages.getMessage('summary');
23
+ static description = messages.getMessage('description');
24
+ static examples = messages.getMessages('examples');
25
+ async run() {
26
+ const existingAllowList = await new AllowList(this.config.configDir).get();
27
+ if (existingAllowList.length === 0) {
28
+ this.log(messages.getMessage('NoPluginsAllowListed'));
29
+ return [];
30
+ }
31
+ const results = existingAllowList.map((plugin) => ({ Plugin: plugin }));
32
+ this.table({
33
+ data: results,
34
+ });
35
+ return results;
36
+ }
37
+ }
38
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../src/commands/plugins/trust/allowlist/list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAwB,MAAM,iCAAiC,CAAC;AAElF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,gBAAgB,CAAC,CAAC;AAErF,MAAM,OAAO,aAAc,SAAQ,SAA0B;IACpD,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,KAAK,CAAC,GAAG;QACd,MAAM,iBAAiB,GAAG,MAAM,IAAI,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC;QAE3E,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;YACtD,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,OAAO,GAAoB,iBAAiB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAEzF,IAAI,CAAC,KAAK,CAAC;YACT,IAAI,EAAE,OAAO;SACd,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACjB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ import { type AllowListResult } from '../../../../shared/allowlist.js';
3
+ export declare class AllowListRemove extends SfCommand<AllowListResult> {
4
+ static readonly summary: string;
5
+ static readonly description: string;
6
+ static readonly examples: string[];
7
+ static readonly flags: {
8
+ name: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
9
+ };
10
+ run(): Promise<AllowListResult>;
11
+ }
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
17
+ import { Messages } from '@salesforce/core';
18
+ import { AllowList } from '../../../../shared/allowlist.js';
19
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
+ const messages = Messages.loadMessages('@salesforce/plugin-trust', 'allowlist.remove');
21
+ export class AllowListRemove extends SfCommand {
22
+ static summary = messages.getMessage('summary');
23
+ static description = messages.getMessage('description');
24
+ static examples = messages.getMessages('examples');
25
+ static flags = {
26
+ name: Flags.string({
27
+ char: 'n',
28
+ summary: messages.getMessage('flags.name.summary'),
29
+ required: true,
30
+ multiple: true,
31
+ }),
32
+ };
33
+ async run() {
34
+ const { flags } = await this.parse(AllowListRemove);
35
+ const allowList = new AllowList(this.config.configDir);
36
+ const existingAllowList = await allowList.get();
37
+ const results = [];
38
+ const pluginsToRemove = new Set();
39
+ for (const name of flags.name) {
40
+ if (existingAllowList.includes(name)) {
41
+ pluginsToRemove.add(name);
42
+ results.push({ Plugin: name, Status: 'removed' });
43
+ }
44
+ else {
45
+ results.push({ Plugin: name, Status: 'skipped', Reason: 'not in allowlist' });
46
+ }
47
+ }
48
+ if (pluginsToRemove.size > 0) {
49
+ await allowList.save(existingAllowList.filter((plugin) => !pluginsToRemove.has(plugin)));
50
+ }
51
+ this.table({
52
+ data: results,
53
+ });
54
+ return results;
55
+ }
56
+ }
57
+ //# sourceMappingURL=remove.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove.js","sourceRoot":"","sources":["../../../../../src/commands/plugins/trust/allowlist/remove.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAwB,MAAM,iCAAiC,CAAC;AAElF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC;AAEvF,MAAM,OAAO,eAAgB,SAAQ,SAA0B;IACtD,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,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,EAAE,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3F,CAAC;QAED,IAAI,CAAC,KAAK,CAAC;YACT,IAAI,EAAE,OAAO;SACd,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACjB,CAAC"}
@@ -0,0 +1,11 @@
1
+ export type AllowListResult = Array<{
2
+ Plugin: string;
3
+ Status?: 'added' | 'removed' | 'skipped';
4
+ Reason?: string;
5
+ }>;
6
+ export declare class AllowList {
7
+ #private;
8
+ constructor(dir: string);
9
+ get(): Promise<string[]>;
10
+ save(allowList: string[]): Promise<void>;
11
+ }
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import fs from 'node:fs';
17
+ import path from 'node:path';
18
+ import { SfError } from '@salesforce/core';
19
+ import { ALLOW_LIST_FILENAME } from './constants.js';
20
+ export class AllowList {
21
+ #allowListPath;
22
+ #baseDir;
23
+ constructor(dir) {
24
+ this.#allowListPath = path.join(dir, ALLOW_LIST_FILENAME);
25
+ this.#baseDir = dir;
26
+ }
27
+ async get() {
28
+ let existingAllowList = [];
29
+ try {
30
+ const content = (await fs.promises.readFile(this.#allowListPath)).toString();
31
+ const parsed = JSON.parse(content);
32
+ if (!Array.isArray(parsed) || parsed.find((e) => typeof e !== 'string')) {
33
+ throw new SfError(`${ALLOW_LIST_FILENAME} must contain a JSON array of strings.`);
34
+ }
35
+ existingAllowList = parsed;
36
+ }
37
+ catch (err) {
38
+ if (err instanceof SyntaxError) {
39
+ throw new SfError(err.message);
40
+ }
41
+ else if (err instanceof Error) {
42
+ if (!('code' in err) || err.code !== 'ENOENT') {
43
+ throw err;
44
+ }
45
+ else {
46
+ await this.#createAllowlistPath();
47
+ }
48
+ }
49
+ else {
50
+ throw err;
51
+ }
52
+ }
53
+ return existingAllowList;
54
+ }
55
+ async save(allowList) {
56
+ await fs.promises.writeFile(this.#allowListPath, JSON.stringify(allowList, null, 2));
57
+ }
58
+ async #createAllowlistPath() {
59
+ try {
60
+ await fs.promises.stat(this.#baseDir);
61
+ }
62
+ catch (_) {
63
+ // we will try exactly once to blindly create the full directory. any error here will get bubbled back up to the caller
64
+ await fs.promises.mkdir(this.#baseDir, { recursive: true });
65
+ }
66
+ }
67
+ }
68
+ //# sourceMappingURL=allowlist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlist.js","sourceRoot":"","sources":["../../src/shared/allowlist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAQrD,MAAM,OAAO,SAAS;IACX,cAAc,CAAS;IACvB,QAAQ,CAAS;IAE1B,YAAmB,GAAW;QAC5B,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;QAC1D,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;IACtB,CAAC;IAEM,KAAK,CAAC,GAAG;QACd,IAAI,iBAAiB,GAAa,EAAE,CAAC;QACrC,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,QAAQ,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,uHAAuH;YACvH,MAAM,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @description Plugins either have to be digitally signed & verified in order to be installed without being prompted, _or_ you can opt into the unsigned allowlist,
3
+ which gets saved to this filename within the CLI's local install folder. **This file name should not be updated**, because that would in turn
4
+ lead to unspecified behavior(s) downstream
5
+ */
6
+ export declare const ALLOW_LIST_FILENAME = "unsignedPluginAllowList.json";
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * @description Plugins either have to be digitally signed & verified in order to be installed without being prompted, _or_ you can opt into the unsigned allowlist,
18
+ which gets saved to this filename within the CLI's local install folder. **This file name should not be updated**, because that would in turn
19
+ lead to unspecified behavior(s) downstream
20
+ */
21
+ export const ALLOW_LIST_FILENAME = 'unsignedPluginAllowList.json';
22
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,8BAA8B,CAAC"}
@@ -25,11 +25,11 @@ import got from 'got';
25
25
  import { ProxyAgent } from 'proxy-agent';
26
26
  import { prompts } from '@salesforce/sf-plugins-core';
27
27
  import { maxSatisfying } from 'semver';
28
+ import { ALLOW_LIST_FILENAME } from './constants.js';
28
29
  import { NpmModule } from './npmCommand.js';
29
30
  import { npmNameToString } from './npmName.js';
30
31
  import { setErrorName } from './errors.js';
31
32
  const CRYPTO_LEVEL = 'RSA-SHA256';
32
- const ALLOW_LIST_FILENAME = 'unsignedPluginAllowList.json';
33
33
  export const DEFAULT_REGISTRY = 'https://registry.npmjs.org/';
34
34
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
35
35
  class CodeVerifierInfo {
@@ -1 +1 @@
1
- {"version":3,"file":"installationVerification.js","sourceRoot":"","sources":["../../src/shared/installationVerification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,EAAE,EAAE,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,SAAS,EAAW,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAgB,eAAe,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,YAAY,GAAG,YAAY,CAAC;AAClC,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AAO,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9C,CAAC,CAAC"}
@@ -0,0 +1,23 @@
1
+ # summary
2
+
3
+ Add plugins to the plugin allowlist.
4
+
5
+ # description
6
+
7
+ The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is unsigned.
8
+
9
+ This command adds one or more plugins to the `unsignedPluginAllowList.json` file, creating the file if it doesn't exist. Plugins already present in the allowlist are skipped.
10
+
11
+ # examples
12
+
13
+ - Add a single plugin to the allowlist:
14
+
15
+ <%= config.bin %> <%= command.id %> --name @scope/my-plugin
16
+
17
+ - Add multiple plugins to the allowlist:
18
+
19
+ <%= config.bin %> <%= command.id %> --name @scope/my-plugin --name another-plugin
20
+
21
+ # flags.name.summary
22
+
23
+ The npm name of the plugin to add to the allowlist. Add multiple plugins by specifying the `--name` flag multiple times.
@@ -0,0 +1,19 @@
1
+ # summary
2
+
3
+ List the plugins on the plugin allowlist.
4
+
5
+ # description
6
+
7
+ The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is unsigned.
8
+
9
+ This command prints the contents of the `unsignedPluginAllowList.json` file as a table.
10
+
11
+ # examples
12
+
13
+ - List all plugins on the allowlist:
14
+
15
+ <%= config.bin %> <%= command.id %>
16
+
17
+ # NoPluginsAllowListed
18
+
19
+ No plugins are currently on the allowlist.
@@ -0,0 +1,23 @@
1
+ # summary
2
+
3
+ Remove plugins from the plugin allowlist.
4
+
5
+ # description
6
+
7
+ The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is unsigned.
8
+
9
+ This command removes one or more plugins from the `unsignedPluginAllowList.json` file. Plugins not present in the allowlist are skipped.
10
+
11
+ # examples
12
+
13
+ - Remove a single plugin from the allowlist:
14
+
15
+ <%= config.bin %> <%= command.id %> --name @scope/my-plugin
16
+
17
+ - Remove multiple plugins from the allowlist:
18
+
19
+ <%= config.bin %> <%= command.id %> --name @scope/my-plugin --name another-plugin
20
+
21
+ # flags.name.summary
22
+
23
+ The npm name of the plugin to remove from the allowlist. Remove multiple plugins by specifying the `--name` flag multiple times.
@@ -122,7 +122,237 @@
122
122
  "verify:plugins:trust",
123
123
  "verify:trust:plugins"
124
124
  ]
125
+ },
126
+ "plugins:trust:allowlist:add": {
127
+ "aliases": [],
128
+ "args": {},
129
+ "description": "The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is unsigned.\n\nThis command adds one or more plugins to the `unsignedPluginAllowList.json` file, creating the file if it doesn't exist. Plugins already present in the allowlist are skipped.",
130
+ "examples": [
131
+ "Add a single plugin to the allowlist:\n<%= config.bin %> <%= command.id %> --name @scope/my-plugin",
132
+ "Add multiple plugins to the allowlist:\n<%= config.bin %> <%= command.id %> --name @scope/my-plugin --name another-plugin"
133
+ ],
134
+ "flags": {
135
+ "json": {
136
+ "description": "Format output as json.",
137
+ "helpGroup": "GLOBAL",
138
+ "name": "json",
139
+ "allowNo": false,
140
+ "type": "boolean"
141
+ },
142
+ "flags-dir": {
143
+ "helpGroup": "GLOBAL",
144
+ "name": "flags-dir",
145
+ "summary": "Import flag values from a directory.",
146
+ "hasDynamicHelp": false,
147
+ "multiple": false,
148
+ "type": "option"
149
+ },
150
+ "name": {
151
+ "char": "n",
152
+ "name": "name",
153
+ "required": true,
154
+ "summary": "The npm name of the plugin to add to the allowlist. Add multiple plugins by specifying the `--name` flag multiple times.",
155
+ "hasDynamicHelp": false,
156
+ "multiple": true,
157
+ "type": "option"
158
+ }
159
+ },
160
+ "hasDynamicHelp": false,
161
+ "hiddenAliases": [],
162
+ "id": "plugins:trust:allowlist:add",
163
+ "pluginAlias": "@salesforce/plugin-trust",
164
+ "pluginName": "@salesforce/plugin-trust",
165
+ "pluginType": "core",
166
+ "strict": true,
167
+ "summary": "Add plugins to the plugin allowlist.",
168
+ "enableJsonFlag": true,
169
+ "isESM": true,
170
+ "relativePath": [
171
+ "lib",
172
+ "commands",
173
+ "plugins",
174
+ "trust",
175
+ "allowlist",
176
+ "add.js"
177
+ ],
178
+ "aliasPermutations": [],
179
+ "permutations": [
180
+ "plugins:trust:allowlist:add",
181
+ "trust:plugins:allowlist:add",
182
+ "trust:allowlist:plugins:add",
183
+ "trust:allowlist:add:plugins",
184
+ "plugins:allowlist:trust:add",
185
+ "allowlist:plugins:trust:add",
186
+ "allowlist:trust:plugins:add",
187
+ "allowlist:trust:add:plugins",
188
+ "plugins:allowlist:add:trust",
189
+ "allowlist:plugins:add:trust",
190
+ "allowlist:add:plugins:trust",
191
+ "allowlist:add:trust:plugins",
192
+ "plugins:trust:add:allowlist",
193
+ "trust:plugins:add:allowlist",
194
+ "trust:add:plugins:allowlist",
195
+ "trust:add:allowlist:plugins",
196
+ "plugins:add:trust:allowlist",
197
+ "add:plugins:trust:allowlist",
198
+ "add:trust:plugins:allowlist",
199
+ "add:trust:allowlist:plugins",
200
+ "plugins:add:allowlist:trust",
201
+ "add:plugins:allowlist:trust",
202
+ "add:allowlist:plugins:trust",
203
+ "add:allowlist:trust:plugins"
204
+ ]
205
+ },
206
+ "plugins:trust:allowlist:list": {
207
+ "aliases": [],
208
+ "args": {},
209
+ "description": "The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is unsigned.\n\nThis command prints the contents of the `unsignedPluginAllowList.json` file as a table.",
210
+ "examples": [
211
+ "List all plugins on the allowlist:\n<%= config.bin %> <%= command.id %>"
212
+ ],
213
+ "flags": {
214
+ "json": {
215
+ "description": "Format output as json.",
216
+ "helpGroup": "GLOBAL",
217
+ "name": "json",
218
+ "allowNo": false,
219
+ "type": "boolean"
220
+ },
221
+ "flags-dir": {
222
+ "helpGroup": "GLOBAL",
223
+ "name": "flags-dir",
224
+ "summary": "Import flag values from a directory.",
225
+ "hasDynamicHelp": false,
226
+ "multiple": false,
227
+ "type": "option"
228
+ }
229
+ },
230
+ "hasDynamicHelp": false,
231
+ "hiddenAliases": [],
232
+ "id": "plugins:trust:allowlist:list",
233
+ "pluginAlias": "@salesforce/plugin-trust",
234
+ "pluginName": "@salesforce/plugin-trust",
235
+ "pluginType": "core",
236
+ "strict": true,
237
+ "summary": "List the plugins on the plugin allowlist.",
238
+ "enableJsonFlag": true,
239
+ "isESM": true,
240
+ "relativePath": [
241
+ "lib",
242
+ "commands",
243
+ "plugins",
244
+ "trust",
245
+ "allowlist",
246
+ "list.js"
247
+ ],
248
+ "aliasPermutations": [],
249
+ "permutations": [
250
+ "plugins:trust:allowlist:list",
251
+ "trust:plugins:allowlist:list",
252
+ "trust:allowlist:plugins:list",
253
+ "trust:allowlist:list:plugins",
254
+ "plugins:allowlist:trust:list",
255
+ "allowlist:plugins:trust:list",
256
+ "allowlist:trust:plugins:list",
257
+ "allowlist:trust:list:plugins",
258
+ "plugins:allowlist:list:trust",
259
+ "allowlist:plugins:list:trust",
260
+ "allowlist:list:plugins:trust",
261
+ "allowlist:list:trust:plugins",
262
+ "plugins:trust:list:allowlist",
263
+ "trust:plugins:list:allowlist",
264
+ "trust:list:plugins:allowlist",
265
+ "trust:list:allowlist:plugins",
266
+ "plugins:list:trust:allowlist",
267
+ "list:plugins:trust:allowlist",
268
+ "list:trust:plugins:allowlist",
269
+ "list:trust:allowlist:plugins",
270
+ "plugins:list:allowlist:trust",
271
+ "list:plugins:allowlist:trust",
272
+ "list:allowlist:plugins:trust",
273
+ "list:allowlist:trust:plugins"
274
+ ]
275
+ },
276
+ "plugins:trust:allowlist:remove": {
277
+ "aliases": [],
278
+ "args": {},
279
+ "description": "The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is unsigned.\n\nThis command removes one or more plugins from the `unsignedPluginAllowList.json` file. Plugins not present in the allowlist are skipped.",
280
+ "examples": [
281
+ "Remove a single plugin from the allowlist:\n<%= config.bin %> <%= command.id %> --name @scope/my-plugin",
282
+ "Remove multiple plugins from the allowlist:\n<%= config.bin %> <%= command.id %> --name @scope/my-plugin --name another-plugin"
283
+ ],
284
+ "flags": {
285
+ "json": {
286
+ "description": "Format output as json.",
287
+ "helpGroup": "GLOBAL",
288
+ "name": "json",
289
+ "allowNo": false,
290
+ "type": "boolean"
291
+ },
292
+ "flags-dir": {
293
+ "helpGroup": "GLOBAL",
294
+ "name": "flags-dir",
295
+ "summary": "Import flag values from a directory.",
296
+ "hasDynamicHelp": false,
297
+ "multiple": false,
298
+ "type": "option"
299
+ },
300
+ "name": {
301
+ "char": "n",
302
+ "name": "name",
303
+ "required": true,
304
+ "summary": "The npm name of the plugin to remove from the allowlist. Remove multiple plugins by specifying the `--name` flag multiple times.",
305
+ "hasDynamicHelp": false,
306
+ "multiple": true,
307
+ "type": "option"
308
+ }
309
+ },
310
+ "hasDynamicHelp": false,
311
+ "hiddenAliases": [],
312
+ "id": "plugins:trust:allowlist:remove",
313
+ "pluginAlias": "@salesforce/plugin-trust",
314
+ "pluginName": "@salesforce/plugin-trust",
315
+ "pluginType": "core",
316
+ "strict": true,
317
+ "summary": "Remove plugins from the plugin allowlist.",
318
+ "enableJsonFlag": true,
319
+ "isESM": true,
320
+ "relativePath": [
321
+ "lib",
322
+ "commands",
323
+ "plugins",
324
+ "trust",
325
+ "allowlist",
326
+ "remove.js"
327
+ ],
328
+ "aliasPermutations": [],
329
+ "permutations": [
330
+ "plugins:trust:allowlist:remove",
331
+ "trust:plugins:allowlist:remove",
332
+ "trust:allowlist:plugins:remove",
333
+ "trust:allowlist:remove:plugins",
334
+ "plugins:allowlist:trust:remove",
335
+ "allowlist:plugins:trust:remove",
336
+ "allowlist:trust:plugins:remove",
337
+ "allowlist:trust:remove:plugins",
338
+ "plugins:allowlist:remove:trust",
339
+ "allowlist:plugins:remove:trust",
340
+ "allowlist:remove:plugins:trust",
341
+ "allowlist:remove:trust:plugins",
342
+ "plugins:trust:remove:allowlist",
343
+ "trust:plugins:remove:allowlist",
344
+ "trust:remove:plugins:allowlist",
345
+ "trust:remove:allowlist:plugins",
346
+ "plugins:remove:trust:allowlist",
347
+ "remove:plugins:trust:allowlist",
348
+ "remove:trust:plugins:allowlist",
349
+ "remove:trust:allowlist:plugins",
350
+ "plugins:remove:allowlist:trust",
351
+ "remove:plugins:allowlist:trust",
352
+ "remove:allowlist:plugins:trust",
353
+ "remove:allowlist:trust:plugins"
354
+ ]
125
355
  }
126
356
  },
127
- "version": "3.7.127"
357
+ "version": "3.8.0"
128
358
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-trust",
3
3
  "description": "validate a digital signature for a npm package",
4
- "version": "3.7.127",
4
+ "version": "3.8.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf-trust": "bin/dev"
@@ -77,7 +77,23 @@
77
77
  "description": "list installed plugins",
78
78
  "subtopics": {
79
79
  "trust": {
80
- "description": "validate a digital signature for a npm package"
80
+ "description": "validate a digital signature for a npm package",
81
+ "subtopics": {
82
+ "allowlist": {
83
+ "description": "manage the unsigned plugin allowlist",
84
+ "subtopics": {
85
+ "add": {
86
+ "description": "adds to the allowlist"
87
+ },
88
+ "remove": {
89
+ "description": "removes from the allowlist"
90
+ },
91
+ "list": {
92
+ "description": "lists plugins in the allowlist"
93
+ }
94
+ }
95
+ }
96
+ }
81
97
  }
82
98
  }
83
99
  }
@@ -228,7 +244,7 @@
228
244
  },
229
245
  "type": "module",
230
246
  "sfdx": {
231
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.7.127.crt",
232
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.7.127.sig"
247
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.8.0.crt",
248
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.8.0.sig"
233
249
  }
234
250
  }