quam_facere-git

LOW
maintainer seraf1 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
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
8pkgname=${_pkgname}-git
9pkgver=0.2.1
10pkgrel=2
11pkgdesc="A comprehensive web-based system for managing IT procedures, operations, and team workflows"
12arch=(any)
13url="https://spn109.fr/qf"
14license=('Apache-2')
15groups=()
16provides=("$_pkgname")
17depends=("python" "python-flask" "python-pyaml" "python-flask-login" "python-flask-migrate" "python-flask-sqlalchemy" "python-sqlalchemy" "python-pygments" "python-werkzeug" "python-pymupdf" "gunicorn")
18optdepends=()
19makedepends=('git' "python-pip")
20conflicts=("$_pkgname")
21replaces=()
22backup=("etc/quam_facere/config.yaml")
23install=install
24source=("${pkgname}::git+https://codeberg.org/spn109/Quam_Facere.git#tag=v${pkgver}")
25md5sums=('SKIP')
26
27build()
28{
29 cd "${srcdir}/${pkgname}" || exit 1
30}
31
32package()
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]
51Description=Quam Facere service
52StartLimitIntervalSec=0
53
54[Service]
55Type=simple
56Restart=always
57RestartSec=1
58User=qf
59SetLoginEnvironment=True
60WorkingDirectory=/usr/share/quam_facere/
61ExecStart=/usr/bin/gunicorn qf:app
62
63[Install]
64WantedBy=multi-user.target
65eof
66}
67

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