sf
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
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)
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# Maintainer: Cole Leavitt <coleleavitt@protonmail.com>
pkgname=sf
pkgver=2.155.8
pkgrel=1
pkgdesc="A tool for creating and managing Salesforce DX projects from the command line"
arch=('x86_64')
url="https://developer.salesforce.com/tools/salesforcecli"
license=('BSD')
depends=('nodejs')
optdepends=('gnome-keyring: for saving default credentials')
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=('71153e7cb449c3c3b0edbe91c177612fd9de6bd7c20c5cace25a3f8f6eeeec9e')
changelog=CHANGELOG
prepare() {
cd "${srcdir}/sf"
# Add any necessary preparation steps here
}
check() {
cd "${srcdir}/sf"
# Add any test commands here
}
package() {
install_dir="/opt/${pkgname}"
# Create the installation directory
install -dm755 "${pkgdir}${install_dir}"
# Copy all files from the extracted directory to the installation directory
cp -a "${srcdir}/sf/"* "${pkgdir}${install_dir}"
# Set executable permissions for the sf binary
chmod +x "${pkgdir}${install_dir}/bin/sf"
# Create a symlink in /usr/bin
install -dm755 "${pkgdir}/usr/bin"
ln -s "${install_dir}/bin/sf" "${pkgdir}/usr/bin/sf"
# Install license file
install -Dm644 "${srcdir}/sf/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
post_install() {
echo "To check for Salesforce CLI updates, run:"
echo " sf update"
}
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) | Severity | Rules |
|---|---|---|
| 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 |