lc3tools
maintainer blinxwang
· 8 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a prebuilt tool from the official educational publisher's domain, used for building the package;虽主机不在白名单但属项目官方来源,且无代码执行或数据外泄风险。
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 prebuilt tool from the official educational publisher's domain, used for building the package;虽主机不在白名单但属项目官方来源,且无代码执行或数据外泄风险。
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:17
source=("http://highered.mheducation.com/sites/dl/free/0072467509/104652/lc3tools_v$pkgver.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Original Maintainer: Adam Eberlin <ae at intellitech dot org>
2
# Current Maintainer: Leopold Bloom <blinxwang at gmail dot com>
3
4
pkgname=lc3tools
5
pkgver=12
6
pkgrel=3
7
pkgdesc="Unix LC-3 Simulator from McGraw-Hill Higher Education"
8
arch=('i686' 'x86_64')
9
url="http://highered.mcgraw-hill.com/sites/0072467509/student_view0/"
10
license=('LGPL')
11
depends=('unzip' 'tk')
12
makedepends=()
13
provides=("lc3sim=$pkgver")
14
replaces=()
15
conflicts=()
16
options=('!libtool')
17
source=("http://highered.mheducation.com/sites/dl/free/0072467509/104652/lc3tools_v$pkgver.zip")
18
md5sums=('40bfed95f05b50d5378912f7bbc03164')
19
20
build()
21
{
22
cd ${srcdir}/lc3tools
23
24
msg "Building lc3tools..."
25
26
./configure --installdir /usr/lib/lc3tools --prefix=/usr || return 1
27
make || return 1
28
29
msg "Fixing a few path issues..."
30
31
cp ${srcdir}/lc3tools/lc3sim-tk ${srcdir}/lc3tools/lc3sim-tk.bak
32
33
sed "s;`echo ${srcdir}/lc3tools/lc3sim | sed 's/\//\\//g'`;`echo /usr/bin/lc3sim | sed 's/\//\\//g'`;g" ${srcdir}/lc3tools/lc3sim-tk.bak > ${srcdir}/lc3tools/lc3sim-tk
34
35
msg "Done."
36
}
37
38
package()
39
{
40
install -m644 -D ${srcdir}/lc3tools/CHANGE_LOG ${pkgdir}/usr/share/lc3tools/CHANGE_LOG
41
install -m644 -D ${srcdir}/lc3tools/COPYING ${pkgdir}/usr/share/licenses/lc3tools/COPYING
42
install -m644 -D ${srcdir}/lc3tools/NO_WARRANTY ${pkgdir}/usr/share/licenses/lc3tools/NO_WARRANTY
43
install -m644 -D ${srcdir}/lc3tools/README ${pkgdir}/usr/share/lc3tools/README
44
install -m755 -D ${srcdir}/lc3tools/lc3as ${pkgdir}/usr/bin/lc3as
45
install -m755 -D ${srcdir}/lc3tools/lc3convert ${pkgdir}/usr/bin/lc3convert
46
install -m755 -D ${srcdir}/lc3tools/lc3sim ${pkgdir}/usr/bin/lc3sim
47
install -m755 -D ${srcdir}/lc3tools/lc3sim-tk ${pkgdir}/usr/bin/lc3sim-tk
48
mkdir -p ${pkgdir}/usr/lib/lc3tools
49
install -m755 -D ${srcdir}/lc3tools/lc3os.obj ${pkgdir}/usr/lib/lc3tools/lc3os.obj
50
install -m755 -D ${srcdir}/lc3tools/lc3os.sym ${pkgdir}/usr/lib/lc3tools/lc3os.sym
51
cd ${pkgdir}/usr/lib/lc3tools
52
ln -s ../../bin/lc3sim ./lc3sim
53
}
54
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 |