In short
If imported goods in a package are liable to confiscation, the package and all other goods imported in it can also be confiscated. The same applies to a package brought into a customs area for export that contains goods liable to confiscation.
(a) Where any goods imported in a package are liable to confiscation, the package and any other goods imported in that package shall also be liable to confiscation.
(b) Where any goods are brought in a package withinthe limits of a customs area for the purpose of exportation and are liable to confiscation, the package and any other goods contained therein shall also be liable to confiscation.
Source: Customs Act, 1962 — official text published by the Central Board of Indirect Taxes and Customs (CBIC) on its Tax Information Portal (taxinformation.cbic.gov.in), including the amendments noted above.
This page is educational. It is not professional advice or a formal tax computation. Verify the position against the official source above for the period that applies to you, and consult an authorised professional before acting on it.