ldraw-parts-library
maintainer mysticx
· 27 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads LDraw CAD data files from the project's official domain (ldraw.org), which is plausibly the project's own source; the files are non-executable data, so even if the host were compromised, the worst case is data tampering, not code execution.
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 package downloads LDraw CAD data files from the project's official domain (ldraw.org), which is plausibly the project's own source; the files are non-executable data, so even if the host were compromised, the worst case is data tampering, not code execution.
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:13
source=("$pkgname-$pkgver.zip::https://library.ldraw.org/library/updates/complete.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Frederik Leonhardt <frederik at leonhardt dot co dot nz>
2
# Contributor: Brian Bidulock <bidulock@openss7.org>
3
# Contributor: Jesse Jaara <jesse.jaara@gmail.com>
4
5
pkgname=ldraw-parts-library
6
pkgver=20250731
7
pkgrel=1
8
pkgdesc="A collection of LDraw-format CAD files representing many of LEGO bricks produced"
9
arch=(any)
10
url="https://library.ldraw.org/updates"
11
license=('CCPL: cc-by-2.0')
12
options=(!strip)
13
source=("$pkgname-$pkgver.zip::https://library.ldraw.org/library/updates/complete.zip"
14
"$pkgname.sh"
15
"license")
16
sha256sums=('6009f2e94204c4d3a63a4c812010b5c90bad8c5acb19b882c859fdac63734eae'
17
'7cbd598861cc678e86ce07da220e97d0f9d27f2b8d0d03b794400b999fd6fc42'
18
'783990d0de8daf6b0e18b1c06578438f7d70e106a1a351686872d8d6eeeba7ac')
19
20
xpkgver() {
21
local version=$(grep -oP '^0 !LDRAW_ORG Configuration UPDATE \K.+$' "$srcdir/ldraw/LDConfig.ldr")
22
echo ${version//[^0-9]/}
23
}
24
25
package() {
26
cd "${srcdir}/ldraw/"
27
28
# Install data
29
mkdir -p "${pkgdir}/usr/share/ldraw"
30
mv LDConfig.ldr "${pkgdir}/usr/share/ldraw/"
31
mv p "${pkgdir}/usr/share/ldraw/"
32
mv parts "${pkgdir}/usr/share/ldraw/"
33
34
# Fix permissions
35
find "${pkgdir}/usr/share/ldraw" -type f -exec chmod 644 {} +
36
find "${pkgdir}/usr/share/ldraw" -type d -exec chmod 755 {} +
37
38
# Install the old version 2.0 CC-by license
39
install -D -m644 ../license "${pkgdir}/usr/share/licenses/${pkgname}/license"
40
41
install -D -m755 ../ldraw-parts-library.sh "${pkgdir}/etc/profile.d/ldraw-parts-library.sh"
42
}
43
Changes since previous scan
--- PKGBUILD @ 2026-07-31 00:14+++ PKGBUILD @ 2026-08-03 00:08@@ -3,7 +3,7 @@ # Contributor: Jesse Jaara <jesse.jaara@gmail.com> pkgname=ldraw-parts-library-pkgver=20250628+pkgver=20250731 pkgrel=1 pkgdesc="A collection of LDraw-format CAD files representing many of LEGO bricks produced" arch=(any)@@ -13,7 +13,7 @@ source=("$pkgname-$pkgver.zip::https://library.ldraw.org/library/updates/complete.zip" "$pkgname.sh" "license")-sha256sums=('01000eacf364464c954a70e8163055f8ebaaa8ae869b88ed330fdc4b28cbabcc'+sha256sums=('6009f2e94204c4d3a63a4c812010b5c90bad8c5acb19b882c859fdac63734eae' '7cbd598861cc678e86ce07da220e97d0f9d27f2b8d0d03b794400b999fd6fc42' '783990d0de8daf6b0e18b1c06578438f7d70e106a1a351686872d8d6eeeba7ac') 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 23:19:22 | MEDIUM | 1 |
| 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 |