sentinelx
maintainer danitxu79
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install commands are used to install build dependencies (including pyinstaller and requirements from the project's own source) during compilation, which is a normal part of building a Python application from source; the source is from the project's official repository and the final binary is self-contained.
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 commands are used to install build dependencies (including pyinstaller and requirements from the project's own source) during compilation, which is a normal part of building a Python application from source; the source is from the project's official repository and the final binary is self-contained.
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:30
pip install --upgrade pip -
PKGBUILD:31
pip install -r requirements.txt -
PKGBUILD:32
pip install pyinstaller
PKGBUILD
3 offending line(s) highlighted
1
# Maintainer: Daniel Serrano Armenta <anabasasoft@gmail.com>
2
pkgname=sentinelx
3
pkgver=1.4.5
4
pkgrel=1
5
pkgdesc="Tu Guardián de Red para Linux. Simple. Potente. Inteligente. (Compila desde fuente)"
6
arch=('x86_64')
7
url="https://github.com/AnabasaSoft/SentinelX"
8
license=('LGPL3')
9
provides=('sentinelx')
10
conflicts=('sentinelx' 'sentinelx-bin')
11
12
# Dependencias para EJECUTAR
13
depends=('python' 'polkit' 'clamav' 'hicolor-icon-theme')
14
15
# Dependencias necesarias solo para COMPILAR (Build)
16
makedepends=('git' 'python-pip' 'python-setuptools' 'base-devel')
17
18
# Descargamos el código fuente exacto de la versión
19
source=("git+https://github.com/AnabasaSoft/SentinelX.git#tag=v${pkgver}")
20
sha256sums=('5cdf4c42b8e4a8e5f2562213568fbf34ebafd1f9ba75e9b0243c91a03ea6b07f')
21
22
build() {
23
cd "SentinelX"
24
25
echo "📦 Creando entorno virtual temporal..."
26
python -m venv venv
27
source venv/bin/activate
28
29
echo "⬇️ Instalando dependencias..."
30
pip install --upgrade pip
31
pip install -r requirements.txt
32
pip install pyinstaller
33
34
echo "🔨 Compilando binario..."
35
# Usamos --onedir para que sea más rápido de arrancar en sistema
36
pyinstaller --noconfirm \
37
--onedir \
38
--windowed \
39
--name "SentinelX" \
40
--add-data "SentinelX-Icon-512.png:." \
41
--add-data "lang:lang" \
42
--hidden-import "PySide6" \
43
SentinelX.py
44
}
45
46
package() {
47
cd "SentinelX"
48
49
echo "📂 Instalando archivos en el sistema..."
50
51
# 1. Copiar la carpeta compilada a /opt
52
install -dm755 "${pkgdir}/opt/${pkgname}"
53
cp -r "dist/SentinelX/"* "${pkgdir}/opt/${pkgname}/"
54
55
# 2. Enlace simbólico
56
install -dm755 "${pkgdir}/usr/bin"
57
ln -s "/opt/${pkgname}/SentinelX" "${pkgdir}/usr/bin/${pkgname}"
58
59
# 3. Icono
60
install -Dm644 "SentinelX-Icon-512.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png"
61
62
# 4. Desktop Entry
63
install -dm755 "${pkgdir}/usr/share/applications"
64
cat << EOF > "${pkgdir}/usr/share/applications/${pkgname}.desktop"
65
[Desktop Entry]
66
Name=SentinelX
67
Comment=Tu Guardián de Red para Linux
68
Exec=/usr/bin/${pkgname}
69
Icon=${pkgname}
70
Type=Application
71
Categories=System;Security;Network;
72
Terminal=false
73
EOF
74
75
# 5. Instalar licencia
76
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
77
}
78
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 |