kibana/test/plugin_functional/plugins
Larry Gregory 9ce2dd8df9
Additional prototype pollution protections (#206073)
## Summary

1. Extends the server-side prototype pollution protections introduced in
https://github.com/elastic/kibana/pull/190716 to include
`Array.prototype`.
2. Applies the same prototype pollution protections to the client-side.


### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] Sealing prototypes on the client can lead to failures in
third-party dependencies. I'm relying on sufficient functional test
coverage to detect issues here. As a result, these protections are
disabled by default for now, and can be controlled via setting
`server.prototypeHardening: true/false`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-28 23:00:43 +01:00
..
app_link_test Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_app_status Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_dynamic_resolving_a Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_dynamic_resolving_b Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_history_block Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_http Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_a Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_appleave Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_b Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_chromeless Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_deep_links Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_deprecations [deprecations/test plugin]: Check in all spaces (#202356) 2024-12-02 16:44:40 +03:00
core_plugin_execution_context Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_helpmenu Preparation for High Contrast Mode, Core/SharedUX domains (#202606) 2024-12-05 08:26:41 -07:00
core_plugin_route_timeouts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_plugin_static_assets Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
core_provider_plugin Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
data_search Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
elasticsearch_client_plugin Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
eui_provider_dev_warning Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
hardening Additional prototype pollution protections (#206073) 2025-01-28 23:00:43 +01:00
index_patterns Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn_sample_panel_action [embeddable] make presentation interface names consistent (#205279) 2025-01-22 10:46:01 -06:00
kbn_top_nav Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn_tp_custom_visualizations Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
management_test_plugin Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
rendering_plugin Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
saved_object_export_transforms Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
saved_object_import_warnings Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
saved_objects_hidden_from_http_apis_type Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
saved_objects_hidden_type Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
session_notifications Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
telemetry Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core (#201653) 2025-01-04 11:47:24 -07:00
ui_settings_plugin Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
usage_collection Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core (#201653) 2025-01-04 11:47:24 -07:00