Skip to content

Commit 2afd0b0

Browse files
committed
revert to original namespace
1 parent d30fe76 commit 2afd0b0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,4 @@ For more detailed information, you can refer to the [wiki](https://github.com/sa
193193

194194
## Contribution Guidelines
195195

196-
**Lightning Flow Scanner CLI** is a fortified fork of [lightning-flow-scanner-sfdx](https://github.com/Flow-Scanner/lightning-flow-scanner-sfdx), previously unpublished to eliminate a RCE vulnerability. Prioritizing security, we've removed custom rules for a safer tool. If you'd like to help us enhance Flow Scanner, please consider having a look at the [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/CONTRIBUTING.md).
196+
The `lightning-flow-scanner` (sfdx) package, used for scanning Salesforce Lightning Flows, was previously unpublished from the npm registry due to as remote code execution (RCE) vulnerability in its core dependency, `lightning-flow-scanner-core`. The vulnerability, caused by unsafe custom rule loading, has been addressed in the [v5 release of the core](https://github.com/Flow-Scanner/lightning-flow-scanner-core/releases/tag/v5.1.0). Prioritizing security, we've removed custom rules for a safer tool. If you'd like to help us enhance Flow Scanner, please consider having a look at the [Contributing Guidelines](https://github.com/Flow-Scanner/lightning-flow-scanner-core/blob/main/CONTRIBUTING.md).

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@flow-scanner/lightning-flow-scanner",
3-
"version": "1.5.0",
2+
"name": "lightning-flow-scanner",
3+
"version": "5.6.0",
44
"bugs": "https://github.com/Flow-Scanner/lightning-flow-scanner-cli/issues",
55
"description": "A Salesforce CLI plugin for static analysis and optimization of Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and CI/CD integration to help users maintain secure and reliable Flow automations.",
66
"dependencies": {

src/commands/flow/fix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import CoreFixService from "../../libs/CoreFixService.js";
77
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url, true);
88

99
const commandMessages = Messages.loadMessages(
10-
"@flow-scanner/lightning-flow-scanner",
10+
"lightning-flow-scanner",
1111
"fix-command",
1212
);
1313

src/commands/flow/scan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const { parse: parseFlows, scan: scanFlows } = pkg;
1818

1919
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
2020

21-
const messages = Messages.loadMessages("@flow-scanner/lightning-flow-scanner", "command");
21+
const messages = Messages.loadMessages("lightning-flow-scanner", "command");
2222

2323
export default class Scan extends SfCommand<Output> {
2424
public static description = messages.getMessage("commandDescription");

0 commit comments

Comments
 (0)