pencil-dev-bin

maintainer v1cferr · 3 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD downloads a prebuilt binary tarball (an Electron application) directly from pencil.dev — the official vendor domain for this product. The sha256sum is pinned, which mitigates casual tampering, but the tarball is a prebuilt executable bundle (Electron/Chromium-based) installed to /opt and run directly. The supply-chain risk is real but typical for -bin AUR packages: if the vendor's download URL were compromised or the domain hijacked, users would execute arbitrary code. The URL is the official vendor site (not a personal/random host), the checksum is present, and the pattern is standard for proprietary Electron app packaging in the AUR. This is a genuine medium-severity supply-chain concern (prebuilt binary from a third-party host with no reproducibility), but not an active attack or clearly malicious pattern.

Triggered rules

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=("${pkgname}-${pkgver}.tar.gz::https://www.pencil.dev/download/Pencil-linux-x64.tar.gz"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD downloads a prebuilt binary tarball (an Electron application) directly from pencil.dev — the official vendor domain for this product. The sha256sum is pinned, which mitigates casual tampering, but the tarball is a prebuilt executable bundle (Electron/Chromium-based) installed to /opt and run directly. The supply-chain risk is real but typical for -bin AUR packages: if the vendor's download URL were compromised or the domain hijacked, users would execute arbitrary code. The URL is the official vendor site (not a personal/random host), the checksum is present, and the pattern is standard for proprietary Electron app packaging in the AUR. This is a genuine medium-severity supply-chain concern (prebuilt binary from a third-party host with no reproducibility), but not an active attack or clearly malicious pattern.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Victor Ferreira
2
3pkgname=pencil-dev-bin
4pkgver=1.1.56
5pkgrel=1
6pkgdesc="Design on canvas. Land in code. Increases engineering speed by bringing designing directly into your IDE."
7arch=('x86_64')
8url="https://pencil.dev"
9license=('custom')
10provides=('pencil-dev')
11conflicts=('pencil-dev')
12options=('!strip' '!debug')
13depends=('alsa-lib' 'at-spi2-core' 'cairo' 'dbus' 'expat' 'glib2' 'libcups' 'libdrm' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxkbcommon' 'libxrandr' 'mesa' 'nspr' 'nss' 'pango')
14source=("${pkgname}-${pkgver}.tar.gz::https://www.pencil.dev/download/Pencil-linux-x64.tar.gz"
15 "pencil-dev.desktop"
16 "pencil.png")
17sha256sums=('219933964e4e0d0487f43acef90b5e897cdc3dcbf97b75e4b8258ea7c2f49afc'
18 '73fda772f0429d82e5168ff8de68bfb9ed72ace660758354697f816ba0666a5f'
19 '131ee5d9793ddaca67577727532493fb451a02e0903fc804b93d2142de16b331')
20
21package() {
22 cd "${srcdir}/Pencil-${pkgver}-linux-x64"
23
24 install -d "${pkgdir}/opt/${pkgname}"
25 cp -r * "${pkgdir}/opt/${pkgname}/"
26
27 # Set permissions for chrome-sandbox
28 chmod 4755 "${pkgdir}/opt/${pkgname}/chrome-sandbox"
29
30 # Create binary symlink
31 install -d "${pkgdir}/usr/bin"
32 ln -s "/opt/${pkgname}/pencil" "${pkgdir}/usr/bin/pencil-dev"
33
34 # Install desktop entry
35 install -Dm644 "${srcdir}/pencil-dev.desktop" "${pkgdir}/usr/share/applications/pencil-dev.desktop"
36
37 # Install application icon
38 install -Dm644 "${srcdir}/pencil.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/pencil.png"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion