Skip to content

CheckMarx Code Scan of repository - Prototype Pollution issue #468

Answered by jongpie
adityagollakota asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @adityagollakota so sorry for the very late response! I thought I had responded a few weeks ago, but I guess I never did 😞

Offhand, I don't see anything in the report that seems like an actual concern:

  1. The 1 high issue for prototype pollution - this is done on the LogEntryEvent__e object, which are read-only objects in the LWC, so I don't think there's any harm in polluting the prototype.
  2. The 25 informational issues - they seem to all be related to "Lightning Data Retrieval Without Wire Decorator". For the items it reported, I prefer to call the Apex classes imperatively (instead of using @wire) because it provides more control. I wouldn't consider this a security concern.

Hope this …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adityagollakota
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants