cursor-early-access-bin

MEDIUM
maintainer augusdogus 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt .deb from a non-whitelisted but project-owned host (downloads.cursor.com), which is an unverifiable executable artifact; however, it is the official release channel for Cursor, and the checksums are provided but skipped, increasing supply-chain risk if the source were swapped.

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:33 "cursor_${_upstream_pkgver}_amd64.deb::https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${_upstream_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 but project-owned host (downloads.cursor.com), which is an unverifiable executable artifact; however, it is the official release channel for Cursor, and the checksums are provided but skipped, increasing supply-chain risk if the source were swapped.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: AugusDogus <augie@linux.com>
2
3pkgname=cursor-early-access-bin
4pkgver=3.28.5
5_upstream_pkgver=3.28.5
6pkgrel=1
7pkgdesc='AI-first coding environment (early access channel, bundled Electron)'
8arch=('x86_64' 'aarch64')
9url="https://www.cursor.com"
10license=('LicenseRef-Cursor_EULA')
11provides=('cursor')
12conflicts=('cursor-bin' 'cursor-nightly-bin' 'cursor-ide-bin')
13depends=(
14 'alsa-lib'
15 'dbus'
16 'gcc-libs'
17 'gtk3'
18 'libdrm'
19 'libsecret'
20 'libxkbfile'
21 'mesa'
22 'nss'
23 'xdg-utils'
24)
25optdepends=(
26 'libnotify: desktop notifications'
27 'org.freedesktop.secrets: credential storage via SecretService'
28 'libdbusmenu-glib: KDE global menu support'
29)
30options=(!strip !debug)
31_commit=18b4e7e5fb7fc450d7797e36c596c31aedaf59f2
32source_x86_64=(
33 "cursor_${_upstream_pkgver}_amd64.deb::https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${_upstream_pkgver}_amd64.deb"
34)
35source_aarch64=(
36 "cursor_${_upstream_pkgver}_arm64.deb::https://downloads.cursor.com/production/${_commit}/linux/arm64/deb/arm64/deb/cursor_${_upstream_pkgver}_arm64.deb"
37)
38source=(
39 cursor.desktop
40 cursor-launcher.sh
41)
42sha512sums_x86_64=('SKIP')
43sha512sums_aarch64=('SKIP')
44sha512sums=(
45 '037aa5d878eddb06fc1d5be788e7bc64545773decacb34228053be746dfc33237371ad49cc331dac8e3437d7d885a9bc1564d0f114fc22e308827b33d0c55ad8'
46 '9defecd35fd033a484642732605264cc00faf5791d852234d9705bf9ac005c76173780cd496208e4150685ac9ddbb73c8eb87cd5141526dd4521d455342e8233')
47sha512sums_x86_64[0]=641fc300186e2495aea822f2179ed2739e370a679f985aedf094e9c5eda8bb4a94f7ccef9926d5f467b18f7df8ec303dcb390681c1ebea63aee1f25350fa71ff
48sha512sums_aarch64[0]=89729347677b3310fc14390b53bdfffcb361271c1acff11b7b557fb3986c4113858defdbbdaf5708338c25dbbd599674f8071352b4ca8d5ef60b6748b7694c92
49noextract=(
50 "cursor_${_upstream_pkgver}_amd64.deb"
51 "cursor_${_upstream_pkgver}_arm64.deb"
52)
53
54package() {
55 case "$CARCH" in
56 x86_64) _deb="cursor_${_upstream_pkgver}_amd64.deb" ;;
57 aarch64) _deb="cursor_${_upstream_pkgver}_arm64.deb" ;;
58 esac
59
60 # Extract full deb — keep bundled Electron intact.
61 bsdtar -xOf "$_deb" data.tar.xz |
62 tar -xJf - -C "$pkgdir"
63
64 # Fix zsh completion path for Arch
65 if [[ -d "$pkgdir/usr/share/zsh/vendor-completions" ]]; then
66 mv "$pkgdir/usr/share/zsh/vendor-completions" \
67 "$pkgdir/usr/share/zsh/site-functions"
68 fi
69
70 install -Dm644 "$srcdir/cursor.desktop" \
71 "$pkgdir/usr/share/applications/cursor.desktop"
72
73 install -Dm755 "$srcdir/cursor-launcher.sh" "$pkgdir/usr/bin/cursor"
74
75 _license="$pkgdir/usr/share/cursor/resources/app/LICENSE.txt"
76 if [[ ! -f "$_license" ]]; then
77 _license=$(find "$pkgdir/usr/share/cursor" -maxdepth 8 -type f \( -name 'LICENSE.txt' -o -name 'LICENSE' \) -print -quit 2>/dev/null)
78 fi
79 if [[ -f "$_license" ]]; then
80 install -Dm644 "$_license" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
81 else
82 echo "Warning: Cursor license file not found in .deb; skipping /usr/share/licenses install" >&2
83 fi
84
85 if [[ -f "$pkgdir/usr/share/cursor/chrome-sandbox" ]]; then
86 chmod 4755 "$pkgdir/usr/share/cursor/chrome-sandbox"
87 fi
88}
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186

Changes since previous scan

--- PKGBUILD @ 2026-10-29 00:13
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,8 +1,8 @@
# Maintainer: AugusDogus <augie@linux.com>
pkgname=cursor-early-access-bin
-pkgver=3.27.22
-_upstream_pkgver=3.27.22
+pkgver=3.28.5
+_upstream_pkgver=3.28.5
pkgrel=1
pkgdesc='AI-first coding environment (early access channel, bundled Electron)'
arch=('x86_64' 'aarch64')
@@ -28,7 +28,7 @@
'libdbusmenu-glib: KDE global menu support'
)
options=(!strip !debug)
-_commit=b1aa50cb6db84fd3e8c808259cb172ea73425c1f
+_commit=18b4e7e5fb7fc450d7797e36c596c31aedaf59f2
source_x86_64=(
"cursor_${_upstream_pkgver}_amd64.deb::https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${_upstream_pkgver}_amd64.deb"
)
@@ -44,8 +44,8 @@
sha512sums=(
'037aa5d878eddb06fc1d5be788e7bc64545773decacb34228053be746dfc33237371ad49cc331dac8e3437d7d885a9bc1564d0f114fc22e308827b33d0c55ad8'
'9defecd35fd033a484642732605264cc00faf5791d852234d9705bf9ac005c76173780cd496208e4150685ac9ddbb73c8eb87cd5141526dd4521d455342e8233')
-sha512sums_x86_64[0]=9aeaade82e088b7d02be764c3d82d33043bdbe3b986b064bd41aa2d22155fcee26d292ed64a8b1957e1face1c01817f8d45f0b141b3e014772af62641103ca2c
-sha512sums_aarch64[0]=644bbfd8efdae50e86c3e58860a054ab493b03573dbe877331f65cbf9d04f97f3fa9f1bd1417e117ca5bb999b45887fd2192b0e74b65e7c343eba7f68e3bfce7
+sha512sums_x86_64[0]=641fc300186e2495aea822f2179ed2739e370a679f985aedf094e9c5eda8bb4a94f7ccef9926d5f467b18f7df8ec303dcb390681c1ebea63aee1f25350fa71ff
+sha512sums_aarch64[0]=89729347677b3310fc14390b53bdfffcb361271c1acff11b7b557fb3986c4113858defdbbdaf5708338c25dbbd599674f8071352b4ca8d5ef60b6748b7694c92
noextract=(
"cursor_${_upstream_pkgver}_amd64.deb"
"cursor_${_upstream_pkgver}_arm64.deb"
@@ -183,3 +183,4 @@
+

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 01:51:16 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 21:50:44 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 05:46:44 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 01:43:34 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 05:36:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 05:34:05 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 15:32:06 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 13:28:00 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