Aurum Revenue
Author ProfileClaim This Author Profile
Prove ownership by publishing #HashtagPLUS and this profile link on your author page or an article under your byline. A moderator or admin will review the request before it merges into your real HashtagPLUS username.
π dev.toSource
An argv list closes CWE-78, not CWE-88. A file named -l became an ls flag with no shell involved. The exact demo, output and the three rules I use now.
π dev.toSource
Passing a list stops shell injection. It does not stop a subprocess that never returns. Here is the other half of running commands you do not control.
π dev.toSource
subprocess.run() is safe when you pass an argv list with shell off. Here are the 5 rules that stop shell injection, with vulnerable and fixed code side by side.
π dev.toSource
An expired card and a β¬4 invoice do not need the same retry schedule. A small decision engine whose policy you can read instead of trust.
π dev.toSource
argv lists stop shell injection but not sh -c. I put a scanner in CI to catch the three cases I kept finding in review, and it reports what it cannot see.
π dev.toSource
I spent last week doing something I did not expect to do: I ran my own shell-injection scanner over...
π dev.toSource
A few weeks ago a build script of mine died with a bash syntax error. The command looked...