Skip to content

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

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

security: harden system.run against env injection and shell-wrapper bypass#188
shanselman merged 1 commit intomasterfrom
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 <223556219+Copilot@users.noreply.github.com>
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