Online lenders should be licensed and supervised by the state to “prevent risk” to the state’s financial markets, the New York State Department of Financial Services said Wednesday.

The recommendation was part of a report released by the agency on the online lending industry. Legislation mandating the report was signed by Gov. Andrew Cuomo in June.