Skip to content

Commit

Permalink
Add license header
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 23, 2024
1 parent 7a1be00 commit a0ece10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/core/src/util/is-key-invalid.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2024 SAP Spartacus team <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

/**
* This function checks if the provided property name is invalid.
* It prevents the use of dangerous object keys that can lead to prototype pollution attacks.
Expand Down

0 comments on commit a0ece10

Please sign in to comment.