capacities-bin
The package downloads a prebuilt AppImage binary from a DigitalOcean Spaces CDN bucket (capacities-desktop-app.fra1.cdn.digitaloceanspaces.com). This is a common pattern for Electron/AppImage-based AUR packages where the vendor hosts release artifacts on a CDN rather than GitHub releases. The URL structure (project-named bucket, versioned filename) is consistent with an official vendor CDN. A sha256sum is provided, which mitigates substitution risk at download time. However, this is still an executed binary (AppImage is extracted and run during prepare(), and installed for execution) from a non-primary domain with no GPG signature verification. If the CDN bucket were compromised or the maintainer's checksum were wrong/manipulated, arbitrary code would execute. This is a genuine medium-severity supply-chain concern: a prebuilt binary from a non-GitHub/non-primary-domain host with only a sha256 checksum and no upstream signature verification. Not clearly malicious, but not clean either.
Triggered rules
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:14
source=("${pkgname}-${pkgver}.AppImage::https://capacities-desktop-app.fra1.cdn.digitaloceanspaces.com/Capacities-${pkgver}.AppImage")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The package downloads a prebuilt AppImage binary from a DigitalOcean Spaces CDN bucket (capacities-desktop-app.fra1.cdn.digitaloceanspaces.com). This is a common pattern for Electron/AppImage-based AUR packages where the vendor hosts release artifacts on a CDN rather than GitHub releases. The URL structure (project-named bucket, versioned filename) is consistent with an official vendor CDN. A sha256sum is provided, which mitigates substitution risk at download time. However, this is still an executed binary (AppImage is extracted and run during prepare(), and installed for execution) from a non-primary domain with no GPG signature verification. If the CDN bucket were compromised or the maintainer's checksum were wrong/manipulated, arbitrary code would execute. This is a genuine medium-severity supply-chain concern: a prebuilt binary from a non-GitHub/non-primary-domain host with only a sha256 checksum and no upstream signature verification. Not clearly malicious, but not clean either.
PKGBUILD
1 offending line(s) highlighted# Maintainer: BoredYama sagargaud88@gmail.com
pkgname=capacities-bin
pkgver=1.54.17
pkgrel=1
pkgdesc="A note-taking app for organizing your knowledge"
arch=('x86_64')
url="https://capacities.io"
license=('custom')
depends=('fuse2' 'zlib' 'hicolor-icon-theme')
provides=('capacities')
conflicts=('capacities')
options=(!strip)
source=("${pkgname}-${pkgver}.AppImage::https://capacities-desktop-app.fra1.cdn.digitaloceanspaces.com/Capacities-${pkgver}.AppImage")
sha256sums=('e40f8bad35f5a4c4b12575ff23b8101b266f6617f841be4cd2c66711cb8fd844')
prepare() {
chmod +x "${pkgname}-${pkgver}.AppImage"
./"${pkgname}-${pkgver}.AppImage" --appimage-extract
}
package() {
# Install the AppImage
install -Dm755 "${srcdir}/${pkgname}-${pkgver}.AppImage" \
"${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
# Create launcher script
install -dm755 "${pkgdir}/usr/bin"
cat > "${pkgdir}/usr/bin/capacities" << 'EOF'
#!/bin/sh
exec /opt/capacities-bin/capacities-bin.AppImage "$@"
EOF
chmod +x "${pkgdir}/usr/bin/capacities"
# Install desktop file
install -Dm644 "${srcdir}/squashfs-root/capacities.desktop" \
"${pkgdir}/usr/share/applications/capacities.desktop"
# Fix Exec line in desktop file
sed -i 's|Exec=AppRun|Exec=/usr/bin/capacities|g' \
"${pkgdir}/usr/share/applications/capacities.desktop"
# Install icons
for size in 16 32 48 64 128 256 512; do
if [ -f "${srcdir}/squashfs-root/usr/share/icons/hicolor/${size}x${size}/apps/capacities.png" ]; then
install -Dm644 \
"${srcdir}/squashfs-root/usr/share/icons/hicolor/${size}x${size}/apps/capacities.png" \
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/capacities.png"
fi
done
# Fallback icon
if [ -f "${srcdir}/squashfs-root/capacities.png" ]; then
install -Dm644 "${srcdir}/squashfs-root/capacities.png" \
"${pkgdir}/usr/share/pixmaps/capacities.png"
fi
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |