save_my_code
maintainer Dalan
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a project-associated domain, used to build the project's own code; the non-whitelisted host is plausibly official, and building from source is standard AUR practice.
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 tarball from a project-associated domain, used to build the project's own code; the non-whitelisted host is plausibly official, and building from source is standard AUR practice.
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:13
source=("https://binaries.dalan.fr/smc/smc-v$pkgver-src.tar.zst")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Rémi BERTHO <remi.bertho at dalan dot fr>
2
3
pkgname=save_my_code
4
pkgver=2.0.0
5
pkgrel=1
6
pkgdesc="smc - Utility to save code and other files"
7
arch=('x86_64')
8
url="https://codeberg.org/dalan/smc"
9
license=('MIT')
10
depends=('glibc' 'gcc-libs')
11
makedepends=('cargo')
12
options=(!lto)
13
source=("https://binaries.dalan.fr/smc/smc-v$pkgver-src.tar.zst")
14
sha512sums=('5687234733608c3fd3fb5082534f63478016dfe100c717fa8d0480db5883e3a59e2e7c5f954e5dafeadd5e29ac0b69f20bb5682f01355c1dcf9ff946197ae6ea')
15
16
build() {
17
cd "smc-v$pkgver-src"
18
cargo build --release --locked --target-dir=target
19
}
20
21
package() {
22
cd "smc-v$pkgver-src"
23
install -Dm 755 "target/release/smc" -t "$pkgdir/usr/bin/"
24
install -Dm 644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname/"
25
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
26
}
27
28
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |