python-ibapi
LOW
maintainer a.kudelin
1 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The source is a versioned zip from the official Interactive Brokers GitHub Pages domain, hosting the project's own release;虽非标准主机但属项目官方发布渠道,且内容为源码构建,无远程代码执行或供应链劫持风险。
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 versioned zip from the official Interactive Brokers GitHub Pages domain, hosting the project's own release;虽非标准主机但属项目官方发布渠道,且内容为源码构建,无远程代码执行或供应链劫持风险。
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:14
source=(https://interactivebrokers.github.io/downloads/twsapi_macunix.${pkgver/./}.zip
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Anton Kudelin <kudelin at proton dot me>
2
3
_pyname=ibapi
4
pkgname=python-$_pyname
5
pkgver=10.47.01
6
pkgrel=1
7
pkgdesc="Python IB API"
8
arch=(any)
9
url="https://interactivebrokers.github.io/tws-api"
10
license=(custom)
11
depends=(python python-protobuf)
12
makedepends=(python-build python-installer python-setuptools python-wheel)
13
checkdepends=(python-pytest)
14
source=(https://interactivebrokers.github.io/downloads/twsapi_macunix.${pkgver/./}.zip
15
LICENSE)
16
sha256sums=('832bf9c8fbcd2d95dc278d42dd51be8dc64aae67d4c11c5f2ff0297d9ee087e3'
17
'c60f3a3fe9a6799a346fe9519b2448334d99a6f0ff3db5c9969493be75941c5d')
18
19
build() {
20
cd "$srcdir/IBJts/source/pythonclient"
21
python -m build \
22
--wheel \
23
--no-isolation \
24
--skip-dependency-check
25
}
26
27
check() {
28
cd "$srcdir/IBJts/source/pythonclient"
29
30
python -m venv --system-site-packages test-env
31
test-env/bin/python -m installer dist/*.whl
32
33
rm -r $_pyname
34
35
test-env/bin/python -m pytest -v
36
}
37
38
package() {
39
cd "$srcdir/IBJts/source/pythonclient"
40
python -m installer \
41
--destdir="$pkgdir" \
42
--compile-bytecode=2 \
43
dist/*.whl
44
45
install -Dm755 "$srcdir/LICENSE" \
46
-t "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47
}
48
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |