Legal Mining and Safe Investment