tandoor-recipes-git
maintainer jeromedc
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install is from the project's own requirements.txt within the git source, which is a normal and expected part of building the application; the source is from the official project repository, making this a legitimate build step, not an external or untrusted package injection.
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 from the project's own requirements.txt within the git source, which is a normal and expected part of building the application; the source is from the official project repository, making this a legitimate build step, not an external or untrusted package injection.
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:56
pip install --isolated --require-virtualenv --cache-dir "$srcdir/pip-cache" --disable-pip-version-check -r "$srcdir/recipes/requirements.txt"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jérôme de Courval <decje9@gmail.com>
2
pkgname=tandoor-recipes-git
3
pkgver=1.2.2.r4134.28e554d04
4
pkgrel=1
5
pkgdesc=""
6
arch=('any')
7
url="https://github.com/TandoorRecipes/recipes"
8
license=('GPL')
9
groups=()
10
depends=()
11
makedepends=('git' 'nodejs' 'postgresql' 'postgresql-libs' 'python-virtualenv' 'nginx' 'yarn')
12
provides=("tandoor-recipes")
13
conflicts=("tandoor-recipes")
14
replaces=()
15
backup=(
16
'etc/tandoor/tandoor.conf'
17
'etc/nginx/sites-available/tandoor.conf'
18
)
19
options=(!strip)
20
install=tandoor.install
21
source=(
22
'git+https://github.com/TandoorRecipes/recipes.git'
23
'tandoor.service'
24
'tandoor.socket'
25
'tandoor-sysuser.conf'
26
'tandoor-directory.conf'
27
'tandoor-nginx.conf'
28
)
29
noextract=()
30
sha1sums=(
31
'SKIP'
32
'2477c21bff44ed1051281dd66a6f13a296db11ca'
33
'b564ef5c07d98c9983cb891e1e974dbf678e5c73'
34
'431a88a4ab33ec118961d80c00e3a5944d2c5691'
35
'6072447d59acbc452b1e4dc5b0064c5ccafae97b'
36
'8d1d8d9a3cf6963cf7eb145d25a3d724479a89c2'
37
)
38
39
pkgver() {
40
cd "$srcdir/recipes"
41
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
42
}
43
44
45
build() {
46
cd "$srcdir/recipes/vue3"
47
yarn --cache-folder "$srcdir/yarn-cache" --ignore-engines install
48
yarn --cache-folder "$srcdir/yarn-cache" build
49
}
50
51
52
package() {
53
cd "$srcdir"
54
python -m venv "$pkgdir/usr/share/tandoor/venv"
55
source "$pkgdir/usr/share/tandoor/venv/bin/activate"
56
pip install --isolated --require-virtualenv --cache-dir "$srcdir/pip-cache" --disable-pip-version-check -r "$srcdir/recipes/requirements.txt"
57
find "$pkgdir/usr/share/tandoor/venv" -name __pycache__ -type d -exec rm -rf {} +
58
find "$pkgdir/usr/share/tandoor/venv/bin" -type f -exec sed -i "s|$pkgdir||g" {} \;
59
60
install -Dm644 -t "$pkgdir/usr/lib/systemd/system/" tandoor.service tandoor.socket
61
install -Dm644 tandoor-sysuser.conf "$pkgdir/usr/lib/sysusers.d/tandoor.conf"
62
install -Dm644 tandoor-directory.conf "$pkgdir/usr/lib/tmpfiles.d/tandoor.conf"
63
install -Dm644 tandoor-nginx.conf "$pkgdir/etc/nginx/sites-available/tandoor.conf"
64
65
cd recipes
66
install -Dm644 .env.template "$pkgdir/etc/tandoor/tandoor.conf"
67
mkdir -p "$pkgdir/usr/share/tandoor"
68
rm -rf "$srcdir/recipes/vue3/node_modules/.cache"
69
cp -r manage.py vue3 recipes cookbook "$pkgdir/usr/share/tandoor"
70
}
71
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |