Australia rallied to overcome Pakistan by two wickets in the first of three one-day internationals between the teams at the Melbourne Cricket Ground.
Roared on by vocal travelling support, Pakistan were in the ascendency when their pacemen dropped Australia from 113-2 to 115-7, with the hosts chasing 204 for victory.
Harif Rauf dismissed three while Shaheen Shah Afridi and Mohammad Hasnain also got in on the act to decimate the hosts' middle order.
Naseem Shah had earlier scored 40 off 39 balls to salvage a score of 203 all out for the tourists, but a crucial cameo from captain Pat Cummins got Australia over the line.
Cummins calmly came up with an unbeaten 32 from 31 balls as the hosts sealed victory with 16.3 overs remaining, with even Sean Abbott's error in being run out for 13 failing to inspire a change in the momentum.
Bowler Mitchell Starc told ABC Grandstand after the match: "We probably didn't like that Patty and I had pads on, but it's a positive start to the summer.
"A win is a win no matter how you get there."
Data Debrief: Cummins leads from the front
Cummins' unbeaten 32 may not go down as his most memorable knock in ODIs, but it did equal his best innings for Australia in the format.
That proved crucial after Matthew Short (1), Jake Fraser-McGurk (16), Marnus Labuschagne (16), Aaron Hardie (10) and Glenn Maxwell (0) disappointed with the bat.
Australia, who have won both of their ODI series versus West Indies and England since lifting the World Cup in 2023, can now seal a series triumph in Adelaide on Friday.