python-cad_to_openmc
Triggered rules
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums. Severity reduced: python-* packages routinely use pip.
-
PKGBUILD:51
pip install --break-system-packages -r requirements.txt
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is LOW (confidence 82%): The source is pulled directly from the official upstream GitHub repository (openmsr/CAD_to_OpenMC) via git+https, which is the canonical location for this project. The SKIP checksum is normal for VCS sources. The main concern flagged is 'pip install --break-system-packages -r requirements.txt' inside the package() function. This is sloppy packaging practice: it installs dependencies outside pacman's control and writes to the live system rather than $pkgdir, but the requirements.txt comes from the same upstream git repository already cloned, so there is no separate untrusted fetch of unknown content. The pip invocation is a packaging quality issue (dependencies should be declared in depends/makedepends and installed properly), not a supply-chain attack vector introducing external untrusted binaries. The severity is low rather than medium because the executed code originates from the same official upstream source already fetched, not from a separate unofficial or personal host.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Luke Labrie-Cleary <luke.cleary@copenhagenatomics.com>
pkgname=python-cad_to_openmc
pkgver=0.2.6.r9.gfba782c
pkgrel=2
pkgdesc="code to target the conversion from a step-file to a h5m-geometry
for neutronics"
arch=('x86_64')
url="https://github.com/openmsr/CAD_to_OpenMC"
license=('MIT')
depends=(
python
python-pip
moab-git
python-multimethod
python-typish
python-ezdxf
python-nptyping
nlopt
python-pymoab
)
makedepends=(
git
python
python-build
python-installer
python-wheel
)
_name="CAD_to_OpenMC"
provides=("${_name%-pkgver}")
source=("git+https://github.com/openmsr/CAD_to_OpenMC.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_name}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${_name}"
python \
-m build \
--wheel \
--no-isolation
}
package() {
cd "$srcdir/${_name}"
python -m installer --destdir="$pkgdir" dist/*.whl
pip install --break-system-packages -r requirements.txt
# make git repo available in opt
cd "$srcdir"
mkdir $pkgdir/opt
cp -r "$_name" $pkgdir/opt
}
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 |