In NSW, police can search your car in limited circumstances.
They do not have the power to stop and search vehicles at
random.
Some bases upon which police can search vehicles include when
they are acting under a search warrant, they have the consent of
the driver or they have a 'reasonable suspicion'.
Police powers under LEPRA
The primary authority of the police to carry out searches is
outlined within the
Law Enforcement (Power and Responsibilities) Act 2002
(LEPRA). This legislation dictates the powers granted to the police
when they conduct searches of motor vehicles.
Section 14 of LEPRA allows police to request
the identity of drivers and passengers to be disclosed if there are
reasonable grounds to suspect the vehicle's involvement in an
offence. Additionally, officers have the authority to request the
vehicle owner to disclose the identities of the driver and
passengers who might have been in the vehicle during the suspected
offence.