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
4pkgname=lc3tools
5pkgver=12
6pkgrel=3
7pkgdesc="Unix LC-3 Simulator from McGraw-Hill Higher Education"
8arch=('i686' 'x86_64')
9url="http://highered.mcgraw-hill.com/sites/0072467509/student_view0/"
10license=('LGPL')
11depends=('unzip' 'tk')
12makedepends=()
13provides=("lc3sim=$pkgver")
14replaces=()
15conflicts=()
16options=('!libtool')
17source=("http://highered.mheducation.com/sites/dl/free/0072467509/104652/lc3tools_v$pkgver.zip")
18md5sums=('40bfed95f05b50d5378912f7bbc03164')
19
20build()
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
38package()
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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion