Wow I never expected this from Indian Govt irrespective of the political party. And bounty on top of that for security issues is definitely next level.
If it's mandatory, it should definitely be open source. Hell, anything that is funded by taxpayer dollars should be open sourced.