@salesforce/b2c-cli@2.3.1
A Salesforce B2C Commerce CLI
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe inspected source does not establish malware. The supplied policy requires a warning for explicit user-command mutation of agent capabilities.
Static reason
One or more suspicious static signals were detected.
Trigger
The user invokes b2c setup skills and confirms installation or supplies the force flag.
Impact
Installed skills can influence subsequent agent behavior; the supplied policy treats explicit user-command agent mutation as warning-only.
Mechanism
Selected skill artifacts are downloaded, scanned, and passed to the SDK installer for selected IDEs and scope.
AI rationale
The inspected source does not establish malware. The supplied policy requires a warning for explicit user-command mutation of agent capabilities.
Evidence
dist/commands/setup/skills.js
Decision evidence
public snapshotAI called this Suspicious at 91.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- The b2c executable dispatches user commands through oclif.
- The explicit setup skills command downloads and scans selected skill artifacts.
- The command installs skills for selected AI IDEs with project or global scope.
- Installation requires confirmation unless the caller supplies the force flag.
Evidence against
- No npm preinstall, install, or postinstall hook or runtime self-dependency was found.
- The inspected entrypoints did not establish covert exfiltration or malicious payload execution.
Behavioral surface
CryptoEnvironmentVarsFilesystemNetwork
HighEntropyStringsUrlStrings
Source & flagged code
5 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
6"bin": {
"b2c": "./bin/run.js"
},
"bugs": "https://github
Medium
Findings
8 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 Evidencebin/run.js
MediumAi Review Evidencedist/commands/setup/skills.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to @salesforce/b2c-cli@2.3.1.
See all versions of @salesforce/b2c-cli for other recorded verdicts.
- Review the evidence and your use of @salesforce/b2c-cli@2.3.1 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.