xmind2md

LOW
maintainer chirag297 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:38 pip install xmindparser

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chirag Bharambe <chirag@bharambe.dev>
2
3pkgname=xmind2md
4pkgver=1.0.0
5pkgrel=1
6pkgdesc="A tool to convert XMind files to Markdown format"
7arch=('any')
8url="https://github.com/chiragbharambe/xmind2md"
9license=('MIT')
10depends=('python')
11makedepends=('python-pip' 'python-virtualenv')
12
13source=("$pkgname-$pkgver.tar.gz::https://github.com/chiragbharambe/$pkgname/archive/v$pkgver.tar.gz")
14sha256sums=('SKIP')
15
16package() {
17 cd "$srcdir/$pkgname-$pkgver"
18
19 # Create necessary directories
20 install -dm755 "$pkgdir/usr/bin"
21 install -dm755 "$pkgdir/usr/lib/$pkgname"
22 install -dm755 "$pkgdir/usr/share/$pkgname"
23
24 # Install Python script
25 install -Dm755 xmind_converter.py "$pkgdir/usr/lib/$pkgname/xmind_converter.py"
26
27 # Create setup script
28 cat > "$pkgdir/usr/lib/$pkgname/setup.sh" << 'EOF'
29#!/bin/bash
30
31VENV_PATH="$HOME/.local/share/xmind2md/venv"
32
33# Create virtual environment if it doesn't exist
34if [ ! -d "$VENV_PATH" ]; then
35 mkdir -p "$HOME/.local/share/xmind2md"
36 python -m venv "$VENV_PATH"
37 source "$VENV_PATH/bin/activate"
38 pip install xmindparser
39 deactivate
40fi
41
42echo "Setup complete! xmind2md is ready to use."
43EOF
44 chmod 755 "$pkgdir/usr/lib/$pkgname/setup.sh"
45
46 # Create main executable
47 cat > "$pkgdir/usr/bin/$pkgname" << 'EOF'
48#!/bin/bash
49
50VENV_PATH="$HOME/.local/share/xmind2md/venv"
51
52# Check if venv exists, if not run setup
53if [ ! -d "$VENV_PATH" ]; then
54 /usr/lib/xmind2md/setup.sh
55fi
56
57# Activate venv and run converter
58source "$VENV_PATH/bin/activate"
59python /usr/lib/xmind2md/xmind_converter.py "$@"
60deactivate
61EOF
62 chmod 755 "$pkgdir/usr/bin/$pkgname"
63
64 # Install license and readme
65 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
66 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
67}
68

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion