Skip to content

security: harden system.run against env injection and shell-wrapper bypass - #188

Merged
shanselman merged 1 commit into
masterfrom
fix/issue-184-exec-hardening-clean
Apr 20, 2026
Merged

shanselman merged 1 commit into
masterfrom
fix/issue-184-exec-hardening-clean

Conversation

@shanselman

Copy link
Copy Markdown
Collaborator

Summary

Closes #184.

This complements PR #186 by covering the remaining wrapper-bypass portion as well.

Closes #184 by blocking dangerous environment overrides and by re-evaluating nested shell-wrapper payloads and chained commands against the exec approval policy.

This extends the partial env-only approach discussed in PR #186 so the Windows node closes both vectors called out in the issue.

Co-authored-by: Copilot <[email protected]>
@shanselman
shanselman merged commit e772b5e into master Apr 20, 2026
15 checks passed
@vincentkoc
vincentkoc deleted the fix/issue-184-exec-hardening-clean branch August 2, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Security] system.run: env variable injection and shell wrapper approval bypass

1 participant