command-code-desktop
The package installs a prebuilt Electron app from GitHub Releases, which is a common and generally acceptable practice; the source is verifiable via checksum, and no remote code execution or obfuscation is present, though the lack of source compilation and low votes slightly increase supply-chain risk.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package installs a prebuilt Electron app from GitHub Releases, which is a common and generally acceptable practice; the source is verifiable via checksum, and no remote code execution or obfuscation is present, though the lack of source compilation and low votes slightly increase supply-chain risk.
PKGBUILD
# Maintainer: Fahim Montasir Misbah <fahim@scirex.me>
# Maintainer: Ismet Togay <ismet.togay at gmail dot com>
pkgname=command-code-desktop
pkgver=0.1.41
pkgrel=1
pkgdesc="Desktop app for Command Code, an AI coding agent that learns your coding taste"
arch=('x86_64')
url="https://commandcode.ai/desktop"
license=('LicenseRef-command-code')
depends=(
'alsa-lib'
'at-spi2-core'
'gtk3'
'hicolor-icon-theme'
'libnotify'
'libsecret'
'mesa'
'nss'
'xdg-utils'
)
optdepends=('git: repository status and diffs')
conflicts=('commandcode-bin')
replaces=('commandcode-bin')
options=('!strip')
install=command-code-desktop.install
# License = upstream ToS (https://commandcode.ai/terms); none shipped in source
source=("${pkgname}-${pkgver}.deb::https://github.com/CommandCodeAI/desktop/releases/download/v${pkgver}/CommandCode-${pkgver}-amd64.deb"
"LICENSE-command-code")
sha256sums=('a0c0b3d1dec64943e078ab93b06b10147c7ac5f199f84b1623f447aeea5060ad'
'0ecb7f651dd3c281515717e87240db1e417cd846cd521b4661512868d2f03768')
package() {
bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
# Disable the Electron updater
sed -i 's|"updateFeed": "public"|"updateFeed": "none"|' \
"${pkgdir}/opt/Command Code/resources/app/package.json"
grep -q '"updateFeed": "none"' "${pkgdir}/opt/Command Code/resources/app/package.json"
# Wrapper that disables the app's self-updater (updates come from pacman)
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/command-code-desktop" <<'EOF'
#!/bin/sh
# Self-update disabled; updates via pacman only
export CMD_DISABLE_AUTO_UPDATE=1
export COMMANDCODE_SKIP_UPDATES=1
exec "/opt/Command Code/command-code" "$@"
EOF
# Point desktop entry at the wrapper (upstream Exec calls /opt directly)
sed -i 's|^Exec="/opt/Command Code/command-code"|Exec=command-code-desktop|' \
"${pkgdir}/usr/share/applications/command-code.desktop"
grep -qx 'Exec=command-code-desktop %U' \
"${pkgdir}/usr/share/applications/command-code.desktop"
# Install only this package's license; bundled Electron/Chromium licenses stay in /opt
install -Dm644 "${srcdir}/LICENSE-command-code" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
# Drop FPM's stub changelog (rm -rf won't fail if upstream removes it)
rm -rf "${pkgdir}/usr/share/doc"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 17:19:13 | Low | 2 |