mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #2017] Malware scanner flagging shell_exec calls #864
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#864
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mark-c-woodard on GitHub (Jan 9, 2026).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/2017
Monolog version 2.11.0
Hello,
I saw that you added some shell_exec commands as part of the 2.11.0 release, this commit specifically
github.com/Seldaek/monolog@e01926b069I didn't see the commit related to any particular issue so I wanted to ask if those calls were necessary and potentially ask if you could replace them.
I got a bug report from one of my users saying that the calls are being flagged by a malware scanner.
https://wordpress.org/support/topic/version-3-5-30-has-calls-to-shell_exec/
Thank you,
Mark
@stof commented on GitHub (Jan 9, 2026):
The backtick notation in PHP was already doing shell exec (with a notation that is now deprecated in PHP).
If the malware scanner tools rejects one of them but not the other one, it is a bad tool anyway.
@mark-c-woodard commented on GitHub (Jan 9, 2026):
aha, thanks for the explanation. I should have realized that myself.