positron-ide-bin
The package downloads a prebuilt .deb from Posit's official CDN (cdn.posit.co), which is a legitimate source for the project; the binary is not executed during build but unpacked and installed, and the checksums are provided and valid, making the risk low despite the non-whitelisted host.
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 package downloads a prebuilt .deb from Posit's official CDN (cdn.posit.co), which is a legitimate source for the project; the binary is not executed during build but unpacked and installed, and the checksums are provided and valid, making the risk low despite the non-whitelisted host.
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:62
"$pkgname-$pkgver-x86_64.deb::https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${_upstream_pkgver}-x64.deb"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Qingxu <me@linioi.com>
pkgname=positron-ide-bin
pkgver=2026.08.1.2
_upstream_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=1
pkgdesc='A next-generation data science IDE from Posit'
arch=(
'x86_64'
'aarch64'
)
url='https://github.com/posit-dev/positron'
license=(
'Elastic-2.0'
)
depends=(
'alsa-lib'
'at-spi2-core'
'cairo'
'dbus'
'expat'
'glib2'
'gtk3'
'libcups'
'libsecret'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxkbcommon'
'libxkbfile'
'libxrandr'
'mesa'
'nspr'
'nss'
'pango'
'systemd-libs'
'xdg-utils'
)
optdepends=(
'bash-completion: command-line completion'
'nodejs: Node.js runtime support'
'python: Python runtime support'
'r: R runtime support'
'vulkan-intel: Intel Vulkan driver'
'vulkan-radeon: Radeon Vulkan driver'
'vulkan-icd-loader: Vulkan ICD loader'
'webkit2gtk-4.1: Microsoft account authentication'
)
provides=(
'positron-ide'
)
conflicts=(
'positron-ide-devel-bin'
)
options=(
'!strip'
'!debug'
)
source_x86_64=(
"$pkgname-$pkgver-x86_64.deb::https://cdn.posit.co/positron/releases/deb/x86_64/Positron-${_upstream_pkgver}-x64.deb"
)
source_aarch64=(
"$pkgname-$pkgver-aarch64.deb::https://cdn.posit.co/positron/releases/deb/arm64/Positron-${_upstream_pkgver}-arm64.deb"
)
noextract=(
"$pkgname-$pkgver-x86_64.deb"
"$pkgname-$pkgver-aarch64.deb"
)
sha256sums_x86_64=('e307d3710b054de4236b62591702419887d73bdb65e8253f279fc7663d3ced89')
sha256sums_aarch64=('78ccb9b8f25f6a0c99fd233367f6675c24001bf54347d5ad694423020976d7ca')
package() {
local _deb
case "$CARCH" in
x86_64)
_deb="$srcdir/$pkgname-$pkgver-x86_64.deb"
;;
aarch64)
_deb="$srcdir/$pkgname-$pkgver-aarch64.deb"
;;
esac
ar p "$_deb" data.tar.xz | bsdtar -xJf - -C "$pkgdir"
install -dm755 \
"$pkgdir/usr/bin" \
"$pkgdir/usr/share/licenses/$pkgname"
ln -s /usr/share/positron/bin/positron "$pkgdir/usr/bin/positron"
sed -i \
-e 's|^Exec=/usr/share/positron/positron %F$|Exec=/usr/bin/positron %F|' \
-e 's|^Exec=/usr/share/positron/positron --new-window %F$|Exec=/usr/bin/positron --new-window %F|' \
"$pkgdir/usr/share/applications/positron.desktop"
sed -i \
-e 's|^Exec=/usr/share/positron/positron --open-url %U$|Exec=/usr/bin/positron --open-url %U|' \
"$pkgdir/usr/share/applications/positron-url-handler.desktop"
chmod 4755 "$pkgdir/usr/share/positron/chrome-sandbox"
# Fix world-writable files from upstream .deb
find "$pkgdir" -type f -perm /0002 -exec chmod o-w {} +
install -Dm644 \
"$pkgdir/usr/share/positron/resources/app/LICENSE.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 \
"$pkgdir/usr/share/positron/resources/app/NOTICE" \
"$pkgdir/usr/share/licenses/$pkgname/NOTICE"
install -Dm644 \
"$pkgdir/usr/share/positron/resources/app/ThirdPartyNotices.txt" \
"$pkgdir/usr/share/licenses/$pkgname/ThirdPartyNotices.txt"
install -Dm644 \
"$pkgdir/usr/share/positron/LICENSES.chromium.html" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |