As per CNN: "Border Patrol agents lead far safer work lives on average than most other law enforcement officers. The border crossers an agent apprehends – an average of two people per month in fiscal year 2016 – are less likely to be violent than those drawing the attention of local police. And there is no clear evidence that the border is growing more dangerous for agents.... Some areas of the border are more dangerous – on the outskirts of south San Diego or Brownsville, Texas, for instance. “In some places, it is much more the high-risk kind of job that fits the mythology,” said Robert Lee Maril, a professor of sociology at East Carolina University who embedded with the Border Patrol for two years. In the Rio Grande Valley sector in Texas, for example, CPB recorded one assault last year per every seven agents – though, again, those figures are higher than what the FBI is expected to report when it releases its annual study on killings and assaults of law enforcement officers."
Then there is pay: According to careers.com -- https://www.thebalancecareers.com/ice-agent-career-profile-974493 - the pay is pretty good:
ICE Agent Salary
An ICE agent's salary varies based on geographic area, level of experience, education, certifications, and other factors. The U.S. Bureau of Labor Statistics classifies ICE agents under the category of police and detectives, with an annual salary range as follows:
Median Annual Salary: $63,380 ($30.47 /hour)
Top 10% Annual Salary: More than $106,090 ($51/hour)
Bottom 10% Annual Salary: Less than $36,550 ($17.57/hour)
Source: U.S. Bureau of Labor Statistics, 2018
In addition to their base salary, ICE agents may also earn added pay based on the location of their field office.