pin

LOW
maintainer adrien1018 6 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a prebuilt binary tarball from Intel's official domain, which is plausibly the project's own release infrastructure; the worst case of a swapped source would be malicious code execution, but the host is legitimate and the checksums are verified, making this a normal AUR package with low risk.

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 source is a prebuilt binary tarball from Intel's official domain, which is plausibly the project's own release infrastructure; the worst case of a swapped source would be malicious code execution, but the host is legitimate and the checksums are verified, making this a normal AUR package with low risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:16 source=("http://software.intel.com/sites/landingpage/pintool/downloads/${pkgname}-external-${_pkgver}-gcc-linux.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Adrien Wu <adrien.sf.wu@gmail.com>
2# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
3# Contributor: Jon Eyolfson <jon@eyolfson.com>
4# Contributor: Roni Choudhury <aichoudh@gmail.com>
5
6pkgname=pin
7pkgver=4.3.1
8_pkgver=4.3-99850-gce5652921
9pkgrel=1
10pkgdesc="A tool for the dynamic instrumentation of programs"
11arch=('x86_64')
12url="https://software.intel.com/content/www/us/en/develop/articles/pin-a-dynamic-binary-instrumentation-tool.html"
13license=('custom')
14depends=('gcc' 'bash' 'lib32-gcc-libs')
15options=('!strip' 'staticlibs')
16source=("http://software.intel.com/sites/landingpage/pintool/downloads/${pkgname}-external-${_pkgver}-gcc-linux.tar.gz"
17 "pin.sh")
18sha256sums=('74c68d5abbb51a5bf213287491e8bd39c3a59799991c3b7237f9b9da67a4bb5e'
19 '7198073c94e785cbd9002cdd174ab3bb1d28cc4e26626905c12173ad31ae82fc')
20
21package() {
22 cd "${srcdir}/${pkgname}-external-${_pkgver}-gcc-linux"
23
24 # Copy pin executables, etc. to the /opt/pin directory (because pin
25 # uses a non-standard FHS for its stuff).
26 mkdir -p ${pkgdir}/opt/pin
27 cp -r * ${pkgdir}/opt/pin
28
29 # Fix the permissions (they're very broken)
30 chmod -R a=r,u+w,a+X "${pkgdir}/opt/pin"
31 chmod +x "${pkgdir}/opt/pin/pin"
32 find "${pkgdir}/opt/pin" -name pinbin -type f -exec chmod +x {} \;
33 find "${pkgdir}/opt/pin" -name xed -type f -exec chmod +x {} \;
34 find "${pkgdir}/opt/pin" -name pindb -type f -exec chmod +x {} \;
35 find "${pkgdir}/opt/pin/source/tools/Utils" -name 'test*' -type f -exec chmod +x {} \;
36 find "${pkgdir}/opt/pin/source/tools/Utils" -name '*.py' -type f -exec chmod +x {} \;
37
38 # Copy shell script for modifying path.
39 cd "$srcdir"
40 mkdir -p ${pkgdir}/etc/profile.d
41 install pin.sh ${pkgdir}/etc/profile.d
42
43 install -d "${pkgdir}/usr/share/licenses/${pkgname}"
44 cp -r "${pkgdir}"/opt/pin/licensing "${pkgdir}/usr/share/licenses/${pkgname}"
45}
46

Scan history

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

Report a package

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

0 / 4000
Your suggestion