test(appsec): avoid shell execution in taint tracking tests - #9657
test(appsec): avoid shell execution in taint tracking tests#9657BridgeAR wants to merge 2 commits into
Conversation
The taint propagation matrix armed a one-second trace deadline before each synchronous shell command. One Windows invocation blocked the event loop for 3.293 seconds, so the web span could not flush before the expectation expired.
Overall package sizeSelf size: 7.96 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.3 | 125.43 kB | 441.68 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BenchmarksBenchmark execution time: 2026-08-07 13:34:52 Comparing candidate commit c17be3c in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2307 metrics, 51 unstable metrics.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9657 +/- ##
========================================
Coverage 98.55% 98.55%
========================================
Files 966 966
Lines 138858 138858
Branches 12829 12058 -771
========================================
Hits 136845 136845
Misses 2013 2013 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
The taint propagation matrix armed a one-second trace deadline before each synchronous shell command. One Windows invocation blocked the event loop for 3.293 seconds, so the web span could not flush before the expectation expired.
The wrapped sink now rejects before process creation, preserving command injection detection without depending on OS process startup.