registry / @salesforce/b2c-cli / 1.23.2
@salesforce/b2c-cli@1.23.2
A Salesforce B2C Commerce CLI
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe source establishes a guarded JIT plugin installation capability but no concrete malicious action. This warrants a warning for extension lifecycle risk rather than a publication block.
Static reason
One or more suspicious static signals were detected.
Trigger
A user invokes an unavailable command belonging to the JIT plugin.
Impact
A future plugin release can be installed and loaded during command use, creating a guarded extension supply-chain risk.
Mechanism
The missing-plugin hook invokes the CLI plugin installer for the requested JIT plugin.
AI rationale
The source establishes a guarded JIT plugin installation capability but no concrete malicious action. This warrants a warning for extension lifecycle risk rather than a publication block.
Evidence
package.jsondist/hooks/sfnext-jit-install.js
Decision evidence
public snapshotAI called this Suspicious at 86.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- The package registers a JIT plugin at the mutable latest tag and hooks the missing-plugin event.
- The JIT hook runs the CLI plugin-install command when that event occurs.
Evidence against
- No npm preinstall, install, or postinstall lifecycle hook was found.
- The installation path is gated by a user invoking a command for a missing JIT plugin.
Behavioral surface
CryptoEnvironmentVarsFilesystemNetwork
HighEntropyStringsUrlStrings
Source & flagged code
4 flaggeddist/commands/_test/index.jsView file
30patternName = generic_password
severity = medium
line = 30
Medium
Secret Pattern
Package contains a possible secret pattern.
dist/commands/_test/index.jsView on unpkg · L30bin/dev.cmdView file
•path = bin/dev.cmd
kind = build_helper
sizeBytes = 193
magicHex = [redacted]
Medium
package.jsonView file
94"jitPlugins": {
"@salesforce/storefront-next-dev": "latest"
},
"hooks": {
"init": "./dist/hooks/sfnext-local-override",
"jit_plugin_not_installed": ".
Findings
7 Medium4 Low
MediumSecret Patterndist/commands/_test/index.js
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperbin/dev.cmd
MediumStructural Risk Force Deep Review
MediumAi Review Evidencepackage.json
MediumAi Review Evidencedist/hooks/sfnext-jit-install.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to @salesforce/b2c-cli@1.23.2.
See all versions of @salesforce/b2c-cli for other recorded verdicts.
- Review the evidence and your use of @salesforce/b2c-cli@1.23.2 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.