go fmt.
Add .gitignore file to ignore .idea directory.
Fix security issue

[#78744830]