CI: semgrep in the scan job
CI / Lint (eslint) (push) Successful in 17s
CI / Test (jest) (push) Successful in 17s
CI / Security (npm audit) (push) Successful in 9s
CI / Integration (api) (push) Successful in 2m49s
CI / Lint (eslint) (pull_request) Successful in 16s
CI / Test (jest) (pull_request) Successful in 15s
CI / UI (playwright) (push) Successful in 3m4s
CI / Security (npm audit) (pull_request) Successful in 9s
CI / Integration (api) (pull_request) Successful in 1m59s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m27s
CI / UI (playwright) (pull_request) Successful in 1m54s
CI / Deploy (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / Scan (secrets, workflows, shell) (push) Successful in 1m28s
CI / Deploy (push) Skipped
CI / Notify (push) Skipped
CI / Lint (eslint) (push) Successful in 17s
CI / Test (jest) (push) Successful in 17s
CI / Security (npm audit) (push) Successful in 9s
CI / Integration (api) (push) Successful in 2m49s
CI / Lint (eslint) (pull_request) Successful in 16s
CI / Test (jest) (pull_request) Successful in 15s
CI / UI (playwright) (push) Successful in 3m4s
CI / Security (npm audit) (pull_request) Successful in 9s
CI / Integration (api) (pull_request) Successful in 1m59s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m27s
CI / UI (playwright) (pull_request) Successful in 1m54s
CI / Deploy (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / Scan (secrets, workflows, shell) (push) Successful in 1m28s
CI / Deploy (push) Skipped
CI / Notify (push) Skipped
JavaScript, Node.js, Express, secrets and security-audit rule packs, with --error so findings fail the check. Dry run on main: no findings from the first four packs; security-audit flagged one false positive (the demo seed script's urlopen of a fixed loopback URL), suppressed on that line with the reason. Part of #45 phase 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1474b0aa3f
commit
d96b2ad4cf
3 files changed
+13
-2
No files matched your search
@@ -18,7 +18,8 @@ def call(method, path, body=None):
|
||||
B + path, method=method, headers=H, data=json.dumps(body).encode() if body is not None else None
|
||||
)
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=30) as r:
|
||||
# B is a fixed loopback demo URL, never user input.
|
||||
with urllib.request.urlopen(req, timeout=30) as r: # nosemgrep: python.lang.security.audit.dynamic-urllib-use-detected.dynamic-urllib-use-detected
|
||||
return json.loads(r.read() or b"{}")
|
||||
except urllib.error.HTTPError as e:
|
||||
return {"error": e.code, "body": e.read().decode()[:200]}
|
||||
|
||||
Reference in new issue
Block a user