aarondfrancis / solo

A Laravel package to run multiple commands at once, to aid in local development.
MIT License
524 stars 24 forks source link

Security Risk pcntl Package Allows Code Execution in Production #26

Closed Raza9798 closed 2 weeks ago

Raza9798 commented 2 weeks ago

Vulnerability and Risk of Code Execution in Production

The pcntl package (Process Control Functions) provides functionality for creating and managing processes, and can execute arbitrary code. This poses a significant risk when deployed in production environments, as it can be exploited to execute malicious code, potentially compromising the server.

I noticed it can impact on following factors:

tnorthcutt commented 2 weeks ago

The install instructions clearly indicate this should be used as a dev dependency:

composer require aaronfrancis/solo --dev

Please close this issue.

aarondfrancis commented 2 weeks ago

Travis is correct, this is a dev dependency.

Also, Laravel itself suggests ext-pcntl.