cursor-bin

maintainer g.schulz · 94 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt .deb from the official Cursor downloads domain, which is plausibly the project's own release infrastructure; the source is not executed remotely, and the build process repackages it safely for Arch Linux.

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 a prebuilt .deb from the official Cursor downloads domain, which is plausibly the project's own release infrastructure; the source is not executed remotely, and the build process repackages it safely for Arch Linux.

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:16 source=("https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_amd64.deb"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Gunther Schulz <dev@guntherschulz.de>
2
3pkgname=cursor-bin
4pkgver=3.13.25
5pkgrel=1
6pkgdesc='AI-first coding environment'
7arch=('x86_64')
8url="https://www.cursor.com"
9license=('LicenseRef-Cursor_EULA')
10# upstream uses Electron newer than internal VSCode
11_electron=electron40
12depends=(xdg-utils ripgrep $_electron nodejs
13 'gcc-libs' 'hicolor-icon-theme' 'libxkbfile')
14options=(!strip !debug) # Don't break ext of VSCode
15_commit=31e8d61c448c7472e371505838a0fe34083dad55
16source=("https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_amd64.deb"
17"https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code."{sh,mjs}
18rg.sh)
19sha512sums=('SKIP'
20 '937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37'
21 '793f9ff6306e3992ac89802d98110cba288ea1181a901467333293b7d76182ef9792c2a39ff49d9347a18a174b1f42bc58862091dff583f4146c2704eea28033'
22 'e79fe7659f59d1ae02fc68816399bfd31587315df6cdb6ccf1d0ca76f7cdc692c2a42b30591c0091147bd97ef14b1c7745dc26bd7cb3ea6bba45698e5044fa2a')
23sha512sums[0]=f750e522d8fc6abcdc41fb4da0b567470a5542f283f5c2eb8e861f1ae55ee08c55ec6b4597b7f907606c47a34800e4c01d3284291f8bf31fbd7a6160ce02292e
24noextract=(cursor_${pkgver}_amd64.deb) # avoid double tarball
25_app=usr/share/cursor/resources/app
26package() {
27 # Exclude electron
28 bsdtar -xOf ${noextract[0]} data.tar.xz | tar -xJf - -C "$pkgdir" \
29 --exclude 'usr/share/cursor/[^r]*' --exclude 'usr/share/cursor/*.pak'
30 cd "$pkgdir"
31 mv usr/share/zsh/{vendor-completions,site-functions}
32 ln -sf /usr/bin/node ${_app}/resources/helpers/node
33 install -Dm755 "${srcdir}/rg.sh" ${_app}/node_modules/@vscode/ripgrep/bin/rg
34 ln -sf /usr/bin/xdg-open ${_app}/node_modules/open/xdg-open
35 sed -e "1s|.*|#!/usr/lib/${_electron}/electron|" \
36 -e "s|code-oss|cursor|g" -e "s|code.mjs|cursor.mjs|g" \
37 "${srcdir}"/code.mjs | install -Dm644 /dev/stdin "${pkgdir}/${_app}/cursor.mjs"
38 sed -e "s|code-flags|cursor-flags|" -e "s|/usr/lib/code|/${_app}|" -e "s|/usr/lib/code/code.mjs|/${_app}/cursor.mjs|" \
39 -e "s|name=electron|name=${_electron}|" "${srcdir}"/code.sh | install -Dm755 /dev/stdin "${pkgdir}"/usr/share/cursor/cursor
40 install -d "$pkgdir"/usr/bin
41 ln -sf /usr/share/cursor/cursor "$pkgdir"/usr/bin/cursor
42}
43

Changes since previous scan

--- PKGBUILD @ 2026-07-28 00:07
+++ PKGBUILD @ 2026-08-03 00:08
@@ -1,7 +1,7 @@
# Maintainer: Gunther Schulz <dev@guntherschulz.de>
pkgname=cursor-bin
-pkgver=3.13.10
+pkgver=3.13.25
pkgrel=1
pkgdesc='AI-first coding environment'
arch=('x86_64')
@@ -12,7 +12,7 @@
depends=(xdg-utils ripgrep $_electron nodejs
'gcc-libs' 'hicolor-icon-theme' 'libxkbfile')
options=(!strip !debug) # Don't break ext of VSCode
-_commit=4f02290ccd9304f0e6bf8ee85f6e9106f02ac1f7
+_commit=31e8d61c448c7472e371505838a0fe34083dad55
source=("https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_amd64.deb"
"https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code."{sh,mjs}
rg.sh)
@@ -20,7 +20,7 @@
'937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37'
'793f9ff6306e3992ac89802d98110cba288ea1181a901467333293b7d76182ef9792c2a39ff49d9347a18a174b1f42bc58862091dff583f4146c2704eea28033'
'e79fe7659f59d1ae02fc68816399bfd31587315df6cdb6ccf1d0ca76f7cdc692c2a42b30591c0091147bd97ef14b1c7745dc26bd7cb3ea6bba45698e5044fa2a')
-sha512sums[0]=efc6975631a282571898c936dd9c1eb23d335a33fae25ca795e551deda4fa975d81b19c0fb159f0dc62ca238f8bf4681b48304520d32bd682087cdc25d9868b8
+sha512sums[0]=f750e522d8fc6abcdc41fb4da0b567470a5542f283f5c2eb8e861f1ae55ee08c55ec6b4597b7f907606c47a34800e4c01d3284291f8bf31fbd7a6160ce02292e
noextract=(cursor_${pkgver}_amd64.deb) # avoid double tarball
_app=usr/share/cursor/resources/app
package() {

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 05:17:13 MEDIUM 1
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 09:37:42 MEDIUM 1
2026-07-28 00:07:28 LOW 2
2026-07-27 09:34:56 MEDIUM 1
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 05:27:22 MEDIUM 1
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 05:19:42 MEDIUM 1
2026-07-22 00:29:32 LOW 2
2026-07-21 21:18:19 MEDIUM 1
2026-07-21 07:16:26 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