doyensec / electronegativity

Electronegativity is a tool to identify misconfigurations and security anti-patterns in Electron applications.
Apache License 2.0
972 stars 66 forks source link

add CUSTOM_ARGUMENTS_JSON_CHECK, improve CUSTOM_ARGUMENTS_JS_CHECK #45

Closed phosphore closed 5 years ago

phosphore commented 5 years ago

After @ikkisoft's review of #42, I reflected the blacklist approach of CUSTOM_ARGUMENTS_JSON_CHECK to CUSTOM_ARGUMENTS_JS_CHECK.

This pull request definitively resolves #22 and also fixes a typescript bug found on CUSTOM_ARGUMENTS_JSON_CHECK.

I also wrote tests and updated the wiki accordingly: