This application relates to a method, apparatus,
computer equipment, and storage medium for detecting contract
information security risks. The method includes: acquiring a contract document to be tested; extracting the contract text from the contract document; generating first prompt information based on the contract text and a first prompt template; dividing the
basic service terms and
information security-related terms in the contract text based on the first prompt information; generating second prompt information based on the
information security-related terms and a second prompt template; retrieving enterprise security status information from an enterprise security maintenance
knowledge base based on the second prompt information; and determining whether the information security-related terms match the enterprise security status information; and triggering a risk warning and generating a
risk assessment result in response to a mismatch between the information security-related terms and the enterprise security status information. This method can improve the efficiency of identifying enterprise contract information security risks.