Build 2 success
gitbay-security on main · d3d7a60402 · queued 2026-11-01 04:00 UTC · finished 2026-11-01 04:14 UTC · ran 1m24s
setup
$ git clone ssh://git@127.0.0.1/audit-labs/evidence-seal.git (d3d7a60402)
step 1/2 mkdir -p "$GITBAY_RESULTS"
step 2/2 opengrep scan --quiet --disable-version-check --config /opt/opengrep-rules --sarif-output="$GITBAY_RESULTS/opengrep.sarif" .
┌──────────────────┐
│ 13 Code Findings │
└──────────────────┘
evidence_seal/timestamp.py
❯❱ opt.opengrep-rules.python.lang.security.audit.dynamic-urllib-use-detected
Detected a dynamic value being used with urllib. urllib supports 'file://' schemes, so a dynamic
value controlled by a malicious actor may allow them to read arbitrary files. Audit uses of urllib
calls to ensure user data cannot control the URLs, or consider using the 'requests' library instead.
85┆ with urllib.request.urlopen(req, timeout=timeout) as response:
scripts/e2e.sh
❱ opt.opengrep-rules.bash.lang.correctness.unquoted-variable-expansion-in-command
Variable expansions must be double-quoted so as to prevent being split into multiple pieces
according to whitespace or whichever separator is specified by the IFS variable. If you really wish
to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X
instead of $X, and semgrep will ignore it. If what you need is an array, consider using a proper
bash array.
85┆ printf 'v1\n' > "$W/pkg/state.csv"; $ES seal "$W/pkg" --out "$W/chain/jan.json" >/dev/null
2>&1
⋮┆----------------------------------------
86┆ printf 'v2\n' > "$W/pkg/state.csv"; $ES seal "$W/pkg" --out "$W/chain/feb.json" --prev
"$W/chain/jan.json" >/dev/null 2>&1
⋮┆----------------------------------------
87┆ printf 'v3\n' > "$W/pkg/state.csv"; $ES seal "$W/pkg" --out "$W/chain/mar.json" --prev
"$W/chain/feb.json" >/dev/null 2>&1
⋮┆----------------------------------------
105┆ $ES keygen --private "$W/other.key" --public "$W/other.pub" >/dev/null 2>&1
⋮┆----------------------------------------
113┆ $TSA "$MID" "$W/tsa_ok" >/dev/null 2>&1
⋮┆----------------------------------------
121┆ $TSA "$MID" "$W/tsa_wrong" >/dev/null 2>&1
⋮┆----------------------------------------
125┆ $TSA "$MID" "$W/tsa_noeku" --no-eku >/dev/null 2>&1
⋮┆----------------------------------------
126┆ $ES timestamp apply "$W/signed.json" --token "$W/tsa_noeku/resp.tsr" --out
"$W/stamped_noeku.json" >/dev/null 2>&1
⋮┆----------------------------------------
130┆ $ES seal "$W/pkg" --out "$W/full.json" --sign "$W/acme.key" --meta engagement=ACME-2026
>/dev/null 2>&1
⋮┆----------------------------------------
132┆ $TSA "$FID" "$W/tsa_full" >/dev/null 2>&1
⋮┆----------------------------------------
133┆ $ES timestamp apply "$W/full.json" --token "$W/tsa_full/resp.tsr" >/dev/null 2>&1
⋮┆----------------------------------------
141┆ exit $fail
results uploaded