JS: Explain why ObjetWrapperFlowLabel is deprecated

This commit is contained in:
Asger F
2024-03-13 11:08:25 +01:00
parent e0aae53ac7
commit b31f20a64e

View File

@@ -39,7 +39,12 @@ module ExternalAPIUsedWithUntrustedDataConfig implements DataFlow::ConfigSig {
module ExternalAPIUsedWithUntrustedDataFlow =
TaintTracking::Global<ExternalAPIUsedWithUntrustedDataConfig>;
/** Flow label for objects from which a tainted value is reachable. */
/**
* Flow label for objects from which a tainted value is reachable.
*
* Only used by the legacy data-flow configuration, as the new data flow configuration
* uses `allowImplicitRead` to achieve this instead.
*/
deprecated private class ObjectWrapperFlowLabel extends DataFlow::FlowLabel {
ObjectWrapperFlowLabel() { this = "object-wrapper" }
}