Legislation intended to deter members of Congress from profiting from stock trades based on inside information is inadvertently forcing 28,000 federal employees to expose their personal financial information on the Internet.