ERJ's have a good safety record.
However, the aircraft that has the title of most dangerous airliner is Embraer's EMB-120 Brasilia turboprop (many problems with the Hamilton Standard propellers).
There was a big accident because of the propellers (lack of proper maintenance with design flaws) a few years ago with Atlantic Southeast Airlines (ASA).
I actually trained for that in a little Cessna once. Have to relearn it though (haven't flown since 2004

)