eslint-community/eslint-plugin-security

A more relevant "detect-object-injection"

Open

#21 geöffnet am 30. Aug. 2017

Auf GitHub ansehen
 (20 Kommentare) (12 Reaktionen) (0 zugewiesene Personen)JavaScript (131 Forks)batch import
help wanted

Repository-Metriken

Stars
 (2.074 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 18h) (4 gemergte PRs in 30 T)

Beschreibung

Is there any way that we can work towards a more helpful/relevant report of Object injection sinks?

I can't think of a relevant security use case where Object injection would be relevant outside of the scope of a function directly linked to a web service.

I can understand based on tree traversal that determining the difference in between functions that are used in response to direct network calls would be [near] impossible to determine, but if I use bracket notation at the top level of my module, likely this rule should not notify.

Contributor Guide