face-unlock
CLEAN
maintainer Felitendo
0 votes
scanned 2026-09-27 00:07:07.510666
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from a tagged GitHub release and includes two ONNX model files from the official OpenCV model zoo, both with verified checksums; no untrusted or executable remote code is downloaded at runtime.
1 higher static finding superseded - not the current verdict (shown for transparency)
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Felitendo
2
# This PKGBUILD is updated automatically:
3
# https://github.com/Felitendo/PKGBUILDS
4
5
pkgname=face-unlock
6
pkgver=2.0.0
7
pkgrel=1
8
pkgdesc="Face ID for Linux: the lock screen, sudo and admin prompts by face, on Plasma, GNOME, Hyprland and Niri"
9
arch=('x86_64' 'aarch64')
10
url="https://github.com/LoonixTools/face-unlock"
11
license=('GPL-3.0-or-later' 'MIT' 'Apache-2.0')
12
depends=('bash' 'coreutils' 'gawk' 'grep' 'sed' 'gettext' 'systemd' 'systemd-libs' 'pam' 'polkit'
13
'opencv' 'qt6-base' 'qt6-declarative' 'layer-shell-qt' 'ki18n')
14
makedepends=('cmake' 'scdoc')
15
optdepends=('hyprpolkitagent: password windows on Hyprland and Niri')
16
# The old name.
17
replaces=('plasma-face-unlock')
18
conflicts=('plasma-face-unlock')
19
install="${pkgname}.install"
20
# The two face networks come from the OpenCV model zoo, pinned by checksum.
21
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
22
"face_detection_yunet_2023mar.onnx::https://github.com/opencv/opencv_zoo/raw/main/models/face_detection_yunet/face_detection_yunet_2023mar.onnx"
23
"face_recognition_sface_2021dec.onnx::https://github.com/opencv/opencv_zoo/raw/main/models/face_recognition_sface/face_recognition_sface_2021dec.onnx")
24
noextract=('face_detection_yunet_2023mar.onnx' 'face_recognition_sface_2021dec.onnx')
25
sha256sums=('d14431a1859b1e7f20b5f416f7675542a96a78e8bcb9b15869326827848c1be2' '8f2383e4dd3cfbb4553ea8718107fc0423210dc964f9f4280604804ed2552fa4' '0ba9fbfa01b5270c96627c4ef784da859931e02f04419c829e83484087c34e79')
26
27
build() {
28
make -C "${pkgname}-${pkgver}" VERSION="$pkgver"
29
}
30
31
check() {
32
make -C "${pkgname}-${pkgver}" VERSION="$pkgver" test
33
}
34
35
package() {
36
make -C "${pkgname}-${pkgver}" VERSION="$pkgver" MODELS_SRC="$srcdir" DESTDIR="$pkgdir" install
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 00:07:07 | Clean | 2 |
| 2026-09-26 21:15:27 | Low | 1 |