It's true that people aren't often looking for fatal pranks, but you could do more benign like try to get people pulled over by causing them to speed unknowingly.
https://westernsafety.com/nolan-portable-derail-pd-2/
On sale now! Or pick this one for bigger and faster trains:
https://www.aldonco.com/store/c/127-SaberTooth-Portable-Dera...
There are lots of tools, weapons, chemicals, and other things that a person could do that would be bad. It doesn't take much creativity, just a callous disregard for other people. But in contrast to the fearmongering and crime you'll see in the media, consider it a bit of good news that in spite of how incredibly easy it is to intentionally cause harm to someone else, billions and billions of people choose not to do that every single hour of every single day.
Which in turn is because our emotions around people setting out to do that, are calibrated around the fact that it basically doesn't happen outside of war conditions.
https://www.kyivpost.com/russias-war/anti-putin-russian-rebe...
I wonder whether it's related. Probably not but train derailments are weirdly relevant to current world state...
But back to the topic... I don't think anything should be censored and am of opinion freedom of speech just need to be taken wholecloth, good with the bad, but you gotta wonder how much easier it is now.
An improperly stored rail from a maintenance project derailed a NYC subway train in 2017: https://apnews.com/article/a6a01e5928f9478bab0d33f03260870e
Not sure whether those systems are also installed in the wilderness though. But it seems kinda likely that anybody thinking "I should derail a train for fun" might not bother driving into the wilderness when there's an alluring, convenient, seemingly unobserved stretch of the railway available nearby.
Edit: another thing that comes to mind is that you'd also have to find a low-visibility part of the railway, even in the wilderness — because otherwise the driver will just notice the obstacle and stop the train.
Whether or not that's a problem in practice is not clear to me. Among others, taxis, construction vehicles, emergency vehicles, garbage and delivery trucks, municipal busses, school buses, bicycles, motorcycles, and vehicles in funeral processions all play by different rules than the average motorist.
This mostly doesn't cause disasters. Of course they're visibly different for the most part and make up a comparatively small percentage of traffic.
Ride hailing vehicles might be an interesting point of comparison: they're visibly similar to normal vehicles, comparatively common, and play by something resembling taxi rules.