EMB ERJ 170/175 ER/LR
Flight Crew Air Transport Pilot (ATP)
Situational Awareness
ATC Issue All Types; Conflict Ground Conflict; Critical
Flight Crew Took Evasive Action
Human Factors
At SFO on taxiway G at intersection of G and A Ground told us to follow [air carrier] after they passed us on A. [They] passed; Captain cleared left; I looked to right and said 'STOP'. A [different air carrier] aircraft was taxiing fast after [the first air carrier] on A with no lights on.Stopped our aircraft immediately to avoid collision. [Second air carrier] continued taxiing. Queried ground; they said [second air carrier] taxied faster than they had expected. Ground had given us no indication that there would be an aircraft behind [the first air carrier] that we were instructed to follow. We taxied beyond our gate and requested taxi instructions back to our gate. Ground gave us return instructions and made no further comments.Better coordination with ground regarding aircraft position; Ground was unaware of location of [second air carrier] and its proximity to us.
EMB-175 FO reported a near collision taxiing at SFO with an aircraft that ATC seemed unaware of.