There is really not a safety problem on the RER B but you should be aware of pickpockets and petty theft. Keep your eye on your possessions and keep valuables zipped inside your baggage. Keeping your wallet in your pants pocked or jacket may not provide sufficient security.