pin
maintainer adrien1018
· 6 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source tarball from Intel's official domain, which is plausibly the project's own release infrastructure; despite the static analyzer flagging the host as non-standard, the download is from a legitimate vendor and contains buildable source, not a prebuilt executable, making the risk low.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source tarball from Intel's official domain, which is plausibly the project's own release infrastructure; despite the static analyzer flagging the host as non-standard, the download is from a legitimate vendor and contains buildable source, not a prebuilt executable, making the risk low.
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
6
pkgname=pin
7
pkgver=4.2
8
_pkgver=4.2-99776-g21d818fa2
9
pkgrel=1
10
pkgdesc="A tool for the dynamic instrumentation of programs"
11
arch=('x86_64')
12
url="https://software.intel.com/content/www/us/en/develop/articles/pin-a-dynamic-binary-instrumentation-tool.html"
13
license=('custom')
14
depends=('gcc' 'bash' 'lib32-gcc-libs')
15
options=('!strip' 'staticlibs')
16
source=("http://software.intel.com/sites/landingpage/pintool/downloads/${pkgname}-external-${_pkgver}-gcc-linux.tar.gz"
17
"pin.sh")
18
sha256sums=('194a2cec51678203452ece0d9e8cbb1819eb6e1221f0341091c49248f384d869'
19
'7198073c94e785cbd9002cdd174ab3bb1d28cc4e26626905c12173ad31ae82fc')
20
21
package() {
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) | 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 |