Risks of publishing the computer serial number on the Internet
If you have AppleCare phone support, one could, in theory, use your serial number to contact AppleCare for free support.  Otherwise, there's no risk to sharing a serial number when selling your Mac.