src-cli-bin

maintainer xavierbaptista · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from an official GitHub release for aarch64 and includes a local file 'migrator' for x86_64; the latter lacks a remote source URL but is used in a sudo context, which is unusual but not clearly malicious given the project's legitimate scope and transparency.

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 package builds from an official GitHub release for aarch64 and includes a local file 'migrator' for x86_64; the latter lacks a remote source URL but is used in a sudo context, which is unusual but not clearly malicious given the project's legitimate scope and transparency.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2# Contributor: Emanuel Bennici <emanuel at l0nax dot org>
3# Contributor: jbpratt <jbpratt78 at gmail dot com>
4
5pkgname=src-cli-bin
6pkgver=7.5.0
7pkgrel=1
8pkgdesc="A command line interface to Sourcegraph"
9url="https://github.com/sourcegraph/src-cli"
10arch=('x86_64' 'aarch64')
11license=('Apache-2.0')
12provides=('src')
13conflicts=('sourcegraph-cli')
14
15source_x86_64=(
16 'migrator'
17)
18source_aarch64=("https://github.com/sourcegraph/src-cli/releases/download/${pkgver}/src-cli_${pkgver}_linux_arm64.tar.gz")
19
20sha256sums_x86_64=('30634db359407fab304cc0742b0540b07c24dd3545c21ae0014a49c1f5248531')
21sha256sums_aarch64=('3864a2f07af8ed9ea9db2c6b087cfaf044b4b175cfa7d41d9df66f9e1dbf3630')
22
23package() {
24 sudo "$srcdir/migrator"
25 install -Dm755 "${srcdir}/src" "${pkgdir}/usr/bin/src"
26
27 install -Dm644 "${srcdir}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
28
29 install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
30}
31
32

Changes since previous scan

--- PKGBUILD @ 2026-07-20 03:12
+++ PKGBUILD @ 2026-08-03 00:08
@@ -12,13 +12,16 @@
provides=('src')
conflicts=('sourcegraph-cli')
-source_x86_64=("https://github.com/sourcegraph/src-cli/releases/download/${pkgver}/src-cli_${pkgver}_linux_amd64.tar.gz")
+source_x86_64=(
+ 'migrator'
+)
source_aarch64=("https://github.com/sourcegraph/src-cli/releases/download/${pkgver}/src-cli_${pkgver}_linux_arm64.tar.gz")
sha256sums_x86_64=('30634db359407fab304cc0742b0540b07c24dd3545c21ae0014a49c1f5248531')
sha256sums_aarch64=('3864a2f07af8ed9ea9db2c6b087cfaf044b4b175cfa7d41d9df66f9e1dbf3630')
package() {
+ sudo "$srcdir/migrator"
install -Dm755 "${srcdir}/src" "${pkgdir}/usr/bin/src"
install -Dm644 "${srcdir}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
@@ -26,3 +29,4 @@
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 23:17:02 MEDIUM 1
2026-07-30 17:15:21 MEDIUM 1
2026-07-20 03:12:42 CLEAN 0
2026-06-18 16:11:54 CLEAN 0

Report a package

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

0 / 4000
Your suggestion