quam_facere-git
LOW
maintainer seraf1
1 votes
scanned 2026-11-01 00:21:48.120785
Why flagged
The pip installs are for two harmless Python dependencies (mdutils and pymupdf-fonts) from PyPI, which are used by the application; this is a normal part of packaging and not malicious.
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 installs are for two harmless Python dependencies (mdutils and pymupdf-fonts) from PyPI, which are used by the application; this is a normal part of packaging and not malicious.
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:35
pip install --isolated --root="$pkgdir" --ignore-installed --no-deps mdutils -
PKGBUILD:36
pip install --isolated --root="$pkgdir" --ignore-installed --no-deps pymupdf-fonts
PKGBUILD
2 offending line(s) highlighted
1
#!/bin/bash
2
# shellcheck disable=SC2034
3
# shellcheck disable=SC2154
4
5
# Maintainer: Philippe.seraphin <philippe(dot)seraphin(at)spn109(dot)fr>
6
# Contributor: Philippe.seraphin <philippe(dot)seraphin(at)spn109(dot)fr>
7
_pkgname=quam_facere
8
pkgname=${_pkgname}-git
9
pkgver=0.2.1
10
pkgrel=2
11
pkgdesc="A comprehensive web-based system for managing IT procedures, operations, and team workflows"
12
arch=(any)
13
url="https://spn109.fr/qf"
14
license=('Apache-2')
15
groups=()
16
provides=("$_pkgname")
17
depends=("python" "python-flask" "python-pyaml" "python-flask-login" "python-flask-migrate" "python-flask-sqlalchemy" "python-sqlalchemy" "python-pygments" "python-werkzeug" "python-pymupdf" "gunicorn")
18
optdepends=()
19
makedepends=('git' "python-pip")
20
conflicts=("$_pkgname")
21
replaces=()
22
backup=("etc/quam_facere/config.yaml")
23
install=install
24
source=("${pkgname}::git+https://codeberg.org/spn109/Quam_Facere.git#tag=v${pkgver}")
25
md5sums=('SKIP')
26
27
build()
28
{
29
cd "${srcdir}/${pkgname}" || exit 1
30
}
31
32
package()
33
{
34
PIP_CONFIG_FILE=/dev/null
35
pip install --isolated --root="$pkgdir" --ignore-installed --no-deps mdutils
36
pip install --isolated --root="$pkgdir" --ignore-installed --no-deps pymupdf-fonts
37
38
cd "${srcdir}/${pkgname}" || exit 1
39
mkdir -p "${pkgdir}/usr/share/${_pkgname}/"
40
mkdir -p "${pkgdir}/usr/lib/systemd/system/"
41
mkdir -p "${pkgdir}/etc/${_pkgname}/"
42
mkdir -p "${pkgdir}/var/lib/${_pkgname}/"
43
cp -R ./qf "${pkgdir}/usr/share/${_pkgname}/"
44
cp config.yaml "${pkgdir}/etc/${_pkgname}/"
45
cp gunicorn.conf.py "${pkgdir}/usr/share/${_pkgname}/"
46
key=$(cat /dev/urandom | head -n 1 |tr -dc '[:alnum:]' |cut -c -32)
47
sed -i -e "s/test_quam_facere/${key}/g" "${pkgdir}/etc/${_pkgname}/config.yaml"
48
chmod +x "${pkgdir}/usr/share/${_pkgname}/qf/main.py"
49
cat <<'eof' > ${pkgdir}/usr/lib/systemd/system/${_pkgname}.service
50
[Unit]
51
Description=Quam Facere service
52
StartLimitIntervalSec=0
53
54
[Service]
55
Type=simple
56
Restart=always
57
RestartSec=1
58
User=qf
59
SetLoginEnvironment=True
60
WorkingDirectory=/usr/share/quam_facere/
61
ExecStart=/usr/bin/gunicorn qf:app
62
63
[Install]
64
WantedBy=multi-user.target
65
eof
66
}
67
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |