openseeface-git

LOW
maintainer davispuh 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The pip install is used to install a wheel built locally from the project's own source via poetry build; it does not install external packages at runtime.

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 pip install is used to install a wheel built locally from the project's own source via poetry build; it does not install external packages at runtime.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:51 pip install --root-user-action ignore --ignore-installed --upgrade --root "${pkgdir}"/ $WHEEL_PACKAGE --no-dependencies

PKGBUILD

1 offending line(s) highlighted
1
2pkgname=openseeface-git
3pkgver=1.20.4.r57.gdee5bb7
4pkgrel=1
5pkgdesc='OpenSeeFace - Robust realtime face and facial landmark tracking on CPU with Unity integration. (Includes facetracker)'
6url="https://github.com/emilianavt/OpenSeeFace"
7license=('BSD-2')
8arch=('x86_64')
9depends=('python-poetry' 'python-numpy' 'python-flatbuffers' 'python-onnxruntime'
10 'python-opencv' 'python-pillow' 'python-protobuf')
11makedepends=('git' 'python-pip' 'python-wheel' 'python-setuptools')
12optdepends=('python-opencv-cuda: for CUDA optimizations'
13 'onnxruntime-opt: for AVX2 CPU optimizations'
14 'onnxruntime-opt-rocm: for ROCm and AVX2 CPU optimizations'
15 'onnxruntime-rocm: for ROCm')
16source=("git+https://github.com/emilianavt/OpenSeeFace.git")
17md5sums=('SKIP')
18
19pkgver() {
20 cd "${srcdir}/OpenSeeFace"
21 git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
22}
23
24prepare() {
25 cd "${srcdir}/OpenSeeFace"
26 sed -i '/^python =/d' pyproject.toml
27 mkdir -p openseeface
28 touch openseeface/__init__.py
29 cp *.py openseeface/
30 cp -R models openseeface/
31 sed -i 's|from input_reader|from .input_reader|' openseeface/facetracker.py
32 sed -i 's|from tracker|from .tracker|' openseeface/facetracker.py
33 sed -i 's|import escapi|from .escapi import *|' openseeface/input_reader.py
34 sed -i 's|import dshowcapture|from .dshowcapture import *|' openseeface/input_reader.py
35 sed -i 's|from similaritytransform|from .similaritytransform|' openseeface/tracker.py
36 sed -i 's|from retinaface|from .retinaface|' openseeface/tracker.py
37 sed -i 's|from remedian|from .remedian|' openseeface/tracker.py
38}
39
40build() {
41 cd "${srcdir}/OpenSeeFace"
42 poetry build
43 mkdir -p "${srcdir}/bin"
44 echo "#!/usr/bin/env python" > "${srcdir}/bin/facetracker"
45 echo "import openseeface.facetracker" >> "${srcdir}/bin/facetracker"
46 chmod +x "${srcdir}/bin/facetracker"
47}
48
49package() {
50 WHEEL_PACKAGE=$(find "${srcdir}"/$1 -name "*.whl")
51 pip install --root-user-action ignore --ignore-installed --upgrade --root "${pkgdir}"/ $WHEEL_PACKAGE --no-dependencies
52 cp -R "${srcdir}/bin" "${pkgdir}/usr/"
53}
54
55

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