Officials from the Securities and Exchange Commission and the office of Eliot Spitzer , the New York attorney general , have been investigating whether American International Group used certain insurance deals to make its financial results look better than they actually were .