-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taint cookies and headers #3232
Conversation
Overall package sizeSelf size: 4.33 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report
@@ Coverage Diff @@
## master #3232 +/- ##
==========================================
+ Coverage 84.74% 85.98% +1.24%
==========================================
Files 197 191 -6
Lines 8075 7485 -590
Branches 133 33 -100
==========================================
- Hits 6843 6436 -407
+ Misses 1232 1049 -183
... and 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
BenchmarksComparing candidate commit 5ead7ac in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 445 metrics, 26 unstable metrics. scenario:plugin-graphql-with-depth-off-18
|
1417800
to
6700768
Compare
packages/dd-trace/test/appsec/iast/taint-tracking/plugin.spec.js
Outdated
Show resolved
Hide resolved
10ca2be
to
e449b0a
Compare
…ting setMaxTransactions in tests
c832de2
to
5ead7ac
Compare
* Taint cookies and headers * Bump minimum node version for v4 on cookie plugin test * Add test with latest node version for cookie plugin test * Provide iastContext from index when tainting headers * Add test for cookie tainting in taint tracking plugin * Remove iast transaction after taint tracking plugin tests to avoid hiting setMaxTransactions in tests * Add test for taintObject with taintingKeys flag * Address header tainting test for keys shorter than 10 chars * Upgrade native-iast-taint-tracking to v1.5.0 * Rewrite expect in taint tracking plugin test * Fix tag requiring in IAST index
* Taint cookies and headers * Bump minimum node version for v4 on cookie plugin test * Add test with latest node version for cookie plugin test * Provide iastContext from index when tainting headers * Add test for cookie tainting in taint tracking plugin * Remove iast transaction after taint tracking plugin tests to avoid hiting setMaxTransactions in tests * Add test for taintObject with taintingKeys flag * Address header tainting test for keys shorter than 10 chars * Upgrade native-iast-taint-tracking to v1.5.0 * Rewrite expect in taint tracking plugin test * Fix tag requiring in IAST index
* Taint cookies and headers * Bump minimum node version for v4 on cookie plugin test * Add test with latest node version for cookie plugin test * Provide iastContext from index when tainting headers * Add test for cookie tainting in taint tracking plugin * Remove iast transaction after taint tracking plugin tests to avoid hiting setMaxTransactions in tests * Add test for taintObject with taintingKeys flag * Address header tainting test for keys shorter than 10 chars * Upgrade native-iast-taint-tracking to v1.5.0 * Rewrite expect in taint tracking plugin test * Fix tag requiring in IAST index
* Taint cookies and headers * Bump minimum node version for v4 on cookie plugin test * Add test with latest node version for cookie plugin test * Provide iastContext from index when tainting headers * Add test for cookie tainting in taint tracking plugin * Remove iast transaction after taint tracking plugin tests to avoid hiting setMaxTransactions in tests * Add test for taintObject with taintingKeys flag * Address header tainting test for keys shorter than 10 chars * Upgrade native-iast-taint-tracking to v1.5.0 * Rewrite expect in taint tracking plugin test * Fix tag requiring in IAST index
* Taint cookies and headers * Bump minimum node version for v4 on cookie plugin test * Add test with latest node version for cookie plugin test * Provide iastContext from index when tainting headers * Add test for cookie tainting in taint tracking plugin * Remove iast transaction after taint tracking plugin tests to avoid hiting setMaxTransactions in tests * Add test for taintObject with taintingKeys flag * Address header tainting test for keys shorter than 10 chars * Upgrade native-iast-taint-tracking to v1.5.0 * Rewrite expect in taint tracking plugin test * Fix tag requiring in IAST index
* Taint cookies and headers * Bump minimum node version for v4 on cookie plugin test * Add test with latest node version for cookie plugin test * Provide iastContext from index when tainting headers * Add test for cookie tainting in taint tracking plugin * Remove iast transaction after taint tracking plugin tests to avoid hiting setMaxTransactions in tests * Add test for taintObject with taintingKeys flag * Address header tainting test for keys shorter than 10 chars * Upgrade native-iast-taint-tracking to v1.5.0 * Rewrite expect in taint tracking plugin test * Fix tag requiring in IAST index
What does this PR do?
Provides the feature to taint values coming from cookies and headers.
Motivation
Include more sources for tainting, improving custom code vulnerability detection