The article examines the specifics of forming Ukraine’s financial security under conditions of full-scale war through the prism of minimizing risks associated with tax and customs policy. It is substantiated that tax and customs security constitute key components of the state’s financial security, as they determine the stability of budget revenues, the level of fiscal sustainability, and the state’s capacity to fulfill defense and social functions. The transformation of macroeconomic conditions in 2020–2025 is analyzed, including changes in the structure of budget revenues, increased dependence on import value-added tax, intensification of inflationary and debt risks, as well as institutional challenges faced by tax and customs authorities. A classification of threats to financial security based on macrofinancial, fiscal, and administrative-institutional criteria is proposed, and these threats are assessed using risk matrices. Particular attention is paid to the role of risk-oriented control systems, post-clearance and tax audits, digitalization, and the integration of information databases. It is demonstrated that combining automated risk management algorithms with post-control procedures enhances administrative efficiency, reduces the scale of shadow economic activities, and strengthens the financial resilience of the state. Practical recommendations for improving tax and customs policy are formulated, taking into account OECD and World Customs Organization standards.