Skip to content

[Mirror PR #3281] sec: Prevent Arbitrary Command Injection in Terminal Execution Helpers (#3202) - #31

Open
tmdeveloper007 wants to merge 1 commit into
mainfrom
mirror/3281-3202-sec-prevent-arbitrary-command-injection
Open

[Mirror PR #3281] sec: Prevent Arbitrary Command Injection in Terminal Execution Helpers (#3202)#31
tmdeveloper007 wants to merge 1 commit into
mainfrom
mirror/3281-3202-sec-prevent-arbitrary-command-injection

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

Upstream PR Karanjot786#3281: sec: Prevent Arbitrary Command Injection in Terminal Execution Helpers (Karanjot786#3202)

Original PR by @knoxiboy on Karanjot786/TermUI#3281

Description

This PR hardens command execution helpers (execFileAsync in @termuijs/data and useSubprocess in @termuijs/jsx) against command injection, null-byte injection, and dangerous shell execution.

Related Issue

Closes Karanjot786#3202

Which package(s)?

@termuijs/data, @termuijs/jsx

Type of Change

  • 🐛 Bug fix ( ype:bug)
  • ✨ Feature ( ype:feature)
  • 📝 Docs ( ype:docs)
  • 🧪 Tests ( ype:testing)
  • ♻️ Refactor ( ype:refactor)
  • 🎨 Design / UX ( ype:design)
  • ♿ A

Mirrored to fork by Mavis TermUI Bot. This PR cannot be submitted upstream as tmdeveloper007 has no write access to Karanjot786/TermUI.

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]: Prevent Arbitrary Command Injection in Terminal Execution Helpers

2 participants