netexec
maintainer kiwi42
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip install is part of building the project from its own source (git checkout), which is standard for AUR packages; the installed code comes from the project's official repository, not an external untrusted package.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install is part of building the project from its own source (git checkout), which is standard for AUR packages; the installed code comes from the project's official repository, not an external untrusted package.
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:22
pip install pyinstaller .
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: KiWi42 <pullthisplug dash aur at yahoo dot com>
2
3
pkgname=netexec
4
pkgver=1.5.1
5
pkgrel=1
6
pkgdesc="A swiss army knife for pentesting Windows/Active Directory environments"
7
arch=("x86_64")
8
url="https://github.com/Pennyw0rth/NetExec"
9
license=("BSD-2-Clause")
10
replaces=("crackmapexec")
11
makedepends=('git' 'rust' 'python-pip' 'python-virtualenv')
12
options=('!strip')
13
source=("${pkgname}::git+${url}.git#tag=v${pkgver}"
14
"zsh-completion")
15
sha256sums=("SKIP"
16
"c0231c100ca2ba559df22a94c229afb230467ba5153f1652755edd32273e9da4")
17
18
build() {
19
cd "$pkgname"
20
virtualenv venv
21
source venv/bin/activate
22
pip install pyinstaller .
23
pyinstaller netexec.spec
24
}
25
26
27
package() {
28
install -Dm 644 zsh-completion "$pkgdir/usr/share/zsh/site-functions/_nxc"
29
cd "$pkgname"
30
install -Dm 755 dist/nxc "$pkgdir/usr/bin/nxc"
31
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
32
}
33
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 13:49:03 | MEDIUM | 1 |