ctfile-electron
MEDIUM
maintainer maoyaotang1
0 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The package downloads a prebuilt AppImage from a non-standard host (ctcontents.com), which is not the project's primary domain and could allow for supply-chain tampering of an executable artifact.
Triggered rules
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:15
"https://imgstatic.ctcontents.com/apps/${_pkgname}-${pkgver}.AppImage"
Medium
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt AppImage from a non-standard host (ctcontents.com), which is not the project's primary domain and could allow for supply-chain tampering of an executable artifact.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: MaoYaoTang <maoyaotang @ 163>
2
3
pkgname=ctfile-electron
4
_pkgname=CTFile
5
pkgver=5.1.17
6
pkgrel=1
7
pkgdesc="城通网盘electron版"
8
arch=('any')
9
url="https://www.ctfile.com/"
10
license=('CC0-1.0')
11
depends=(electron)
12
makedepends=('asar')
13
provides=("$_pkgname")
14
source=(
15
"https://imgstatic.ctcontents.com/apps/${_pkgname}-${pkgver}.AppImage"
16
"城通网盘 隐私政策"
17
"${pkgname%-electron}.desktop"
18
"${pkgname%-electron}.sh"
19
)
20
sha512sums=('9e79688f34e6246f6e620a3412477ad26cc719f735ac70fd8653f6f9837dbc901bd82b838d4e0c8a01344fff9db326ba47c84bb1dc6da55607f6e1bf3c94a50a'
21
'9f441c7fb6dadbede0dfac67a7c27e9c44ee7fd3a67a21c8fc86258a1a971c1ef5af3ff101168fb4f190242da418e986c55d2ae9ebf38254c55f2e0e4663969a'
22
'81304263bd190047ce3625eac4b14494901d0b9a7ca316fd93689e8562faf575c865b1bf1823c038b9fc87248802fc2ba468e0b3a839834f0e6fd8a93352f13b'
23
'cbb112207302359b6f1cec3caf1c9685466959f9037ea9c0feddb9474fb84c571d7352df46aa804838eaa761b09e3a8564068c327fb76ce83ff8ab57bf676a66')
24
25
prepare() {
26
chmod +x ${_pkgname}-${pkgver}.AppImage
27
./${_pkgname}-${pkgver}.AppImage --appimage-extract
28
}
29
30
package() {
31
cd "${srcdir}"
32
install -dm755 ${pkgdir}/opt/${pkgname%-electron}
33
install -dm755 ${pkgdir}/usr/share
34
install -Dm755 ${pkgname%-electron}.sh "${pkgdir}/usr/bin/${pkgname%-electron}"
35
cp -r squashfs-root/resources/* "${pkgdir}/opt/${pkgname%-electron}/"
36
chmod 644 "${pkgdir}/opt/${pkgname%-electron}/assets/"*.png
37
find ${pkgdir} -type d -exec chmod 755 {} \;
38
install -Dm644 ${pkgname%-electron}.desktop "${pkgdir}/usr/share/applications/${pkgname%-electron}.desktop"
39
install -Dm644 squashfs-root/usr/share/icons/hicolor/1024x1024/apps/ctfile-desktop.png "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/ctfile-desktop.png"
40
install -Dm644 ${srcdir}/"城通网盘 隐私政策" "$pkgdir/usr/share/licenses/${pkgname%-electron}/LICENSE"
41
}
42
Changes since previous scan
--- PKGBUILD @ 2026-09-12 00:25+++ PKGBUILD @ 2026-09-17 00:27@@ -2,7 +2,7 @@ pkgname=ctfile-electron _pkgname=CTFile-pkgver=5.1.16+pkgver=5.1.17 pkgrel=1 pkgdesc="城通网盘electron版" arch=('any')@@ -17,7 +17,7 @@ "${pkgname%-electron}.desktop" "${pkgname%-electron}.sh" )-sha512sums=('dbeb120a4c5ef6dfa7f2ecae0ac3446e03c07725c3bcd90dbd5c2f1625290122bca9fef6b0617d25ee4f9a300c71c0dfa5a3d5501585044205be99ba2dc47e68'+sha512sums=('9e79688f34e6246f6e620a3412477ad26cc719f735ac70fd8653f6f9837dbc901bd82b838d4e0c8a01344fff9db326ba47c84bb1dc6da55607f6e1bf3c94a50a' '9f441c7fb6dadbede0dfac67a7c27e9c44ee7fd3a67a21c8fc86258a1a971c1ef5af3ff101168fb4f190242da418e986c55d2ae9ebf38254c55f2e0e4663969a' '81304263bd190047ce3625eac4b14494901d0b9a7ca316fd93689e8562faf575c865b1bf1823c038b9fc87248802fc2ba468e0b3a839834f0e6fd8a93352f13b' 'cbb112207302359b6f1cec3caf1c9685466959f9037ea9c0feddb9474fb84c571d7352df46aa804838eaa761b09e3a8564068c327fb76ce83ff8ab57bf676a66')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 01:24:32 | 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 14:00:22 | 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 |