typora-free

maintainer irgendwr · 20 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD installs a prebuilt proprietary Electron/Node.js binary (Typora 0.11.18) sourced from web.archive.org rather than the original vendor host (which is noted as no longer available). While web.archive.org is a reputable archive service and the sha512sum is present and specific, the concern is real: (1) the source is a prebuilt binary blob containing a full Electron runtime plus Node.js modules, not source-compiled code; (2) the original vendor URL is gone, making independent verification harder; (3) web.archive.org snapshots can theoretically be influenced, though in practice Wayback Machine content is stable. The sha512sum does pin the exact file, which significantly mitigates the supply-chain risk. However, the package installs an executed proprietary binary from a non-canonical host with no way to rebuild from source, which is the definition of a medium supply-chain concern. The chmod 4755 on chrome-sandbox (setuid root) is standard Chromium/Electron packaging practice and not itself suspicious. Overall this is a legitimate medium: real concern about binary provenance from a non-official host, partially mitigated by a strong checksum.

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:22 source=("https://web.archive.org/web/20211127121316if_/https://typora.io/linux/$filename")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD installs a prebuilt proprietary Electron/Node.js binary (Typora 0.11.18) sourced from web.archive.org rather than the original vendor host (which is noted as no longer available). While web.archive.org is a reputable archive service and the sha512sum is present and specific, the concern is real: (1) the source is a prebuilt binary blob containing a full Electron runtime plus Node.js modules, not source-compiled code; (2) the original vendor URL is gone, making independent verification harder; (3) web.archive.org snapshots can theoretically be influenced, though in practice Wayback Machine content is stable. The sha512sum does pin the exact file, which significantly mitigates the supply-chain risk. However, the package installs an executed proprietary binary from a non-canonical host with no way to rebuild from source, which is the definition of a medium supply-chain concern. The chmod 4755 on chrome-sandbox (setuid root) is standard Chromium/Electron packaging practice and not itself suspicious. Overall this is a legitimate medium: real concern about binary provenance from a non-official host, partially mitigated by a strong checksum.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jonas Bögle <aur@iwr.sh>
2# Contributor: Jonathan Duck <duckbrain30@gmail.com>
3
4# Consider using https://aur.archlinux.org/packages/typora instead
5
6_pkgname=typora
7pkgname="$_pkgname-free"
8pkgver=0.11.18
9pkgrel=4
10pkgdesc="A minimal markdown editor and reader."
11arch=('x86_64')
12filename="typora_${pkgver}_amd64.deb"
13license=('custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."')
14url="https://typora.io/"
15depends=('gtk3' 'libxss')
16optdepends=(
17 'noto-fonts-emoji: Or some other emoji font to see emojis'
18 'pandoc: Import/export for extra file formats')
19provides=("$_pkgname")
20conflicts=("$_pkgname")
21# The original URL is not available anymore
22source=("https://web.archive.org/web/20211127121316if_/https://typora.io/linux/$filename")
23sha512sums=('8933cb4eab13a37719a3771d14a7a3f5951f6bbce06381ffe37ad5bc3029efed3878723427a4e97b83dbc1d7ccc43b31551b0c336663c843f0e685f8a4e2390e')
24
25package() {
26 bsdtar -xf data.tar.xz -C "$pkgdir/"
27 rm -rf "$pkgdir/usr/share/lintian/"
28 chmod 4755 "$pkgdir/usr/share/typora/chrome-sandbox"
29 # Remove write permission for group/other
30 chmod -R go-w "$pkgdir/usr/share/typora/resources/node_modules"
31 sed -i '/Change Log/d' "$pkgdir/usr/share/applications/typora.desktop"
32 find "$pkgdir" -type d -exec chmod 755 {} \;
33}
34

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