fushi-beta
Sources are from the project's own GitHub repo and Google's official Flutter infrastructure (storage.googleapis.com/flutter_infra_release), both plausible official origins; the build compiles from source using the Flutter SDK; no obfuscation, exfiltration, or remote code execution patterns are present, though the package is new with few votes and bundles a Flutter SDK download.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 70%): Sources are from the project's own GitHub repo and Google's official Flutter infrastructure (storage.googleapis.com/flutter_infra_release), both plausible official origins; the build compiles from source using the Flutter SDK; no obfuscation, exfiltration, or remote code execution patterns are present, though the package is new with few votes and bundles a Flutter SDK download.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:18
'https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.0-stable.tar.xz'
PKGBUILD
1 offending line(s) highlighted# Maintainer: jmx4013 <jmx4013@proton.me>
# Beta track of the post-rename Fushi (v2.2.1-beta.12447). Conflicts with the
# stable `fushi` package; installs into the same /usr/lib/fushi layout.
pkgname=fushi-beta
pkgver=2.2.1beta12447
pkgrel=1
pkgdesc='Immersion language-learning suite: EPUB reader, video subtitle lookup, audiobook sync, and one-tap Anki mining (beta)'
arch=('x86_64')
url='https://github.com/hajisensai/Fushi'
license=('GPL-3.0-or-later')
depends=('gtk3' 'libkeybinder3' 'mpv')
conflicts=('fushi')
provides=('fushi')
makedepends=('clang' 'cmake' 'ninja' 'pkg-config' 'unzip')
optdepends=('qbittorrent: fallback torrent engine when the bundled libtorrent is unavailable')
source=('https://github.com/hajisensai/Fushi/archive/refs/tags/v2.2.1-beta.12447.tar.gz#/fushi-beta.tar.gz'
'https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.0-stable.tar.xz'
'fix-fushidicts-cstdint.patch'
'fushi.desktop')
sha256sums=('eea634dcda2dc6edd8a179a64169927781301f369b5338f62f743a4c51ccefd0'
'e1ec95e6c550458a34de93580cb85dac24da0e9bedb9bb42811f050ac5a0c7d5'
'8334fd0a75f8cfdfff0873b3c9ae9f0d19acfffdf59c07d4cb4d95b1e3ed2391'
'c96cbc90cca94c8e7d661003e65b9206ae6f060a29f409e509f1f5b6393dc3ec')
prepare() {
cd "${srcdir}/Fushi-2.2.1-beta.12447"
patch -p1 -i "${srcdir}/fix-fushidicts-cstdint.patch"
}
build() {
export FLUTTER_ROOT="${srcdir}/flutter"
export PATH="${FLUTTER_ROOT}/bin:${PATH}"
export PUB_CACHE="${srcdir}/pub-cache"
cd "${srcdir}/Fushi-2.2.1-beta.12447"
bash tool/bootstrap.sh
cd fushi
flutter build linux --release
}
package() {
local srcdir_app="${srcdir}/Fushi-2.2.1-beta.12447"
local bundle="${srcdir_app}/fushi/build/linux/x64/release/bundle"
local dest="${pkgdir}/usr/lib/fushi"
install -dm755 "${dest}"
cp -a "${bundle}/." "${dest}/"
# Linux has no version pipeline: overwrite the pubspec-derived version.json
# so PackageInfo (and thus the in-app updater) reports the beta release.
printf '{"app_name":"fushi","version":"2.2.1-beta.12447","build_number":"12447","package_name":"fushi"}' \
> "${dest}/data/flutter_assets/version.json"
install -Dm644 "${srcdir_app}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/fushi.desktop" "${pkgdir}/usr/share/applications/fushi.desktop"
install -Dm644 "${srcdir_app}/fushi/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" \
"${pkgdir}/usr/share/pixmaps/fushi.png"
# flutter_onnxruntime copies only the dev symlink (-> libonnxruntime.so.1);
# the versioned real lib never lands in the bundle, so the bundle's symlink is
# broken at runtime. Ship the real .so alongside.
local ort_lib
ort_lib=$(find "${srcdir_app}/fushi/build/linux/x64/release/plugins/flutter_onnxruntime" \
-type d -path '*onnxruntime-linux-x64*/lib' | head -1)
cp -a "${ort_lib}/." "${dest}/lib/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-01 13:50:40 | Low | 3 |
| 2026-09-01 13:48:42 | Medium | 2 |