sf

LOW
maintainer coleleavitt 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a prebuilt Salesforce CLI binary from the official salesforce.com domain, which is the project's own release infrastructure; despite the non-whitelisted host, this is a legitimate and expected source for the software.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt Salesforce CLI binary from the official salesforce.com domain, which is the project's own release infrastructure; despite the non-whitelisted host, this is a legitimate and expected source for the software.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:14 source=("${pkgname}-${pkgver}.tar.xz::https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Cole Leavitt <coleleavitt@protonmail.com>
2
3pkgname=sf
4pkgver=2.150.6
5pkgrel=1
6pkgdesc="A tool for creating and managing Salesforce DX projects from the command line"
7arch=('x86_64')
8url="https://developer.salesforce.com/tools/salesforcecli"
9license=('BSD')
10depends=('nodejs')
11optdepends=('gnome-keyring: for saving default credentials')
12provides=('sf')
13options=('!strip')
14source=("${pkgname}-${pkgver}.tar.xz::https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz")
15sha256sums=('fff0dff4d2244572285a857a5c44ea5097ee930fd93b93c7b0c6b95857072d04')
16changelog=CHANGELOG
17
18prepare() {
19 cd "${srcdir}/sf"
20 # Add any necessary preparation steps here
21}
22
23check() {
24 cd "${srcdir}/sf"
25 # Add any test commands here
26}
27
28package() {
29 install_dir="/opt/${pkgname}"
30
31 # Create the installation directory
32 install -dm755 "${pkgdir}${install_dir}"
33
34 # Copy all files from the extracted directory to the installation directory
35 cp -a "${srcdir}/sf/"* "${pkgdir}${install_dir}"
36
37 # Set executable permissions for the sf binary
38 chmod +x "${pkgdir}${install_dir}/bin/sf"
39
40 # Create a symlink in /usr/bin
41 install -dm755 "${pkgdir}/usr/bin"
42 ln -s "${install_dir}/bin/sf" "${pkgdir}/usr/bin/sf"
43
44 # Install license file
45 install -Dm644 "${srcdir}/sf/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
46}
47
48post_install() {
49 echo "To check for Salesforce CLI updates, run:"
50 echo " sf update"
51}
52
53

Changes since previous scan

--- PKGBUILD @ 2026-09-03 00:15
+++ PKGBUILD @ 2026-09-17 00:27
@@ -1,7 +1,7 @@
# Maintainer: Cole Leavitt <coleleavitt@protonmail.com>
pkgname=sf
-pkgver=2.149.9
+pkgver=2.150.6
pkgrel=1
pkgdesc="A tool for creating and managing Salesforce DX projects from the command line"
arch=('x86_64')
@@ -12,7 +12,7 @@
provides=('sf')
options=('!strip')
source=("${pkgname}-${pkgver}.tar.xz::https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz")
-sha256sums=('3a2318d299f5da6fa619bbeed2bead9fdcac8587e94a7834cf6d1d16e78f36a3')
+sha256sums=('fff0dff4d2244572285a857a5c44ea5097ee930fd93b93c7b0c6b95857072d04')
changelog=CHANGELOG
prepare() {

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 03:52:21 Medium 1
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 05:47:12 Medium 1
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion