[PR #18] [CLOSED] fix: Prevent RCE in mkcomp/mkhero via command injection #26

Closed
opened 2025-12-30 01:29:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sayyadirfanali/Myna/pull/18
Author: @ZUENS2020
Created: 11/17/2025
Status: Closed

Base: mainHead: claude-fix-rce-perl-scripts


📝 Commits (1)

  • fd0cccf fix: Escape ARGV in mkcomp/mkhero to prevent command injection RCE

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 mkcomp (+2 -2)
📝 mkhero (+2 -2)

📄 Description

Summary

Added quotemeta() escaping to $ARGV[0/1] in Perl scripts.

Test plan

  • PoC blocked
  • Normal runs work
  • Syntax OK

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sayyadirfanali/Myna/pull/18 **Author:** [@ZUENS2020](https://github.com/ZUENS2020) **Created:** 11/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `claude-fix-rce-perl-scripts` --- ### 📝 Commits (1) - [`fd0cccf`](https://github.com/sayyadirfanali/Myna/commit/fd0cccf55862ec6df6dfe9d16695a257d37dd70f) fix: Escape ARGV in mkcomp/mkhero to prevent command injection RCE ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `mkcomp` (+2 -2) 📝 `mkhero` (+2 -2) </details> ### 📄 Description ## Summary Added `quotemeta()` escaping to `$ARGV[0/1]` in Perl scripts. ## Test plan - PoC blocked - Normal runs work - Syntax OK 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:29:17 +01:00
adam closed this issue 2025-12-30 01:29:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Myna#26