There are some exceptions to this general rule. For example, in some jurisdictions, dealers are only required to disclose defects that are known at the time of the sale. This means that if the dealer becomes aware of a defect after the sale has been completed, they are not required to disclose it to the buyer.
Additionally, some jurisdictions have specific laws that govern the disclosure of mechanical defects in used cars. These laws may vary from state to state, so it is important to be familiar with the laws in your jurisdiction before you purchase a used car.
In general, it is always a good idea to get a vehicle inspected by a mechanic before you purchase it. This can help you to identify any potential problems that may not be obvious from a simple visual inspection.