cursor-nightly-bin

LOW
maintainer augusdogus 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads prebuilt .deb binaries from the official project domain (downloads.cursor.com), which is a legitimate source for Cursor; while checksums are skipped, the host is project-owned and the binaries are not executed remotely, limiting supply-chain risk to typical AUR binary packaging concerns.

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 downloads prebuilt .deb binaries from the official project domain (downloads.cursor.com), which is a legitimate source for Cursor; while checksums are skipped, the host is project-owned and the binaries are not executed remotely, limiting supply-chain risk to typical AUR binary packaging concerns.

1 higher static finding superseded - not the current verdict (shown for transparency)
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"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: AugusDogus <augie@linux.com>
2
3pkgname=cursor-nightly-bin
4pkgver=3.21.1
5_upstream_pkgver=3.21.1
6pkgrel=1
7pkgdesc='AI-first coding environment (nightly channel, bundled Electron)'
8arch=('x86_64' 'aarch64')
9url="https://www.cursor.com"
10license=('LicenseRef-Cursor_EULA')
11provides=('cursor')
12conflicts=('cursor-bin' 'cursor-early-access-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=74f717017ddcbf0554cd8c91ec7e2fb56983a07f
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]=7d544156ecc643b9bc63ecbeca6059e938896b84dd9a61e00d11ffa90608143854dce92e0a54c3a1ab9edd6e7adb48dee5ed5d454e47b72b7b022e2546d77614
48sha512sums_aarch64[0]=4dcdde4d84c532ab693bdcc121cf1eac98473db0f3993e06de3db573ba65296af3c2bad13abd9c1a1c9d2719280bf00fab47a8ab1a183a4cae802c565e11449a
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238

Changes since previous scan

--- PKGBUILD @ 2026-09-16 00:03
+++ PKGBUILD @ 2026-09-17 00:27
@@ -1,8 +1,8 @@
# Maintainer: AugusDogus <augie@linux.com>
pkgname=cursor-nightly-bin
-pkgver=3.20.23
-_upstream_pkgver=3.20.23
+pkgver=3.21.1
+_upstream_pkgver=3.21.1
pkgrel=1
pkgdesc='AI-first coding environment (nightly channel, bundled Electron)'
arch=('x86_64' 'aarch64')
@@ -28,7 +28,7 @@
'libdbusmenu-glib: KDE global menu support'
)
options=(!strip !debug)
-_commit=b23e0e2d3c0fc9bb9311f4390230a120ccc9aa5b
+_commit=74f717017ddcbf0554cd8c91ec7e2fb56983a07f
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]=6b86e1e5e56dbf545cd9943b809ded67ce54e4f1e8c3a9d0ada4c62ff8996a5642f18725a3493276026787d6d7b2f878661888671157679e58104be7fd140dc5
-sha512sums_aarch64[0]=853c87b1817ecca93d39f442f2bf683e00b52890785d9fd3af1c859aa3dd7c20418cf59f5c9c7d18b1327032493c99498cd4d384a43442adcf979867f78d6c8d
+sha512sums_x86_64[0]=7d544156ecc643b9bc63ecbeca6059e938896b84dd9a61e00d11ffa90608143854dce92e0a54c3a1ab9edd6e7adb48dee5ed5d454e47b72b7b022e2546d77614
+sha512sums_aarch64[0]=4dcdde4d84c532ab693bdcc121cf1eac98473db0f3993e06de3db573ba65296af3c2bad13abd9c1a1c9d2719280bf00fab47a8ab1a183a4cae802c565e11449a
noextract=(
"cursor_${_upstream_pkgver}_amd64.deb"
"cursor_${_upstream_pkgver}_arm64.deb"
@@ -235,3 +235,4 @@
+

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 21:23:45 Medium 1
2026-09-16 05:21:26 Medium 1
2026-09-16 00:03:17 Low 2
2026-09-15 05:18:46 Medium 1
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 23:15:25 Medium 1
2026-09-13 00:19:54 Low 2
2026-09-12 07:11:01 Medium 1
2026-09-12 03:10:21 Medium 1
2026-09-12 01:24:32 Medium 1
2026-09-12 00:25:17 Low 2
2026-09-11 05:22:12 Medium 1
2026-09-11 01:21:31 Medium 1
2026-09-11 00:19:22 Medium 2
2026-09-10 07:20:26 Medium 2
2026-09-10 05:20:15 Medium 2
2026-09-10 00:22:44 Low 2
2026-09-09 05:18:57 Medium 1

Report a package

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

0 / 4000
Your suggestion