scsi2sd-v6-git
maintainer ckoba
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a git repository on the project's own domain and installs firmware files as data; while checksums are skipped and the host is non-standard, the firmware is not executed on the build system and the source is plausibly official, limiting risk to data tampering rather than 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from a git repository on the project's own domain and installs firmware files as data; while checksums are skipped and the host is non-standard, the firmware is not executed on the build system and the source is plausibly official, limiting risk to data tampering rather than 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:14
source=('git://www.codesrc.com/git/SCSI2SD-V6'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Christopher KOBAYASHI <software+aur@disavowed.jp>
2
# Packager: Christopher KOBAYASHI <software+aur@disavowed.jp>
3
4
pkgname=scsi2sd-v6-git
5
_gitname=SCSI2SD-V6
6
pkgver=r279.bd80a3d2
7
pkgrel=1
8
pkgdesc="Utilities for SCSI2SD (v6 hardware)"
9
url="http://www.codesrc.com/mediawiki/index.php?title=SCSI2SD"
10
arch=('x86_64' 'aarch64')
11
license=('MIT')
12
makedepends=('git')
13
depends=('wxgtk3' 'hidapi' 'zlib' 'expat' 'dfu-util' 'webkit2gtk')
14
source=('git://www.codesrc.com/git/SCSI2SD-V6'
15
'SCSI2SD-V6.diff'
16
'https://www.codesrc.com/files/scsi2sd-v6/latest/firmware.V6.2020.dfu'
17
'https://www.codesrc.com/files/scsi2sd-v6/latest/firmware.V6.2021-FS.dfu'
18
'https://www.codesrc.com/files/scsi2sd-v6/latest/firmware.V6.2021.dfu'
19
'https://www.codesrc.com/files/scsi2sd-v6/latest/firmware.V6.revF.dfu'
20
)
21
sha256sums=( 'SKIP'
22
'SKIP'
23
'SKIP'
24
'SKIP'
25
'SKIP'
26
'SKIP'
27
)
28
29
pkgver() {
30
cd "$_gitname"
31
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
32
}
33
34
prepare() {
35
cd "$_gitname"
36
local i; for i in "${source[@]}"; do
37
case $i in
38
*.diff)
39
msg2 "Applying patch ${i}"
40
patch -p1 -i "${srcdir}/${i}"
41
esac
42
done
43
}
44
45
build() {
46
# (cd "$_gitname/src/scsi2sd-util6/dfu-util"; ./autogen.sh )
47
cd "$_gitname/src/scsi2sd-util6"
48
make USE_SYSTEM=Yes "${PWD}"/build/linux/scsi2sd-util6 "${PWD}"/build/linux/scsi2sd-test
49
}
50
51
package() {
52
cd "$_gitname/src/scsi2sd-util6"
53
make install DESTDIR="${pkgdir}"
54
for i in "${srcdir}"/*.dfu; do
55
install -D -m 644 "${i}" "${pkgdir}/usr/share/scsi2sd-v6/$(basename ${i})"
56
done
57
}
58
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 |