Skip to content

shell vulnerabilities fixed#33

Open
kbhujbal wants to merge 1 commit into
mit-aera:masterfrom
kbhujbal:shell_vulnerabilities
Open

shell vulnerabilities fixed#33
kbhujbal wants to merge 1 commit into
mit-aera:masterfrom
kbhujbal:shell_vulnerabilities

Conversation

@kbhujbal

@kbhujbal kbhujbal commented Dec 2, 2025

Copy link
Copy Markdown
  1. Replaced subprocess.Popen("mkdir -p "+output_folder, shell=True) with Path(output_folder).mkdir(parents=True, exist_ok=True)
    This fixes a shell injection risk where malicious folder names could run arbitrary commands

  2. Fixed main() function - it was trying to unpack 1 value into 4 variables, now it loops through folders correctly

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.

1 participant