ossfs2-bin
maintainer willvar
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt RPM from a non-whitelisted host (alicdn.com), which is not a standard source for AUR packages; although the domain is plausibly Alibaba's, the binary nature of the RPM and unverifiable build process creates a supply-chain risk if the source were swapped.
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:13
source=("ossfs2_${pkgver}_linux_x86_64.rpm::https://gosspublic.alicdn.com/ossfs/ossfs2_${pkgver}_linux_x86_64.rpm")
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt RPM from a non-whitelisted host (alicdn.com), which is not a standard source for AUR packages; although the domain is plausibly Alibaba's, the binary nature of the RPM and unverifiable build process creates a supply-chain risk if the source were swapped.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: William Varmus <0@willvar.tw>
2
3
pkgname=ossfs2-bin
4
pkgver=2.0.8
5
pkgrel=1
6
pkgdesc='High-performance FUSE client to mount Alibaba Cloud OSS buckets'
7
arch=('x86_64')
8
url="https://www.alibabacloud.com/help/en/oss/developer-reference/ossfs-2-0/"
9
license=('unknown')
10
depends=('fuse3')
11
makedepends=('patchelf')
12
provides=('ossfs2')
13
source=("ossfs2_${pkgver}_linux_x86_64.rpm::https://gosspublic.alicdn.com/ossfs/ossfs2_${pkgver}_linux_x86_64.rpm")
14
sha256sums=('ed8979466dc3a95d5c9a10893eba1b0368034ab19d050fa47b08b0e3dc417112')
15
16
prepare() {
17
cd "${srcdir}"
18
# Extract RPM contents using bsdtar
19
bsdtar -xf "ossfs2_${pkgver}_linux_x86_64.rpm"
20
}
21
22
package() {
23
cd "${srcdir}"
24
# Install binary
25
install -Dm755 usr/local/bin/ossfs2 "${pkgdir}/usr/bin/ossfs2"
26
# Install mount helper for fstab integration
27
ln -s ossfs2 "${pkgdir}/usr/bin/mount.ossfs2"
28
# Install bundled fuse3 library
29
install -Dm755 usr/local/lib64/ossfs2/libfuse3.so.3 "${pkgdir}/usr/lib/ossfs2/libfuse3.so.3"
30
# Patch RPATH to find bundled libfuse3
31
patchelf --set-rpath '/usr/lib/ossfs2' "${pkgdir}/usr/bin/ossfs2"
32
}
33
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 |