Detect and mask personal information in Japanese text (names, addresses, phone numbers, My Number, bank accounts) before sending it to an LLM, then restore the original values in the answer.
Author: kuronurikun
Version: 0.1.0
Type: tool
Source repository: https://github.com/mamoruveilworks-hub/kuronurikun-dify-plugin
Kuronuri-kun detects personal information in Japanese text and replaces it with placeholders such as before the text reaches an LLM. After the LLM answers, it restores the placeholders to the original values. The same person always gets the same placeholder, so the LLM can still follow who is who.
It recognizes Japanese-specific formats that general-purpose detectors often miss: names (with honorifics, job titles, field labels, and a dictionary of common names), addresses, phone numbers, email addresses, postal codes, dates of birth (including Japanese era dates), My Number, bank accounts, credit card numbers, driver's license numbers, passport numbers, basic pension numbers, and health insurance numbers.
The plugin provides two tools.
Tips:
The plugin calls the HTTPS endpoint ( and ). Your Dify instance must be able to reach this host.
Usage is counted by the number of characters masked; restoring is free. Free: 100,000 characters per month. Lite: 980 JPY per month for 1,000,000 characters. Pro: 4,980 JPY per month for 10,000,000 characters. See https://kuronurikun.com/#pricing
Text is processed in memory in the AWS Tokyo region and is not stored or logged. See PRIVACY.md.
Some outbound calls build their address at runtime, so the list may be incomplete.
Last checked 11/04/2026 01:26 AM · version 0.1.0