chatgpt-desktop

maintainer Akira-Amatsume · 24 votes · scanned 2026-08-18 00:03:42.021799
MEDIUM
View on AUR ↗
Why flagged The package downloads a prebuilt .deb from a non-whitelisted host (persistent.oaistatic.com), which is not a standard or widely recognized domain for official releases, and the checksums are provided but the source is not the upstream project's primary domain, creating a supply-chain risk if the host is compromised or spoofed.

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:69 "chatgpt_${pkgver}_amd64.deb::https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_${pkgver}_amd64.deb"
MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from a non-whitelisted host (persistent.oaistatic.com), which is not a standard or widely recognized domain for official releases, and the checksums are provided but the source is not the upstream project's primary domain, creating a supply-chain risk if the host is compromised or spoofed.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Akira <akira.uestc at gmail dot com>
2# Releases (x86_64): https://persistent.oaistatic.com/codex-app-prod/linux/deb/dists/stable/main/binary-amd64/Packages
3# Releases (aarch64): https://persistent.oaistatic.com/codex-app-prod/linux/deb/dists/stable/main/binary-arm64/Packages
4
5pkgname=chatgpt-desktop
6pkgver=26.810.52044
7pkgrel=2
8pkgdesc="ChatGPT desktop application for Linux (repackaged from the official binary)"
9arch=('x86_64' 'aarch64')
10url="https://chatgpt.com/download"
11license=('LicenseRef-custom')
12options=('!strip' '!debug')
13provides=(
14 "chatgpt=${pkgver}"
15)
16conflicts=(
17 'chatgpt'
18)
19
20depends=(
21 'alsa-lib'
22 'at-spi2-core'
23 'cairo'
24 'dbus'
25 'expat'
26 'gdk-pixbuf2'
27 'glib2'
28 'glibc'
29 'graphite'
30 'gtk3'
31 'libcups'
32 'libdrm'
33 'libgcc'
34 'libglvnd'
35 'libnotify'
36 'libpulse'
37 'libstdc++'
38 'libusb'
39 'libx11'
40 'libxcb'
41 'libxcomposite'
42 'libxdamage'
43 'libxext'
44 'libxfixes'
45 'libxkbcommon'
46 'libxrandr'
47 'mesa'
48 'nspr'
49 'nss'
50 'pango'
51 'systemd-libs'
52 'sh'
53 'xdg-utils'
54)
55
56optdepends=(
57 'apparmor: automatically load the bundled profile for Chromium user namespaces'
58 'git: enable Git repository integration'
59 'gtk4: use the GTK 4 backend with --gtk-version=4'
60 'kde-cli-tools: move deleted files to the Plasma trash through kioclient'
61 'org.freedesktop.secrets: securely store credentials with a Secret Service backend'
62 'pipewire: enable WebRTC screen sharing under Wayland'
63)
64
65backup=('etc/apparmor.d/chatgpt')
66install="${pkgname}.install"
67
68source_x86_64=(
69 "chatgpt_${pkgver}_amd64.deb::https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_${pkgver}_amd64.deb"
70)
71source_aarch64=(
72 "chatgpt_${pkgver}_arm64.deb::https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_${pkgver}_arm64.deb"
73)
74source=('chatgpt-launcher.sh')
75noextract=(
76 "chatgpt_${pkgver}_amd64.deb"
77 "chatgpt_${pkgver}_arm64.deb"
78)
79sha256sums_x86_64=('708a15a1bb76e2bb7f0e376e5145391fa277ad3a64057c1d32537bdc2a1b4e6e')
80sha256sums_aarch64=('6ebea681b1e494d218a199f638b4bc886e94e1458dd61079b1e390a6fb98fdd2')
81sha256sums=('aab6b1105d7273443234e77412fbaa35ff9e04098ac63c2f73ae8e87afb43bd2')
82
83package() {
84 local _deb_arch
85
86 case "${CARCH}" in
87 x86_64) _deb_arch='amd64' ;;
88 aarch64) _deb_arch='arm64' ;;
89 *)
90 printf 'Unsupported architecture: %s\n' "${CARCH}" >&2
91 return 1
92 ;;
93 esac
94
95 bsdtar -xOf "${srcdir}/chatgpt_${pkgver}_${_deb_arch}.deb" data.tar.xz |
96 bsdtar --no-same-owner -xJf - -C "${pkgdir}"
97
98 install -Dm755 "${srcdir}/chatgpt-launcher.sh" \
99 "${pkgdir}/usr/lib/chatgpt/codex-launcher"
100
101 install -Dm644 "${pkgdir}/usr/share/doc/chatgpt/copyright" \
102 "${pkgdir}/usr/share/licenses/${pkgname}/copyright"
103 ln -s /usr/lib/chatgpt/LICENSES.chromium.html \
104 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
105
106 rm -rf "${pkgdir}/usr/share/doc" "${pkgdir}/usr/share/lintian"
107}
108

Changes since previous scan

--- PKGBUILD @ 2026-08-16 00:03
+++ PKGBUILD @ 2026-08-18 00:03
@@ -1,11 +1,12 @@
# Maintainer: Akira <akira.uestc at gmail dot com>
-# Releases: https://persistent.oaistatic.com/codex-app-prod/linux/deb/dists/stable/main/binary-amd64/Packages
+# Releases (x86_64): https://persistent.oaistatic.com/codex-app-prod/linux/deb/dists/stable/main/binary-amd64/Packages
+# Releases (aarch64): https://persistent.oaistatic.com/codex-app-prod/linux/deb/dists/stable/main/binary-arm64/Packages
pkgname=chatgpt-desktop
pkgver=26.810.52044
-pkgrel=1
+pkgrel=2
pkgdesc="ChatGPT desktop application for Linux (repackaged from the official binary)"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://chatgpt.com/download"
license=('LicenseRef-custom')
options=('!strip' '!debug')
@@ -67,13 +68,31 @@
source_x86_64=(
"chatgpt_${pkgver}_amd64.deb::https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_${pkgver}_amd64.deb"
)
+source_aarch64=(
+ "chatgpt_${pkgver}_arm64.deb::https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_${pkgver}_arm64.deb"
+)
source=('chatgpt-launcher.sh')
-noextract=("chatgpt_${pkgver}_amd64.deb")
+noextract=(
+ "chatgpt_${pkgver}_amd64.deb"
+ "chatgpt_${pkgver}_arm64.deb"
+)
sha256sums_x86_64=('708a15a1bb76e2bb7f0e376e5145391fa277ad3a64057c1d32537bdc2a1b4e6e')
+sha256sums_aarch64=('6ebea681b1e494d218a199f638b4bc886e94e1458dd61079b1e390a6fb98fdd2')
sha256sums=('aab6b1105d7273443234e77412fbaa35ff9e04098ac63c2f73ae8e87afb43bd2')
package() {
- bsdtar -xOf "${srcdir}/chatgpt_${pkgver}_amd64.deb" data.tar.xz |
+ local _deb_arch
+
+ case "${CARCH}" in
+ x86_64) _deb_arch='amd64' ;;
+ aarch64) _deb_arch='arm64' ;;
+ *)
+ printf 'Unsupported architecture: %s\n' "${CARCH}" >&2
+ return 1
+ ;;
+ esac
+
+ bsdtar -xOf "${srcdir}/chatgpt_${pkgver}_${_deb_arch}.deb" data.tar.xz |
bsdtar --no-same-owner -xJf - -C "${pkgdir}"
install -Dm755 "${srcdir}/chatgpt-launcher.sh" \

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 00:03:42 MEDIUM 2
2026-08-17 00:18:29 MEDIUM 2
2026-08-16 09:32:18 MEDIUM 2
2026-08-16 00:03:42 LOW 2
2026-08-15 13:34:03 LOW 3
2026-08-15 13:30:33 MEDIUM 3

Report a package

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

0 / 4000
Your suggestion