I don't really see any inherit risk by doing this, but maybe I am being naive. If it is dangerous or a potential vulnerability, please let me know why.
thanks <3
No. The IDL just gives you an easy way to parse what data is stored and what instructions exist for an onchain program. If you have some data/instruction in there that is security critical and you don't want people to know about, not publicizing the IDL might deter attackers for a little while longer, but in the end they'll find the vulnerability anyway.
What it will do though is make people appreciate you for giving them an easier way to parse your onchain program :).