sf

LOW
maintainer coleleavitt 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a prebuilt tarball from Salesforce's official domain, used to install their CLI tool; while the host is not a common forge, it is the vendor's official release infrastructure, making this a normal AUR package for a proprietary tool with low risk.

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 tarball from Salesforce's official domain, used to install their CLI tool; while the host is not a common forge, it is the vendor's official release infrastructure, making this a normal AUR package for a proprietary tool with low risk.

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.155.8
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=('71153e7cb449c3c3b0edbe91c177612fd9de6bd7c20c5cace25a3f8f6eeeec9e')
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-10-27 00:23
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,7 +1,7 @@
# Maintainer: Cole Leavitt <coleleavitt@protonmail.com>
pkgname=sf
-pkgver=2.155.7
+pkgver=2.155.8
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=('b49be5f191c28b696b0274c92ca9abe8bfe5db314308eaaa9561e58992b7efaf')
+sha256sums=('71153e7cb449c3c3b0edbe91c177612fd9de6bd7c20c5cace25a3f8f6eeeec9e')
changelog=CHANGELOG
prepare() {

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 05:51:59 Medium 1
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 05:46:44 Medium 1
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 05:34:05 Medium 1
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 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