phratch
Triggered rules
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=('Phratch.zip::http://phratch.com/download/Phratch4.1-linux.zip' 'phratch.desktop')
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 archive (Phratch4.1-linux.zip) from phratch.com, which is the official project website for Phratch. The archive is unpacked and a binary ('phratch') is symlinked into /usr/bin, meaning the downloaded content is directly executed. There is a fixed md5sum checksum, which provides some integrity guarantee but MD5 is cryptographically weak. The host (phratch.com) is the upstream vendor's own domain, not a random personal host, which reduces but does not eliminate supply-chain risk. There are also minor issues: a duplicate 'source=' line (the first one referencing a local file that doesn't exist), and use of MD5 rather than SHA256. Overall this is a real medium-severity concern: a prebuilt executable from a small, unofficial project host with only MD5 verification, but not clearly malicious.
PKGBUILD
1 offending line(s) highlighted# Contributor: Erick Pires <rckkas@gmail.com>
# Contributor: Laurent Laffont <laurent.laffont@gmail.com>
pkgname=phratch
pkgver=4.1
pkgrel=1
pkgdesc="Phratch is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art — and share your creations on the web. Port of Scratch on Pharo."
arch=(i686 x86_64)
source=($pkgname-$pkgver.tar.gz)
url="http://www.phratch.com"
license=('MIT')
makedepends=('gendesk')
depends=('pharo-vm')
source=('Phratch.zip::http://phratch.com/download/Phratch4.1-linux.zip' 'phratch.desktop')
md5sums=('aec0d828e291ebbe0a225d5b12576c80' '97c22472ed23597881c547a67c8eee95')
prepare() {
gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
}
package() {
cd $srcdir/
mkdir -p $pkgdir/usr/share/phratch/
unzip Phratch.zip -d $pkgdir/usr/share/phratch/
mkdir -p $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/share/pixmaps/
chgrp users $pkgdir/usr/share/phratch/Phratch/shared/Pharo4.0.changes
chmod 775 $pkgdir/usr/share/phratch/Phratch/shared/Pharo4.0.changes
ln -s /usr/share/phratch/Phratch/phratch $pkgdir/usr/bin/phratch
cp $pkgdir/usr/share/phratch/Phratch/icons/Pharo.png $pkgdir/usr/share/pixmaps/$pkgname.png
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |