What does it mean when migrants in Dwarf Fortress arrive "despite the danger"?

This message will appear in every fortress, eventually. It's safe to ignore.

It's a buggy feature, but appears to have no impact on the game: It does not appear to affect the number of migrants that decide to show up.
The game simply follows the following pseudocode procedure when migrants arrived to tell you that they did:

void printMigrantMessage() {
    if(totalCivDeaths() > 49) {
        print("Some migrants have decided to brave this terrifying place, knowing it may be their tomb.");
    } else if(totalCivDeaths() > 9) {
        print("Some migrants have arrived, despite the danger.");
    } else {
        print("Some migrants have arrived.");
    }
}

Where totalCivDeaths() is a function that counts the total number of civilization members that have died on your map. On a long-running or large fort this number will eventually climb past what the game considers dangerous, and the message will change, and further in the future it will change once again to the 'terrifying place' message. This is due to the game

  • counting any death towards this number, even those that you could consider perfectly normal, such as deaths from old age.
  • Not adjusting based on the size of the fortress
  • Not adjusting based on the age of the fortress. If a fortress has 100 deaths in its first 5 years, then no deaths for the next century, it's still considered a death-trap (assuming the first point is fixed).

Other contributing factors

While the above was determined through empirical play, other factors may raise the 'fear level' in your fort that could have the message change sooner. These are currently unknown as far as I know.

I do not know of any fort that has had its message revert to a more benign one, so the above logic still holds.

Sources

See Mechanics of migrant waves and "despite the danger"/"cursed death trap"