gisto

maintainer carolinedroz · 14 votes · scanned 2026-08-03 00:08:14.047287
LOW
broken
View on AUR ↗
Why flagged The PKGBUILD is non-functional: the package() function unconditionally calls 'exit 1', making it impossible to install anything. The source is fetched from the official GitHub repository (github.com/gisto/gisto) with a b2sum checksum. The npm ci in prepare() installs dependencies from the project's own package-lock.json, and npx electron-builder resolves from the locally installed node_modules (not a remote fetch). The --publish=always flag is an electron-builder option for publishing releases, not malicious. No obfuscation, no exfiltration, no payload execution. This is simply an incomplete/abandoned PKGBUILD. The cheaper model's HIGH rating was a false positive; the only real issue is that it's broken and never finished.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this HIGH, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The PKGBUILD is non-functional: the package() function unconditionally calls 'exit 1', making it impossible to install anything. The source is fetched from the official GitHub repository (github.com/gisto/gisto) with a b2sum checksum. The npm ci in prepare() installs dependencies from the project's own package-lock.json, and npx electron-builder resolves from the locally installed node_modules (not a remote fetch). The --publish=always flag is an electron-builder option for publishing releases, not malicious. No obfuscation, no exfiltration, no payload execution. This is simply an incomplete/abandoned PKGBUILD. The cheaper model's HIGH rating was a false positive; the only real issue is that it's broken and never finished.

1 higher static finding superseded - not the current verdict (shown for transparency)
HIGH npx/bunx/deno executes a remote package remote_code_tool

`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell.

  • PKGBUILD:30 npx electron-builder build --linux pacman --x64 --publish=always

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: @RubenKelevra <cyrond@gmail.com>
2# Contributor: Sasha Khamkov <sanusart@gmail.com>
3# Contributor: xgdgsc <xgdgsc at gmail dot com>
4
5pkgname=gisto
6_pkgname_capital=Gisto
7pkgver=1.13.4
8pkgrel=1
9pkgdesc='Gisto is a code snippet manager that runs on GitHub Gists and adds additional features such as searching, tagging and sharing gists while including a rich code editor.'
10arch=('x86_64')
11url="https://github.com/$pkgname/$pkgname"
12license=('MIT')
13builddepends=(npm)
14depends=(c-ares ffmpeg gtk3 http-parser libevent libvpx libxslt libxss minizip nss re2 snappy libnotify)
15install=${pkgname}.install
16
17source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz")
18
19b2sums=('532c4c519eccef3f049db277c569761594a407863b0db340ca2fbe3c35f67100f932beaf60a8db062cce6ca7c6ee44b8cba73e12321f0e14fd8ed435331fe6a0')
20
21prepare() {
22 cd "$_pkgname_capital-$pkgver"
23 npm ci --no-audit --progress=false --cache "$srcdir/npm-cache"
24
25}
26
27build() {
28 cd "$_pkgname_capital-$pkgver"
29 cross-env NODE_ENV=production npm run start:prod
30 npx electron-builder build --linux pacman --x64 --publish=always
31}
32
33
34check() {
35 cd "$_pkgname_capital-$pkgver"
36 npm run test
37}
38
39
40package() {
41 exit 1
42}
43

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