hivision-id-photos-modnet

LOW
maintainer evine 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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