I mean, only if it leads to embarrassment right off the bat.
If there is a year or two between writing your security fuck up and it being discovered the likelihood of repercussions drops significantly.