cursor-cli-bin
Prebuilt binaries are downloaded from downloads.cursor.com, which is Cursor's own official download infrastructure, with b2 checksums provided; the bundled 'Cursor-TOS' and 'migrator' are local files (no URL), and the install hook only prints informational text — no obfuscation, exfiltration, or untrusted third-party hosting detected.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 75%): Prebuilt binaries are downloaded from downloads.cursor.com, which is Cursor's own official download infrastructure, with b2 checksums provided; the bundled 'Cursor-TOS' and 'migrator' are local files (no URL), and the install hook only prints informational text — no obfuscation, exfiltration, or untrusted third-party hosting detected.
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:16
source_x86_64=("cursor-cli-${_upstream_ver}-x86_64.tar.gz::https://downloads.cursor.com/lab/${_upstream_ver}/linux/x64/agent-cli-package.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Christopher Cooper <christopher@cg505.com>
pkgname=cursor-cli-bin
# extracted from https://cursor.com/install (managed by 'update-pkgver.sh')
_upstream_ver='2026.07.23-e383d2b'
# Baseline pkgver; update using './update-pkgver.sh'
pkgver=2026.07.23.1.e383d2b
pkgrel=1
epoch=1
pkgdesc="Cursor Agent CLI - AI-powered code assistant"
arch=('x86_64' 'aarch64')
url="https://cursor.com"
license=('LicenseRef-Cursor')
depends=('gcc-libs' 'bash' 'glibc' 'nodejs' 'ripgrep')
install=cursor-cli.install
source=('Cursor-TOS' 'migrator')
source_x86_64=("cursor-cli-${_upstream_ver}-x86_64.tar.gz::https://downloads.cursor.com/lab/${_upstream_ver}/linux/x64/agent-cli-package.tar.gz")
source_aarch64=("cursor-cli-${_upstream_ver}-aarch64.tar.gz::https://downloads.cursor.com/lab/${_upstream_ver}/linux/arm64/agent-cli-package.tar.gz")
b2sums=('7079c023e03ea4d78b067ed0f22b5cc1982c306721b2ea6be3c7f73bbbe0e8f05b148fd6571902b838464ee80a787ef7be73135c622f0a4fdb16c38429ced8d6')
b2sums_x86_64=('98df7f3d41efd1178a114aef6beeeb00dfc8b33a592e9b699c4eaa6df530f9b85d37fecd818c175d7b1aa6f7543c35dc3d42c8899087ba0d211bcf747333316d')
b2sums_aarch64=('71f0df95054f168a324f7bd57ae9850504f8bd0293e0620cf193de8729ef97a127f90e7e60ceb83e5908883cb412a448cc3e1600aeba3fe060bc0afded4e7853')
package() {
# Create necessary directories
install -dm755 "${pkgdir}/opt/cursor-agent"
install -dm755 "${pkgdir}/usr/bin"
# Copy all files from the extracted package
cp -r "${srcdir}"/dist-package/* "${pkgdir}/opt/cursor-agent/"
# Replace node and rg with system versions
ln -sf "/usr/bin/node" "${pkgdir}/opt/cursor-agent/node"
ln -sf "/usr/bin/rg" "${pkgdir}/opt/cursor-agent/rg"
# Patch cursor-agent script to block auto-updates
sed -i '/^NODE_BIN=/a\
# Block cursor-agent auto-updates\
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/cursor-agent/versions"\
chmod -x "${XDG_DATA_HOME:-$HOME/.local/share}/cursor-agent/versions"' "${pkgdir}/opt/cursor-agent/cursor-agent"
# Create symlink in /usr/bin
ln -s "/opt/cursor-agent/cursor-agent" "${pkgdir}/usr/bin/cursor-agent"
# Install license
# This is downloaded from https://cursor.com/terms-of-service
install -Dm644 Cursor-TOS "${pkgdir}/usr/share/licenses/cursor-cli-bin/LICENSE"
}
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 |