python-cad_to_openmc
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.
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-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |