The present specification describes a method for personal information protection and security inspection based on an on-device AI agent performed by a security inspection device, comprising: a step in which a
user authentication unit authenticates a user based on
user authentication information and generates user
authorization information of the authenticated user; a step in which a personal information search unit sets a personal information search type including personal information image search, PC file search, and internal email search based on the user
authorization information and sets search conditions corresponding to the personal information search type; and a step in which the personal information search unit identifies search target data stored in a user terminal or accessible through the user terminal based on the personal information search type and the search conditions, and generates search result information for the search target data. The above search conditions include a search target drive, a search target path, whether subfolders are included, file extension, file name, search keyword, creation time, modification time, last
access time, search target mailbox, search period, sender, recipient, whether the email body is searched and whether attachments are searched, and the above search target data includes images, documents, PC files, downloaded files, compressed files, email body, email attachments and browser saved data, and the above search result information may include a file name, save path,
file format,
file size, creation time, modification time, email subject, attachment file name, email
receipt date and whether user-specified keywords are included.