seadrive-bin
maintainer songtianlun
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt AppImage from a plausible project-related host (aliyuncs.com, used by Seafile for official downloads), which is extracted and installed safely; the host is not whitelisted but is reasonably trusted for this project, and no unverified code execution occurs beyond standard AppImage use.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt AppImage from a plausible project-related host (aliyuncs.com, used by Seafile for official downloads), which is extracted and installed safely; the host is not whitelisted but is reasonably trusted for this project, and no unverified code execution occurs beyond standard AppImage use.
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:13
source=("SeaDrive-x86_64-${pkgver}.AppImage::https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/SeaDrive-x86_64-${pkgver}.AppImage")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Song Tianlun <songtianlun@frytea.com>
2
pkgname=seadrive-bin
3
pkgver=3.0.21
4
pkgrel=2
5
pkgdesc="SeaDrive client for Seafile - access your files without syncing to local disk"
6
arch=('x86_64')
7
url="https://www.seafile.com/en/seadrive/"
8
license=('Apache-2.0')
9
depends=('fuse2' 'hicolor-icon-theme')
10
provides=('seadrive')
11
conflicts=('seadrive')
12
options=('!strip')
13
source=("SeaDrive-x86_64-${pkgver}.AppImage::https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/SeaDrive-x86_64-${pkgver}.AppImage")
14
sha256sums=('c63310c836d21c5a588c11c3da7a08d0314dac298e63ed822321e019e563063f')
15
noextract=("SeaDrive-x86_64-${pkgver}.AppImage")
16
17
prepare() {
18
chmod +x "${srcdir}/SeaDrive-x86_64-${pkgver}.AppImage"
19
"${srcdir}/SeaDrive-x86_64-${pkgver}.AppImage" --appimage-extract > /dev/null 2>&1
20
}
21
22
package() {
23
# Install AppImage directly
24
install -Dm755 "${srcdir}/SeaDrive-x86_64-${pkgver}.AppImage" \
25
"${pkgdir}/opt/${pkgname}/SeaDrive.AppImage"
26
27
# Symlink to PATH
28
install -d "${pkgdir}/usr/bin"
29
ln -s "/opt/${pkgname}/SeaDrive.AppImage" "${pkgdir}/usr/bin/seadrive-gui"
30
31
# Install desktop entry from AppImage
32
install -Dm644 "${srcdir}/squashfs-root/seadrive.desktop" \
33
"${pkgdir}/usr/share/applications/seadrive.desktop"
34
# Fix Exec to use our symlink
35
sed -i 's|TryExec=seadrive-gui|TryExec=/usr/bin/seadrive-gui|' \
36
"${pkgdir}/usr/share/applications/seadrive.desktop"
37
sed -i 's|Exec=seadrive-gui|Exec=/usr/bin/seadrive-gui|' \
38
"${pkgdir}/usr/share/applications/seadrive.desktop"
39
40
# Install icons from AppImage
41
cd "${srcdir}/squashfs-root"
42
find usr/share/icons -type f \( -name "*.png" -o -name "*.svg" \) | while read -r icon; do
43
install -Dm644 "${icon}" "${pkgdir}/${icon}"
44
done
45
}
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 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 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |