katana
The PKGBUILD downloads a prebuilt binary tarball via wget inside prepare() rather than declaring it in source=() with a checksum. This means the download is not integrity-verified by makepkg and could be silently substituted. The host is the official Foundry vendor domain (foundry.com), which reduces the risk of a compromised third-party mirror, but the lack of any checksum (sha256sums etc.) means there is no way to detect tampering in transit or a future change to the file served at that URL. The downloaded tarball contains a proprietary installer (install.sh) that is executed directly in package(), installing a prebuilt binary application to /opt. This is a genuine supply-chain concern: an executed binary from an unverified download. The vendor domain origin keeps this from being high severity, but the absence of integrity verification on an executed binary warrants medium.
Triggered rules
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:21
wget -O "katana${pkgver}.tar.gz" "https://www.foundry.com/products/download_product?file=Katana${pkgver}-linux-x86-release-64.tgz"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary tarball via wget inside prepare() rather than declaring it in source=() with a checksum. This means the download is not integrity-verified by makepkg and could be silently substituted. The host is the official Foundry vendor domain (foundry.com), which reduces the risk of a compromised third-party mirror, but the lack of any checksum (sha256sums etc.) means there is no way to detect tampering in transit or a future change to the file served at that URL. The downloaded tarball contains a proprietary installer (install.sh) that is executed directly in package(), installing a prebuilt binary application to /opt. This is a genuine supply-chain concern: an executed binary from an unverified download. The vendor domain origin keeps this from being high severity, but the absence of integrity verification on an executed binary warrants medium.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Joshua Deakin contact[at]joshuadeakin[dot]com
# Note: You may want to add /opt/Katana<version>/ to $PATH
# Note: May need to stop Qt from using the MIT-SHM X11 Shared Memory Extension:
# $ env QT_X11_NO_MITSHM=1 /opt/Katana<version>/katana
# Note: Uncomment the ACCEPTEULA line to auto accept EULA agreement.
pkgname='katana'
pkgbase='katana'
pkgver='3.0v1'
pkgrel=1
pkgdesc="VFX package for asset based look development and lighting"
arch=('x86_64')
url="https://www.foundry.com"
license=('custom')
depends=()
makedepends=()
options=('!strip')
prepare() {
wget -O "katana${pkgver}.tar.gz" "https://www.foundry.com/products/download_product?file=Katana${pkgver}-linux-x86-release-64.tgz"
tar -xvzf "katana${pkgver}.tar.gz"
sed -i 's/more EULA/cat EULA/' "${srcdir}/install.sh"
}
package() {
dest_katana="${pkgdir}/opt/${pkgname}${pkgver}"
dest_3delight="${pkgdir}/opt/${pkgname}${pkgver}-3delight"
echo "${dest_katana}"
echo "${dest_3delight}"
#export ACCEPTEULA='yes'
export KATANAPATH="${dest_katana}"
export DELIGHTPATH="${dest_3delight}"
bash install.sh
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |