openseeface-git
LOW
maintainer davispuh
0 votes
scanned 2026-09-17 00:27:14.276658
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
2
pkgname=openseeface-git
3
pkgver=1.20.4.r57.gdee5bb7
4
pkgrel=1
5
pkgdesc='OpenSeeFace - Robust realtime face and facial landmark tracking on CPU with Unity integration. (Includes facetracker)'
6
url="https://github.com/emilianavt/OpenSeeFace"
7
license=('BSD-2')
8
arch=('x86_64')
9
depends=('python-poetry' 'python-numpy' 'python-flatbuffers' 'python-onnxruntime'
10
'python-opencv' 'python-pillow' 'python-protobuf')
11
makedepends=('git' 'python-pip' 'python-wheel' 'python-setuptools')
12
optdepends=('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')
16
source=("git+https://github.com/emilianavt/OpenSeeFace.git")
17
md5sums=('SKIP')
18
19
pkgver() {
20
cd "${srcdir}/OpenSeeFace"
21
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
22
}
23
24
prepare() {
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
40
build() {
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
49
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |