I havent tried the lending or borrowing from poloniex but I think thier investment with lending bitcoins to polonix users are secured with the altcoins stored in poloniex by the borrower. Just like in the lending section in this forum, collateral can be alts that borrowers dont want to let go.