yaffs2utils
maintainer tinytangent
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a non-whitelisted host (Google Code Archive), but it is the project's official release and contains only buildable source code; the worst case of a swapped source is limited to supply-chain risk in the build, which is mitigated by the provided checksum.
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 source is a tarball from a non-whitelisted host (Google Code Archive), but it is the project's official release and contains only buildable source code; the worst case of a swapped source is limited to supply-chain risk in the build, which is mitigated by the provided checksum.
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:15
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgver.tar.gz)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Tan Si Nan <tansinan_1995@163.com>
2
# Modified from the PKGBUILD from yaffs2utils-svn
3
4
pkgname=yaffs2utils
5
pkgver=0.2.9
6
pkgrel=1
7
pkgdesc="A collection of utilities to make/extract a YAFFS2/YAFFS1 image for Linux."
8
arch=(i686 x86_64)
9
url=http://code.google.com/p/yaffs2utils
10
license=('GPL2')
11
makedepends=('gcc')
12
depends=('glibc')
13
options=('strip')
14
conflicts=('yaffs2utils-latest' 'yaffs2utils-svn')
15
source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgver.tar.gz)
16
sha512sums=('001a2452515f750bdb2251feebfe20c4f1b716b3c850e13646ee054f8e607c18ecfc2781a2f3e1f288b8b32661b11fec8a87e88d8bd4a44c98cad4dbbffd489b')
17
18
build() {
19
cd $pkgver
20
touch configs.h
21
sed -i 's/\($(CC) \)$(LDFLAGS)\(.*\)$/\1\2 $(LDFLAGS)/g' Makefile
22
make
23
}
24
25
package() {
26
mkdir -p $pkgdir/usr/bin/
27
install -m 0755 $srcdir/$pkgver/mkyaffs2 \
28
$srcdir/$pkgver/unyaffs2 $pkgdir/usr/bin/
29
}
30
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 |