xmind2md
The PKGBUILD sources from the official GitHub repository of the maintainer (tagged release tarball), which is a legitimate upstream source. The `pip install xmindparser` happens at runtime (inside a user-owned virtualenv under $HOME), not during the build/install phase, so it does not affect the system package installation. This is a sloppy packaging pattern (the dependency should be declared as a proper AUR/pacman dependency like `python-xmindparser` rather than fetched via pip at runtime), but it is not a build-time supply-chain risk. The sha256sums='SKIP' is also sloppy but not malicious. The overall concern is low: no executed binaries from unofficial hosts, no obfuscation, no system-level pip install. The cheaper model's MEDIUM rating is a false positive — the pip call is a runtime user-space action, not a package-installation-time code execution concern.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 82%): The PKGBUILD sources from the official GitHub repository of the maintainer (tagged release tarball), which is a legitimate upstream source. The `pip install xmindparser` happens at runtime (inside a user-owned virtualenv under $HOME), not during the build/install phase, so it does not affect the system package installation. This is a sloppy packaging pattern (the dependency should be declared as a proper AUR/pacman dependency like `python-xmindparser` rather than fetched via pip at runtime), but it is not a build-time supply-chain risk. The sha256sums='SKIP' is also sloppy but not malicious. The overall concern is low: no executed binaries from unofficial hosts, no obfuscation, no system-level pip install. The cheaper model's MEDIUM rating is a false positive — the pip call is a runtime user-space action, not a package-installation-time code execution concern.
1 higher static finding superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:38
pip install xmindparser
PKGBUILD
1 offending line(s) highlighted# Maintainer: Chirag Bharambe <chirag@bharambe.dev>
pkgname=xmind2md
pkgver=1.0.0
pkgrel=1
pkgdesc="A tool to convert XMind files to Markdown format"
arch=('any')
url="https://github.com/chiragbharambe/xmind2md"
license=('MIT')
depends=('python')
makedepends=('python-pip' 'python-virtualenv')
source=("$pkgname-$pkgver.tar.gz::https://github.com/chiragbharambe/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('SKIP')
package() {
cd "$srcdir/$pkgname-$pkgver"
# Create necessary directories
install -dm755 "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/lib/$pkgname"
install -dm755 "$pkgdir/usr/share/$pkgname"
# Install Python script
install -Dm755 xmind_converter.py "$pkgdir/usr/lib/$pkgname/xmind_converter.py"
# Create setup script
cat > "$pkgdir/usr/lib/$pkgname/setup.sh" << 'EOF'
#!/bin/bash
VENV_PATH="$HOME/.local/share/xmind2md/venv"
# Create virtual environment if it doesn't exist
if [ ! -d "$VENV_PATH" ]; then
mkdir -p "$HOME/.local/share/xmind2md"
python -m venv "$VENV_PATH"
source "$VENV_PATH/bin/activate"
pip install xmindparser
deactivate
fi
echo "Setup complete! xmind2md is ready to use."
EOF
chmod 755 "$pkgdir/usr/lib/$pkgname/setup.sh"
# Create main executable
cat > "$pkgdir/usr/bin/$pkgname" << 'EOF'
#!/bin/bash
VENV_PATH="$HOME/.local/share/xmind2md/venv"
# Check if venv exists, if not run setup
if [ ! -d "$VENV_PATH" ]; then
/usr/lib/xmind2md/setup.sh
fi
# Activate venv and run converter
source "$VENV_PATH/bin/activate"
python /usr/lib/xmind2md/xmind_converter.py "$@"
deactivate
EOF
chmod 755 "$pkgdir/usr/bin/$pkgname"
# Install license and readme
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |