Add URLEncoder tainting support#5656
Merged
Merged
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 61 cases.
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.20.0-SNAPSHOT~b1bfba638c, baseline=1.20.0-SNAPSHOT~5bb31ca076
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (990.801 ms) : 0, 990801
Total [baseline] (8.641 s) : 0, 8641216
Agent [candidate] (990.619 ms) : 0, 990619
Total [candidate] (8.655 s) : 0, 8654711
section appsec
Agent [baseline] (1.076 s) : 0, 1075908
Total [baseline] (8.711 s) : 0, 8711330
Agent [candidate] (1.082 s) : 0, 1082228
Total [candidate] (8.757 s) : 0, 8757037
section iast
Agent [baseline] (1.094 s) : 0, 1093712
Total [baseline] (9.251 s) : 0, 9251259
Agent [candidate] (1.094 s) : 0, 1094078
Total [candidate] (9.146 s) : 0, 9146180
section profiling
Agent [baseline] (1.163 s) : 0, 1162674
Total [baseline] (8.886 s) : 0, 8885604
Agent [candidate] (1.179 s) : 0, 1178502
Total [candidate] (8.92 s) : 0, 8920239
gantt
title insecure-bank - break down per module: candidate=1.20.0-SNAPSHOT~b1bfba638c, baseline=1.20.0-SNAPSHOT~5bb31ca076
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (614.349 ms) : 0, 614349
BytebuddyAgent [candidate] (613.376 ms) : 0, 613376
GlobalTracer [baseline] (285.427 ms) : 0, 285427
GlobalTracer [candidate] (286.079 ms) : 0, 286079
AppSec [baseline] (50.451 ms) : 0, 50451
AppSec [candidate] (50.496 ms) : 0, 50496
Remote Config [baseline] (666.956 µs) : 0, 667
Remote Config [candidate] (671.107 µs) : 0, 671
Telemetry [baseline] (5.418 ms) : 0, 5418
Telemetry [candidate] (5.44 ms) : 0, 5440
section appsec
BytebuddyAgent [baseline] (614.375 ms) : 0, 614375
BytebuddyAgent [candidate] (616.649 ms) : 0, 616649
GlobalTracer [baseline] (285.318 ms) : 0, 285318
GlobalTracer [candidate] (289.126 ms) : 0, 289126
AppSec [baseline] (135.879 ms) : 0, 135879
AppSec [candidate] (135.913 ms) : 0, 135913
Remote Config [baseline] (728.37 µs) : 0, 728
Remote Config [candidate] (734.101 µs) : 0, 734
Telemetry [baseline] (5.185 ms) : 0, 5185
Telemetry [candidate] (5.207 ms) : 0, 5207
section iast
BytebuddyAgent [baseline] (719.701 ms) : 0, 719701
BytebuddyAgent [candidate] (719.758 ms) : 0, 719758
GlobalTracer [baseline] (272.649 ms) : 0, 272649
GlobalTracer [candidate] (272.474 ms) : 0, 272474
AppSec [baseline] (46.704 ms) : 0, 46704
AppSec [candidate] (46.838 ms) : 0, 46838
Remote Config [baseline] (605.333 µs) : 0, 605
Remote Config [candidate] (636.571 µs) : 0, 637
Telemetry [baseline] (5.219 ms) : 0, 5219
Telemetry [candidate] (5.275 ms) : 0, 5275
IAST [baseline] (14.276 ms) : 0, 14276
IAST [candidate] (14.669 ms) : 0, 14669
section profiling
BytebuddyAgent [baseline] (627.111 ms) : 0, 627111
BytebuddyAgent [candidate] (635.945 ms) : 0, 635945
GlobalTracer [baseline] (351.034 ms) : 0, 351034
GlobalTracer [candidate] (355.423 ms) : 0, 355423
AppSec [baseline] (49.324 ms) : 0, 49324
AppSec [candidate] (50.072 ms) : 0, 50072
Remote Config [baseline] (673.216 µs) : 0, 673
Remote Config [candidate] (688.598 µs) : 0, 689
Telemetry [baseline] (5.359 ms) : 0, 5359
Telemetry [candidate] (5.43 ms) : 0, 5430
ProfilingAgent [baseline] (75.921 ms) : 0, 75921
ProfilingAgent [candidate] (76.812 ms) : 0, 76812
Profiling [baseline] (75.945 ms) : 0, 75945
Profiling [candidate] (76.837 ms) : 0, 76837
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.20.0-SNAPSHOT~b1bfba638c, baseline=1.20.0-SNAPSHOT~5bb31ca076
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (988.978 ms) : 0, 988978
Total [baseline] (9.201 s) : 0, 9200837
Agent [candidate] (992.481 ms) : 0, 992481
Total [candidate] (9.158 s) : 0, 9157888
section appsec
Agent [baseline] (1.071 s) : 0, 1071239
Total [baseline] (9.239 s) : 0, 9239011
Agent [candidate] (1.07 s) : 0, 1069805
Total [candidate] (9.223 s) : 0, 9222693
section iast
Agent [baseline] (1.091 s) : 0, 1091486
Total [baseline] (9.425 s) : 0, 9424892
Agent [candidate] (1.084 s) : 0, 1084036
Total [candidate] (9.363 s) : 0, 9362540
section profiling
Agent [baseline] (1.155 s) : 0, 1155331
Total [baseline] (9.417 s) : 0, 9417412
Agent [candidate] (1.162 s) : 0, 1162498
Total [candidate] (9.53 s) : 0, 9529834
gantt
title petclinic - break down per module: candidate=1.20.0-SNAPSHOT~b1bfba638c, baseline=1.20.0-SNAPSHOT~5bb31ca076
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (612.671 ms) : 0, 612671
BytebuddyAgent [candidate] (614.586 ms) : 0, 614586
GlobalTracer [baseline] (285.494 ms) : 0, 285494
GlobalTracer [candidate] (286.804 ms) : 0, 286804
AppSec [baseline] (50.378 ms) : 0, 50378
AppSec [candidate] (50.475 ms) : 0, 50475
Remote Config [baseline] (663.926 µs) : 0, 664
Remote Config [candidate] (664.511 µs) : 0, 665
Telemetry [baseline] (5.421 ms) : 0, 5421
Telemetry [candidate] (5.488 ms) : 0, 5488
section appsec
BytebuddyAgent [baseline] (610.418 ms) : 0, 610418
BytebuddyAgent [candidate] (610.195 ms) : 0, 610195
GlobalTracer [baseline] (284.996 ms) : 0, 284996
GlobalTracer [candidate] (283.819 ms) : 0, 283819
AppSec [baseline] (135.722 ms) : 0, 135722
AppSec [candidate] (135.77 ms) : 0, 135770
Remote Config [baseline] (719.699 µs) : 0, 720
Remote Config [candidate] (727.899 µs) : 0, 728
Telemetry [baseline] (5.218 ms) : 0, 5218
Telemetry [candidate] (5.148 ms) : 0, 5148
section iast
BytebuddyAgent [baseline] (717.993 ms) : 0, 717993
BytebuddyAgent [candidate] (712.792 ms) : 0, 712792
GlobalTracer [baseline] (272.178 ms) : 0, 272178
GlobalTracer [candidate] (270.579 ms) : 0, 270579
AppSec [baseline] (46.656 ms) : 0, 46656
AppSec [candidate] (46.688 ms) : 0, 46688
Remote Config [baseline] (620.061 µs) : 0, 620
Remote Config [candidate] (601.956 µs) : 0, 602
Telemetry [baseline] (5.255 ms) : 0, 5255
Telemetry [candidate] (5.081 ms) : 0, 5081
IAST [baseline] (14.386 ms) : 0, 14386
IAST [candidate] (14.103 ms) : 0, 14103
section profiling
BytebuddyAgent [baseline] (623.518 ms) : 0, 623518
BytebuddyAgent [candidate] (625.45 ms) : 0, 625450
GlobalTracer [baseline] (348.479 ms) : 0, 348479
GlobalTracer [candidate] (350.527 ms) : 0, 350527
AppSec [baseline] (49.001 ms) : 0, 49001
AppSec [candidate] (49.515 ms) : 0, 49515
Remote Config [baseline] (656.774 µs) : 0, 657
Remote Config [candidate] (660.81 µs) : 0, 661
Telemetry [baseline] (5.342 ms) : 0, 5342
Telemetry [candidate] (5.411 ms) : 0, 5411
ProfilingAgent [baseline] (75.444 ms) : 0, 75444
ProfilingAgent [candidate] (77.923 ms) : 0, 77923
Profiling [baseline] (75.468 ms) : 0, 75468
Profiling [candidate] (77.948 ms) : 0, 77948
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 24 cases. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~b1bfba638c, baseline=1.20.0-SNAPSHOT~5bb31ca076
dateFormat X
axisFormat %s
section baseline
no_agent (361.741 µs) : 342, 382
. : milestone, 362,
appsec (658.095 µs) : 637, 679
. : milestone, 658,
iast (449.166 µs) : 429, 470
. : milestone, 449,
iast_FULL (509.479 µs) : 489, 530
. : milestone, 509,
iast_INACTIVE (430.726 µs) : 410, 451
. : milestone, 431,
profiling (426.896 µs) : 406, 448
. : milestone, 427,
tracing (424.438 µs) : 404, 445
. : milestone, 424,
section candidate
no_agent (359.363 µs) : 339, 380
. : milestone, 359,
appsec (650.402 µs) : 630, 671
. : milestone, 650,
iast (449.93 µs) : 429, 471
. : milestone, 450,
iast_FULL (515.623 µs) : 495, 537
. : milestone, 516,
iast_INACTIVE (430.266 µs) : 409, 452
. : milestone, 430,
profiling (430.271 µs) : 410, 451
. : milestone, 430,
tracing (431.893 µs) : 410, 454
. : milestone, 432,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~b1bfba638c, baseline=1.20.0-SNAPSHOT~5bb31ca076
dateFormat X
axisFormat %s
section baseline
no_agent (1.338 ms) : 1318, 1357
. : milestone, 1338,
appsec (1.679 ms) : 1655, 1703
. : milestone, 1679,
iast (1.465 ms) : 1440, 1489
. : milestone, 1465,
profiling (1.469 ms) : 1444, 1494
. : milestone, 1469,
tracing (1.466 ms) : 1441, 1490
. : milestone, 1466,
section candidate
no_agent (1.305 ms) : 1286, 1325
. : milestone, 1305,
appsec (1.668 ms) : 1643, 1692
. : milestone, 1668,
iast (1.466 ms) : 1442, 1491
. : milestone, 1466,
profiling (1.465 ms) : 1438, 1491
. : milestone, 1465,
tracing (1.438 ms) : 1414, 1462
. : milestone, 1438,
|
jandro996
marked this pull request as ready for review
August 16, 2023 06:55
jandro996
force-pushed
the
alejandro.gonzalez/url_encoder_secure_mark
branch
from
August 16, 2023 08:03
498905e to
d677d22
Compare
jandro996
force-pushed
the
alejandro.gonzalez/url_encoder_secure_mark
branch
from
August 17, 2023 05:52
d677d22 to
e352c44
Compare
smola
approved these changes
Aug 18, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Add java.net.URLEncoder#encode tainting support
Motivation
Additional Notes