intel-sgx-sdk-bin
The package downloads a prebuilt SDK installer from Intel's official domain (download.01.org), which is plausibly Intel's own release infrastructure; despite the non-whitelisted host, the source is an official vendor release and the worst case of a swapped host would be supply-chain compromise, not active exploitation via obfuscated code or remote execution.
Triggered rules
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 package downloads a prebuilt SDK installer from Intel's official domain (download.01.org), which is plausibly Intel's own release infrastructure; despite the non-whitelisted host, the source is an official vendor release and the worst case of a swapped host would be supply-chain compromise, not active exploitation via obfuscated code or remote execution.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:15
source=("https://download.01.org/intel-sgx/sgx-linux/${pkgver}/distro/Debian13/sgx_linux_x64_sdk_${_pkgver}.bin"
PKGBUILD
1 offending line(s) highlighted# Maintainer: marmis <tiagodepalves@gmail.com>
# Contributor: "marmis" Tiago de Paula <tiagodepalves@gmail.com>
pkgname=intel-sgx-sdk-bin
pkgdesc='Intel® Software Guard Extensions SDK for Linux* OS'
pkgver=2.30.1
_pkgver="${pkgver%.1}.101.1"
pkgrel=1
url='https://github.com/intel/confidential-computing.sgx.sdk'
arch=(x86_64)
license=('BSD-3-Clause AND LicenseRef-Intel-SGX-Third-Party') # https://github.com/intel/confidential-computing.sgx.sdk/blob/main/License.txt
provides=("intel-sgx-sdk=${pkgver}")
conflicts=('intel-sgx-sdk')
options=(!strip !debug)
source=("https://download.01.org/intel-sgx/sgx-linux/${pkgver}/distro/Debian13/sgx_linux_x64_sdk_${_pkgver}.bin"
'intel-sgx-sdk-skip-tmp.patch')
b2sums=('40b0571fcf9dc4b689b673400aea0f680b4cbcb7b1fdae0aacd59ab7795d1c42319bc50f812713bf20ad604fecb8c090f629f3313c1aedbc89823313bc981ca1'
'35971e6ee160143327a939c964a785349b07f3386a1cc15e42be573d9cc64808f1d199e1257a00212544e492b4aa8d1b961cd70d916230e9fd90c55873f2554e')
## Here you can change the installation directory.
_installdir=/opt/intel
prepare() {
cp "sgx_linux_x64_sdk_${_pkgver}.bin" sgx_linux_x64_sdk.bin
patch --binary --force -t -Ni intel-sgx-sdk-skip-tmp.patch
chmod -c +x sgx_linux_x64_sdk.bin
}
package() {
depends=('glibc' 'libstdc++' 'openssl' 'bash' 'python')
optdepends=(
'intel-sgx-psw: for hardware support'
'gdb: GDB plugin for SGX binaries'
)
local installdir
installdir=$(realpath -m "${pkgdir}/${_installdir}")
# The installer runs a Makefile which fails when run in parallel
export MAKEFLAGS='-j1'
./sgx_linux_x64_sdk.bin --prefix "${installdir}"
cd "${installdir}"
# fix ${srcdir} references
sed -i -E "s|\b(SGX_SDK=).*|\1${_installdir}/sgxsdk|g" sgxsdk/environment
sed -i -E "s|\b(SGX_LIBRARY_PATH=).*|\1${_installdir}/sgxsdk/lib64|g" sgxsdk/bin/sgx-gdb
sed -i -E "s|^(prefix=).*|\1${_installdir}/sgxsdk|g" sgxsdk/pkgconfig/*.pc
# fix generated symlinks
ln -v -s libsgx_urts.so -fT sgxsdk/lib64/libsgx_urts.so.2
find sgxsdk/sdk_libs/ -name '*.so' -print -exec \
sh -euc 'ln -sr "sgxsdk/lib64/$(basename "$1")" -fT "$1"' -- '{}' \;
# The uninstall script shouldn't be used with this package
rm -v "${pkgdir}/opt/intel/sgxsdk/uninstall.sh"
# composed license
install -vD -t "${pkgdir}/usr/share/licenses/${pkgname}/" \
-m644 "${pkgdir}/opt/intel/sgxsdk/licenses/License.txt"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |