capacities-bin
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-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |