Parliament could force an investigation into an incident that saw Defence Industry Minister Christopher Pyne's Twitter account interact with an explicit pornographic video, a mishap the senior Turnbull government figure has blamed on hackers.

Australian Conservatives senator Cory Bernardi and Opposition Leader Bill Shorten have expressed concern about the implications of any breach for national security given the highly sensitive nature of Mr Pyne's ministerial portfolio.

A still from the explicit video published yesterday by the gay porn account. Credit:Twitter

There were also attempts to breach the Defence Industry Minister's Facebook account on Wednesday, a spokesman said, denying that the disturbance raised broader concerns.

Mr Pyne's account "liked" a raunchy video from account "XxxPornGay" in the early hours of Thursday morning as people across the country were celebrating the result of the same-sex marriage postal survey.