hivision-id-photos-modnet

LOW
maintainer evine 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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