Skip to content

Python: high_risk_execution counts subprocess.check_output/check_call (Closes #8865) - #8902

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/8865-20261121T1425Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/8865-20261121T1425Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #8865

What changed

Python high_risk_execution (the state_danger family) listed only subprocess.(call|Popen|run). It now also counts check_call, check_output, getoutput and getstatusoutput. Test: tests/extraction/languages/test_python_strict.py (each spawner, negatives for bare or look-alike names, and the global repro).

Class / Sibling gaps

Class: Python subprocess entry points that spawn a process but were missing from high_risk_execution. All four members are fixed here, each with a test. embedded_python has no subprocess clause, so there is no twin to update.
Sibling gaps:

Evidence

🤖 Generated with Claude Code

…/getoutput/getstatusoutput (Closes #8865)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

2 similar comments
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (f48b38a) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Nov 21, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 557db06 into main Nov 21, 2026
145 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8865-20261121T1425Z branch November 21, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: state_danger misses subprocess.check_output; arch_globals misses global statements

1 participant