Gen. Singh writes to PM, warns about security risk