delta-app-bin

MEDIUM
maintainer czyt 0 votes scanned 2026-10-30 03:56:49.521184
View on AUR
Why flagged

Prebuilt binary tarball downloaded from releases.delta.dev, a non-standard host unrelated to any well-known project infrastructure; while checksums are provided and the host plausibly belongs to the project, the binary is installed directly without build verification, and the low-vote/recently-uploaded status means the host association is unconfirmed, making silent substitution a realistic supply-chain risk.

Triggered rules

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_x86_64=("delta-linux-x86_64.tar.gz::https://releases.delta.dev/releases/stable/${pkgver}/delta-linux-x86_64.tar.gz")
Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review llm_review

An AI model (anthropic/claude-sonnet-4.6) reviewed this and agrees it is MEDIUM (confidence 70%): Prebuilt binary tarball downloaded from releases.delta.dev, a non-standard host unrelated to any well-known project infrastructure; while checksums are provided and the host plausibly belongs to the project, the binary is installed directly without build verification, and the low-vote/recently-uploaded status means the host association is unconfirmed, making silent substitution a realistic supply-chain risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: czyt <czytcn@gmail.com>
2pkgname=delta-app-bin
3pkgver=0.23.0
4pkgrel=2
5pkgdesc="Delta - AI-native code editor"
6arch=('x86_64' 'aarch64')
7url="https://delta.dev"
8license=('custom')
9depends=('glibc')
10provides=('delta')
11conflicts=('delta')
12options=('!strip' '!debug')
13# Upstream serves a small JSON manifest that points at the versioned tarball.
14source_x86_64=("delta-linux-x86_64.tar.gz::https://releases.delta.dev/releases/stable/${pkgver}/delta-linux-x86_64.tar.gz")
15source_aarch64=("delta-linux-aarch64.tar.gz::https://releases.delta.dev/releases/stable/${pkgver}/delta-linux-aarch64.tar.gz")
16sha256sums_x86_64=('de3d96e3e240a3486adfe99965b9c93df123a4ff8742328c140a75fa352e65c6')
17sha256sums_aarch64=('0275b9cee1d1d2392e3be608846ba1d77bffe222aaeb71fefcab43a90ab3a1de')
18
19package() {
20 local _arch="x86_64"
21 [[ "${CARCH}" == "aarch64" ]] && _arch="aarch64"
22
23 install -dm755 "${pkgdir}/opt/delta"
24 bsdtar -xf "${srcdir}/delta-linux-${_arch}.tar.gz" \
25 -C "${pkgdir}/opt/delta" --strip-components=1
26
27 # Bundled libraries are resolved through RPATH=$ORIGIN/../lib
28 install -dm755 "${pkgdir}/usr/bin"
29 ln -s /opt/delta/bin/delta-app "${pkgdir}/usr/bin/delta-app"
30 ln -s /opt/delta/bin/delta "${pkgdir}/usr/bin/delta"
31
32 # Desktop entry: upstream rewrites "Exec=delta " to the absolute CLI path
33 install -Dm644 "${pkgdir}/opt/delta/share/applications/dev.zed.Delta.desktop" \
34 "${pkgdir}/usr/share/applications/dev.zed.Delta.desktop"
35 sed -i 's|^Exec=delta |Exec=/usr/bin/delta |' \
36 "${pkgdir}/usr/share/applications/dev.zed.Delta.desktop"
37
38 install -Dm644 "${pkgdir}/opt/delta/share/icons/hicolor/512x512/apps/dev.zed.Delta.png" \
39 "${pkgdir}/usr/share/icons/hicolor/512x512/apps/dev.zed.Delta.png"
40
41 rm -rf "${pkgdir}/opt/delta/share/applications" "${pkgdir}/opt/delta/share/icons" \
42 "${pkgdir}/opt/delta/install.sh"
43
44 # Upstream tarball carries the builder's uid; pacman packages must be root-owned
45 chown -R root:root "${pkgdir}"
46 chmod -R u=rwX,go=rX "${pkgdir}"
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-10-30 03:56:49 Medium 3
2026-10-30 03:55:04 Medium 2

Report a package

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

0 / 4000
Your suggestion