Drafting petition replies with AI: how to mask the petitioner's data
· DataMint · 10 min read
An imagined scene. It is four in the afternoon, and three citizen petitions due tomorrow are still open. The officer in charge copies the text of a petition, pastes it into an AI chat window and types "write a polite draft reply." The first line of the petition has the petitioner's name and address, the third paragraph has a neighbor's name and license plate number, and the last line has a mobile phone number. It takes less than ten seconds to reach the send button.
Using AI to write petition replies is not the problem in itself. The problem is that whose story it is goes out too. And what a reply needs is not who the petitioner is but what they asked for, what facts there were and which laws apply. Replace names and numbers with placeholders such as [Name_1] before sending, and you still get the draft reply, while no value that identifies the petitioner leaves the agency.
AI DLP does this at the point of input instead of relying on the officer's eyes. This post follows the petition handling flow to the points where AI is used for replies, then covers where personal data hides in a petition, why a masked petition still gets a reply, and how to do it with DataMint Cover. The AI security setup for an agency as a whole is covered in Public sector AI DLP after the NIS AI security guidebook.
Petitioner data: what Korea's Civil Petitions Treatment Act requires
Article 7 (Information Protection) of Korea's Civil Petitions Treatment Act (in Korean) reads: "The head of an administrative agency shall take necessary measures to prevent the content of a civil petition learned in connection with handling it, and the personal information of the petitioner and of any specific person included in the content of the petition, from being divulged, and shall ensure that the collected information is not used for purposes other than handling the petition."
Two places are worth noting. The protection covers specific persons who appear in the content of the petition. That means the data of people who are not the petitioner must also be protected: the neighbor being reported, the head of a business named in the petition, even an official in another department. And "necessary measures to prevent divulging" means measures, not an attitude.
The administrative agencies this Act covers are broad. Besides central administrative agencies, local governments and their affiliated bodies, they include public institutions under the Act on the Management of Public Institutions, local public corporations and agencies, special corporations and schools at every level (Article 2, item 3). On top of that come the safety measure obligation (Article 29) of the Personal Information Protection Act (PIPA, in Korean) and its prohibition on divulging personal information learned in the course of duties (Article 59, item 2). Government guidance points the same way. Korea's National Intelligence Service (NIS) and the Ministry of the Interior and Safety have advised against entering non-public information and personal data into outside generative AI. What each piece of guidance says is summarized in Generative AI in public agencies and hospitals: 5 kinds of personal data to watch.
Where AI fits in the petition handling flow
A petition moves through intake, classification and assignment, fact-checking and review, drafting the reply, approval and notification. When handling is finished, the result is in principle notified to the petitioner in writing, and in specified cases such as "other petitions" it can also be given by phone, text message or email (Article 27, paragraph 1). In this flow, AI usually helps in four places. The risk is not spread evenly across them.
- Summarizing a long petition (high risk): you ask for a petition of several pages and its attachments to be cut down to a few lines. The whole original goes in, so this is the place to be most careful.
- Explaining laws and programs (low risk): for inquiry petitions, which ask for an explanation or interpretation of laws, programs or procedures (Article 2, item 1), you ask for the relevant provisions in plain words. Send only the question and there is almost no personal data.
- Drafting the reply (high risk): you paste the original and say "write a reply." The petitioner and third parties go along.
- Polishing sentences (medium risk): you ask for the officer's own draft to be made more polite. The petitioner's name is easily left in the greeting, as in "Dear Mr. or Ms. so-and-so."
Of the four, the second can be done without personal data from the start. The officer rewrites the question, as in "tell me the procedure that applies to a petition requesting parking enforcement." The hard ones are the first and the third. Rewriting the original takes about as long as the time AI was supposed to save. So in practice the original gets pasted as is, and something is needed to back up that moment.
Where personal data hides in a petition: the petitioner, third parties, attachments
The petitioner's identity
Name, address, mobile phone, email, date of birth. These are not only in the header fields of the intake form. They come back in the first sentence of the body, as in "I live in such-and-such apartment in such-and-such neighborhood," and the last line adds "please contact me at this number." Clear only the header fields, paste the body, and the identity goes along.
The story
Petitions carry circumstances. That someone is in hospital treatment, family circumstances, that their income has stopped. Information about health is set apart as sensitive information by the Personal Information Protection Act. Even without the name, if a combination such as "a man in his seventies on dialysis who lives in such-and-such neighborhood" remains, people in the neighborhood can narrow down who it is.
Third parties
The upstairs neighbor in a noise petition, the license plate in an illegal parking petition, the staff member's name in a complaint about rudeness, the head of a business that caused harm. These are the "specific persons included in the content of the petition" in Article 7. They did not file the petition, and they know even less that their names may go to an AI service outside the agency.
Attachments and lists of signatories
Photos, scanned applications, medical certificates, contracts. A multi-party petition, filed jointly by five or more people on a matter of common interest to five or more households (Article 2, item 6), comes with a list of signatories. That list is nothing but names, addresses and contact details. That uploading a file to AI sends more than what you saw on screen is covered in What to check before uploading files to AI.
Why a masked petition still gets a reply: placeholders keep the relationships
There are three broad ways to hide personal data: deleting, asterisks and placeholders. Delete the values and "whose car, and who did what" disappears, so the sentences fall apart. Write "Hong **" and "Kim **" with asterisks, and two people with the same family name cannot be told apart. Placeholders replace the same person with the same marker. The petitioner is [Name_1] throughout, and the neighbor is [Name_2]. The AI writes its reply understanding who did what to whom.
| Sent as is | Sent masked by Cover |
|---|---|
| Petitioner Hong Gil-dong (010-1234-5678) | Petitioner [Name_1] ([Phone_1]) |
| lives at 12 Maba-ro, Dara-gu, Gana-si. | lives at [Address_1]. |
| Next-door neighbor Kim Min-su's car | Next-door neighbor [Name_2]'s car |
| 12Ga 3456 parks in front of the fire hydrant every night. | [Plate_1] parks in front of the fire hydrant every night. |
| Please enforce. | Please enforce. |
The same person gets the same marker, so the relationships stay and only the values that identify the petitioner and the neighbor drop out. The AI still writes a reply to "a request to enforce against habitual parking in front of a fire hydrant."
| What the reply needs | What the reply does not need |
|---|---|
| What was requested (enforcement, explanation, correction, information) | The petitioner's name, address and phone number |
| What facts there were (time of day, type of place, whether it repeats) | The name, license plate and building and unit number of the person reported |
| Which laws and procedures apply | Resident registration number, account number |
| The handling plan and the contact point to give | Disease names and details of family circumstances in the story |
When [Name_1] appears in the AI's answer, it is shown as the original name on the officer's screen. The officer checks the content, moves it into the agency's official letter format and submits it for approval. The difference between pseudonyms and placeholders is compared in more detail in pseudonymizing before sending to AI.
Placeholders bring one more benefit. Petitions are often emotional, and when the names are left in, the AI's answer easily takes on a tone aimed at a particular person. With [Name_2] in the text, the AI tends to focus on the facts and the procedure, and the officer reviewing the draft also sees the matter before the person.
Petition replies with DataMint Cover: AI DLP masks at the moment of pasting
Our DataMint Cover is an AI DLP (data loss prevention for generative AI) solution. The moment the officer pastes the text of a petition into an AI input box or sends it, Cover finds the personal data inside the browser on the employee's PC and replaces it with placeholders. Detection is done by rules and an AI model dedicated to personal data, it works without the internet, and the original is not sent to another server to be checked.

| When | Cover feature | What changes |
|---|---|---|
| You paste the text of a petition and ask for a draft reply | Finds 22 types of personal data, including names, addresses, phone numbers, resident registration numbers and license plates, and replaces them with placeholders. The same value gets the same placeholder | You get the draft, and the values of the petitioner and third parties do not leave the agency |
| A name is mixed into the body without a label, as in "my neighbor Kim Min-su" | Rules and the AI model dedicated to personal data find names from context (97.8% of unlabeled names, measured on Korean business sentences) | Fewer cases where only the header fields are cleared and a name stays in the body |
| You attach a list of signatories in Excel or a scanned application | Word, Excel, HWPX (Hangul word processor) and CSV are checked by the extension and the gateway. PDF, older HWP, scanned PDFs and images are checked by the gateway (self-hosted edition; reading text in scans and images is an opt-in feature), which finds and masks the personal data inside. File names and types the agency specifies cannot be uploaded | A list does not go up in whole |
| You need to check [Name_1] in the AI's answer | Placeholders in the answer are shown as the original values only in that tab | No confusion about who is who when moving the text into an official letter |
| You paste a memo that contains words the agency specified, such as "internal review" | Text containing confidential keywords is blocked from sending. The matched words are not sent to the admin server, only the count | Internal judgments made during handling do not go outside |
| A name has to be sent as is for work | The employee requests an exception, and the person in charge approves it with a time limit | Exceptions also become a procedure that leaves a record |
| An inspection asks about AI use in the petition department | Dashboard by department, service and type, alerts on risky users, reports by period and CSV. The original input and the values found are not stored | You answer with the facts of handling, without collecting petitioner data again |
Some petitions come in as photos or screenshots. With the Cover gateway (self-hosted edition) placed on the agency's internal network, the text in an image can be read and the places holding values such as resident registration numbers, phone numbers and account numbers can be blacked out before sending. This feature is off by default, and the agency turns it on. The gateway also applies the same policy to AI tools outside the browser, such as the Claude desktop app.

Rules for using AI on petition replies: five things a department should decide
- Services and accounts: decide which AI services and accounts the agency allows, and check the setting that keeps input out of training.
- What never goes in: write examples of material that should not go in at all, such as original lists of signatories, medical certificates, and petition material related to investigations or trials.
- Masked by default: set the principle that when the original text is used, only text replaced with placeholders is sent, and decide whether sending the original is allowed.
- Checking drafts: check AI drafts against the original and the relevant laws, and put them through the same approval as replies written by a person.
- When something goes in by mistake: write down whom to tell and how, and include a sentence that the person who reports it will not be penalized.
For the overall shape of the rules document, see the generative AI guideline checklist.
Summary: use AI for petition replies, keep the petitioner inside the agency
- Article 7 of the Civil Petitions Treatment Act requires measures to prevent divulging the personal data not only of the petitioner but of specific persons who appear in the petition.
- The risk of AI for petition replies is concentrated in summarizing and drafting, where the original goes in whole.
- What a reply needs is the request, the facts and the law. It does not need who the petitioner is.
- Placeholders that replace the same person with the same marker keep the relationships and protect the quality of the reply.
Something to try tomorrow: pick one petition you handled last week and write two lines, one for the information the reply really needed and one for the information it did not. The second line is the list AI DLP has to mask. You can look around the admin dashboard first with made-up data and no login.
Frequently asked questions
If the petitioner consents, can the original petition go into AI?
Whether consent settles it depends on the purpose of processing, the legal basis and the terms of the AI service, so this post cannot answer it. Check with your agency's legal and privacy staff. Note, though, that petitions often contain data about third parties who cannot consent. Mask before sending and the question itself gets smaller.
Isn't it enough to delete the name?
Often it is not. A person can be narrowed down by a combination of address, license plate, building and unit number and the story. In a small neighborhood in particular, one place can tell you who it is. Mask numbers and addresses along with names, and put in only as much of the story's detail as is really needed.
Does Cover work with AI features built into the petition system?
The Cover browser extension works on the web screens of 27 AI services, including ChatGPT, Claude, Gemini, Copilot and Perplexity. If the agency's internal system calls the Claude, OpenAI or Gemini API, the Cover gateway masks with the same policy. For other AI features, check together before adoption whether they are covered.
- #citizen petitions AI
- #petition reply AI
- #petitioner personal data
- #public sector AI privacy
- #public sector generative AI
- #AI DLP
- #Korea Civil Petitions Treatment Act