Gold stars are awarded at the discretion of the HLP staff. They're something more tangible than a cookie for good behavior or clever trick. In woutersmits's case, he spotted a bug that nobody else had really noticed before, but upon examination was ridiculously obvious.
Gold stars aren't permanent, though. The membergroup is cleared every so often, otherwise you'd see gold stars filling up everywhere.