feat: update list of unix commands#4446
Conversation
|
📊 Quantitative test results for language: |
|
Hmm.. thanks quantitative tests! I see that we are way up now on false positives. Can we double check why? Probably because of using just |
|
Large of false positives in PL1 that huge, because PL1 is the first level if fps here that will impact users experience. |
That looks to be where a good bulk of the false positives are coming from, I think we're hitting up against #4356 since just I can try to fight false positives a bit more, but imo I don't think this will mean a huge increase in real-world false positives. |
|
Added this to the next chat agenda so we can discuss the FPs increase. |
|
@EsadCetiner Let's try to work together on this one. Can you do a couple of tests to see what is increasing the FP rate? I think we could even do separate PRs to try to tackle this better. I think the english workds So maybe don't close this one, but start with one for each problem. Then we can move on. Wdyt? |
|
@fzipi Most of the false positives were coming from |
|
This is a very good outcome then, in my opinion. Let me run the full quantitative analysis and we are good to go! 💪 |
📊 New Results
{
"count": 10000,
"falsePositives": 84,
"falsePositivesPerRule": {
"932230": 28,
"932235": 24,
"932250": 28,
"933160": 1,
"942100": 1,
"942230": 1,
"942360": 1
},
"skipped": 0,
"totalTimeSeconds": 8.133940812
}
📊 Old Results
{
"count": 10000,
"falsePositives": 84,
"falsePositivesPerRule": {
"932230": 28,
"932235": 24,
"932250": 28,
"933160": 1,
"942100": 1,
"942230": 1,
"942360": 1
},
"skipped": 0,
"totalTimeSeconds": 7.829370213
} |
|
Problem of WAFs that like in that case an attacker can brute forces aliases and bypass them completly because number of aliases infinite, Command Injection in websites should not exist today to fix it just use subprocess.run that it and std::process:Command in rust, Why peoples not do that still they use os.system and other stuff like that. |
|
Ugh, now this is in conflict. @EsadCetiner Can you fix the conflicts, so I can approve again? I dind't merged waiting for you, but I guess I can merge now as soon as the conflicts are solved. |
|
@fzipi Should be fixed now |
Proposed changes
Updates Unix commands list to cover the following:
lsshredcommand which can be used to delete files.closes: #4390
closes: #4425
closes: #4424
closes: #4423
PR Checklist
commentfield to write the expected behaviorFurther comments
For the reviewer
ctl:requestBodyAccess=Offwere used in the rule