xmind2md
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-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 |