hivision-id-photos-modnet

maintainer evine · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads pretrained model files (ONNX/MNN) from the project's own GitHub releases and Hugging Face; these are non-executable data files used by the application, so the worst case of a swapped source is data tampering, not code execution.

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 pretrained model files (ONNX/MNN) from the project's own GitHub releases and Hugging Face; these are non-executable data files used by the application, so the worst case of a swapped source is data tampering, not code execution.

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 "rmbg-1.4.onnx::https://huggingface.co/briaai/RMBG-1.4/resolve/main/onnx/model.onnx?download=true"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: devome <evinedeng@hotmail.com>
2
3pkgname=hivision-id-photos-modnet
4pkgver=1.0
5pkgrel=2
6pkgdesc="HivisionIDPhotos pretrained model (portrait matting)"
7arch=("any")
8url="https://github.com/Zeyi-Lin/HivisionIDPhotos"
9license=("Apache-2.0")
10source=("modnet_photographic_portrait_matting.onnx::${url}/releases/download/pretrained-model/modnet_photographic_portrait_matting.onnx"
11 "mnn_hivision_modnet.mnn::${url}/releases/download/pretrained-model/mnn_hivision_modnet.mnn"
12 "hivision_modnet.onnx::${url}/releases/download/pretrained-model/hivision_modnet.onnx"
13 "rmbg-1.4.onnx::https://huggingface.co/briaai/RMBG-1.4/resolve/main/onnx/model.onnx?download=true"
14 "birefnet-v1-lite.onnx::https://github.com/ZhengPeng7/BiRefNet/releases/download/v1/BiRefNet-general-bb_swin_v1_tiny-epoch_232.onnx")
15sha256sums=('07c308cf0fc7e6e8b2065a12ed7fc07e1de8febb7dc7839d7b7f15dd66584df9'
16 '44cd8c229f605173765f670df0d533885c643e2d88b09e25dd4e7892b484256a'
17 '7e0cb9a2a841b426dd0daf1a788ec398dab059bc039041d62b15636c0783bc56'
18 '8cafcf770b06757c4eaced21b1a88e57fd2b66de01b8045f35f01535ba742e0f'
19 '5600024376f572a557870a5eb0afb1e5961636bef4e1e22132025467d0f03333')
20
21package() {
22 install -Dm644 *.onnx *.mnn -t "${pkgdir}/usr/share/hivision-id-photos/hivision/creator/weights"
23}
24

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion