How Should Personal Data Be Handled in Financial Sector Development and Test Environments in Korea?

· DataMint · 8 min read

Test data at financial companies in Korea comes with one condition other industries do not have. It is written down as a sentence in regulation. Not "avoid where possible," but a prohibition, an exception, and the conditions of the exception, all in one sentence.

The answer first. The principle is not to use user information in testing. If it must be used, transform it before use, and delete it as soon as testing ends. ("User information" is the regulation's term for information about the customers who use financial services.) The hard part is actually keeping these three phrases across hundreds of tables and dozens of test environments, and showing that you kept them.

What the regulation says

It is Article 13 (Measures to Protect Computerized Data), Paragraph 1, Item 8 of the Electronic Financial Supervision Regulations (in Korean). Older material cites it as Item 10. The numbering changed with the February 2025 amendment.

Unpacked, the one sentence says four things.

Reading Article 13, Paragraph 1, Item 8 in parts
PhraseMeaning
Prohibit the use of user information in testingThe principle. Real user information is not used in testing
Information on users that are corporations ... where consent has been obtainedCorporate customer information may be used if consent is obtained through the prescribed procedure
Where unavoidable ... transformed before useIf it is really needed, as in load testing, use it after transforming it
Deleted immediately upon completion of the testDo not keep it once testing is over

ISMS-P (Korea's information security and privacy management certification), which financial companies obtain, has a control pointing the same way. Control 2.8.4 (Test Data Security) of the certification criteria (in Korean) says that "to prevent the leakage of operational data during system testing, procedures for the creation, use and management, disposal, and technical safeguards of test data shall be established and implemented," and 2.8.3 says to separate development and test systems from operational systems in principle.

The sentence is short, but keeping it is hard

The regulation does not say what "transform" means or how much is enough. So interpretations differ in the field, and situations like the following arise.

After transformation, the tests do not work

Replace the back part of a resident registration number (RRN, Korea's national ID number) with asterisks, and you have transformed it. But core banking screens check the RRN format, and messages to external institutions only go out if the number of digits is right. With data whose format is broken, testing stops at the first screen. Then someone suggests using the originals "as an exception, just for this test."

Systems do not match each other

In financial systems, the core banking, information, channel and external interface systems each hold the same customer in a different DB. If each system is transformed separately, the same customer becomes a different person in each system. Interface testing becomes impossible. This problem has the same root as why masking breaks joins.

"Immediately upon completion" is not kept

Tests do not end cleanly. When integration testing ends, acceptance testing follows. After go-live there is a stabilization period, and then the next project inherits the same environment. Deletion is left as nobody's job.

There is nothing to show

What an examination asks is not "did you transform it?" but "how do you know it was transformed?" Who requested it, who approved it, which columns of which tables were changed in what way, and when it was deleted. If you operate with scripts and email approvals, just collecting these answers takes days.

What to have in place in practice

Checklist for financial sector test data
ItemWhat to check
Where transformation happensDoes the transformation finish inside the production network? Do originals never cross to the test network, not even once?
FormatDo transformed RRNs, card numbers and account numbers pass on-screen validation and message specifications?
ConsistencyDoes the same customer change to the same value across multiple systems?
No way backIs the transformation key outside the test environment? Is no mapping table of the transformation stored separately?
Unstructured dataIs user information inside consultation memos, remarks and attached documents also in scope for transformation?
ApprovalDo jobs that read production data run only after approval? Is the request reason kept?
RecordsAre the per-table row counts and applied transformation rules kept for each run?
DeletionDoes test data have a retention deadline, and is it deleted when the deadline passes? Is a record of the deletion kept?
AccessAre accounts on the test DB also separated per person, with distinct permissions?

The first row deserves separate emphasis. Loading a production dump onto a test server and running a transformation script there means user information is in the test environment until the transformation finishes. The transformation has to finish while the data is being moved, on the production side.

More on deletion is in when should used test data be deleted.

The part DataMint Core takes on

DataMint Core is installed on the financial company's internal network. It changes the values read from the production DB while they are being moved and loads them into the test DB, so only changed values cross to the test network. The customer keeps the transformation key.

DataMint Core approval screen showing the job name, requester and request reason of a run request, with approve and reject buttons
Jobs that use production data have to go through approval before they run. The request reason and approval comment are kept together in the run record. (The console is shown in Korean. The data on screen is demo data.)
  • Transformation: RRNs and card numbers change to different values that keep the format and check digit. The same value becomes the same value across tables and DBs.
  • Memos and documents: names and numbers inside long text such as consultation memos, and inside document files, are also found and changed to the same values.
  • Records: each run keeps the requester, the approver, the rows read and inserted per table, and the rows that could not be inserted with the reasons.
  • Deletion: once a retention period is set per DB, test data past the period is deleted automatically, and extensions go through request and approval.
  • Audit trail: changes to jobs, transformation rules and DB connection details, and logins, are recorded.
DataMint Core run detail screen showing the requester and approver and the rows read and loaded per table
Run detail. It is kept for each run in a form that can be presented at an examination.

The product does not do regulatory compliance for you. Judging which tests are "unavoidable" cases, setting the transformation rules and deciding how long the retention period should be are the company's job. The product makes sure that what was decided is executed the same way every time and kept on record.

Closing

The one sentence of the regulation in fact demands three capabilities: transforming in a way that is usable, deleting when done, and showing that you did both. With only the first, you struggle to gather evidence at every examination. If the first is weak, business users ask for the originals. The three have to be tied into one flow to last.

  • #financial sector test data
  • #Electronic Financial Supervision Regulations
  • #user information transformation
  • #ISMS-P test data
  • #financial IT
  • #Korea financial regulation

Reviewing how you handle test data?

Tell us how you do it today and what databases you run, and we will look at the options with you.

More posts