We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3346ccf commit f573140Copy full SHA for f573140
hatch.toml
@@ -466,7 +466,8 @@ _DD_IAST_PATCH_MODULES = "scripts.iast"
466
test = [
467
"uname -a",
468
"pip freeze",
469
- "python -m pytest tests/appsec/iast_aggregated_memcheck/test_aggregated_memleaks.py",
+ # We use --no-cov due to a pytest-cov problem with eval https://github.com/pytest-dev/pytest-cov/issues/676
470
+ "python -m pytest --no-cov tests/appsec/iast_aggregated_memcheck/test_aggregated_memleaks.py",
471
]
472
473
[[envs.iast_aggregated_leak_testing.matrix]]
scripts/iast/mod_leak_functions.py
@@ -258,6 +258,7 @@ def sink_points(string_tainted):
258
except Exception:
259
pass
260
261
+ _ = eval(f"'a' + '{string_tainted}'")
262
# Weak Randomness vulnerability
263
_ = random.randint(1, 10)
264
0 commit comments