write_stylus

maintainer envolution · 21 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The flagged URL points to a non-whitelisted host, but it hosts only a non-executable EULA document; the actual software is built from verifiable upstream Git repositories, and the document's compromise would not lead to code execution or system compromise.

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 flagged URL points to a non-whitelisted host, but it hosts only a non-executable EULA document; the actual software is built from verifiable upstream Git repositories, and the document's compromise would not lead to code execution or system compromise.

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 "http://www.styluslabs.com/write/eula.docx"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: envolution
2# Contributor: Adam Goldsmith <contact@adamgoldsmith.name>
3# Contributor: Janosch Dobler <janosch.dobler [at} gmx [dot} de>
4# shellcheck shell=bash disable=SC2034,SC2154
5
6pkgname=write_stylus
7pkgver=jul.2025
8pkgrel=1
9pkgdesc="Write(orignal name) - A word processor for handwriting"
10arch=(i686 x86_64)
11url="http://www.styluslabs.com/"
12license=('AGPL-3.0-only')
13depends=(sdl2 pugixml libxi)
14makedepends=(git)
15source=(
16 "${pkgname}::git+https://github.com/styluslabs/Write.git#tag=${pkgver//./-}"
17 "http://www.styluslabs.com/write/eula.docx"
18 git+https://github.com/styluslabs/nanovgXC.git
19 git+https://github.com/styluslabs/ulib.git
20 git+https://github.com/styluslabs/usvg.git
21 git+https://github.com/styluslabs/ugui.git)
22sha256sums=('f0749381323ba2794a22a227c10689a58d213a8b7da76232a03928cdfc1b8be4'
23 '637c47c1843860a16f1ca87e2df5d72b4396ff23cefacf6244de95cdac23de6e'
24 'SKIP'
25 'SKIP'
26 'SKIP'
27 'SKIP')
28noextract=("eula.docx")
29
30prepare() {
31 git -C "${pkgname}" submodule init
32 git -C "${pkgname}" config --local submodule.deps/nanovgXC.url "${srcdir}/nanovgXC"
33 git -C "${pkgname}" config --local submodule.deps/ulib.url "${srcdir}/ulib"
34 git -C "${pkgname}" config --local submodule.deps/usvg.url "${srcdir}/usvg"
35 git -C "${pkgname}" config --local submodule.deps/ugui.url "${srcdir}/ugui"
36 git -C "${pkgname}" -c protocol.file.allow='always' submodule update
37
38 sed -i '/^#pragma once/a #include <cstdint>' write_stylus/usvg/svgnode.h
39 sed -i 's#^Exec=.*#Exec=/usr/bin/write_stylus#' write_stylus/scribbleres/linux/Write.desktop
40 sed -i 's#^Icon=.*#Icon=write_stylus#' write_stylus/scribbleres/linux/Write.desktop
41 sed -i '/#ifndef NDEBUG/,/#endif/s/#define SCRIBBLE_TEST 1/#undef SCRIBBLE_TEST/' write_stylus/syncscribble/basics.h
42}
43build() {
44 cd $pkgname/syncscribble
45 DEBUG=0 make \
46 CFLAGS+="$(pkg-config --cflags sdl2) -DPUGIXML_NO_XPATH -DPUGIXML_NO_EXCEPTIONS -I/usr/include -Wno-error -Wno-format-security -DNDEBUG" \
47 CXXFLAGS+="$(pkg-config --cflags sdl2) -DPUGIXML_NO_XPATH -DPUGIXML_NO_EXCEPTIONS -I/usr/include -Wno-error -Wno-format-security -DNDEBUG" \
48 LDFLAGS+="$(pkg-config --libs sdl2)" \
49 USE_SYSTEM_SDL=1
50}
51package() {
52 install -dm755 "$pkgdir/usr/share/$pkgname"
53 install -Dm755 "$pkgname/syncscribble/Release/Write" "$pkgdir/usr/share/$pkgname/Write"
54 install -Dm644 "$pkgname/scribbleres/fonts/"{DroidSansFallback.ttf,Roboto-Regular.ttf} "$pkgdir/usr/share/$pkgname/"
55 install -Dm644 "$pkgname/scribbleres/Intro.svg" "$pkgdir/usr/share/$pkgname/"
56
57 install -dm755 "$pkgdir/usr/bin/"
58 ln -s /usr/share/$pkgname/Write "$pkgdir/usr/bin/write_stylus"
59
60 install -Dm644 "eula.docx" "$pkgdir/usr/share/licenses/$pkgname/eula.docx"
61
62 install -Dm644 "$pkgname/scribbleres/linux/Write.desktop" "$pkgdir/usr/share/applications/Write.desktop"
63 install -Dm644 "$pkgname/scribbleres/linux/Write144x144.png" "$pkgdir/usr/share/pixmaps/write_stylus.png"
64}
65
66# vim:set ts=2 sw=2 et:
67

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