Logo Data Dlp Monitor

Data Dlp Monitor

Tổ chức
Navinspire-ia
data-dlp-monitor

Phân loại dữ liệu và theo dõi rò rỉ, thất thoát dữ liệu. Tìm dữ liệu cá nhân, tài chính và bí mật bằng các bộ phát hiện đã được kiểm chứng (IBAN mod 97, khóa NIR của Pháp, SIREN/SIRET và kiểm tra Luhn cho thẻ thanh toán, email, số điện thoại Pháp, khóa AWS, JWT, khóa riêng tư, thuật ngữ trong Điều 9 RGPD), đề xuất các cấp độ Public/Internal/Confidential/Restricted, rà soát chính sách và nhãn DLP của Microsoft Purview, infoTypes của Google Cloud DLP, kết quả từ AWS Macie, Nightfall và gitleaks; đồng thời phát hiện dấu hiệu thất thoát dữ liệu (lưu lượng vượt mức thông thường của từng người dùng, hoạt động ngoài giờ, đích đến mới, nén tệp rồi tải lên, DNS tunneling, đám mây cá nhân, prompt gửi cho LLM) kèm quy trình ứng phó phù hợp với RGPD, CNIL, NIS2 và DORA. Dùng khi bạn yêu cầu “quét thư mục này để tìm dữ liệu cá nhân”, “phân loại các tệp này”, “kiểm tra chính sách DLP của chúng ta”, “tìm dấu hiệu thất thoát dữ liệu trong nhật ký truyền tải này”, “repo này có chứa bí mật nào không” hoặc chia sẻ bản xuất có thể chứa dữ liệu nhạy cảm. Bằng tiếng Pháp: “classifier les donnees”, “detecter une fuite de donnees”, “verifier les politiques DLP”.

Add to TypingMind

Tổng quan

Nhà phát hànhNavinspire-ia
Kho mãnavin
Tên kỹ năngdata-dlp-monitor
Sao
37
Bản fork
5
Tệp đi kèm
10
Giấy phépAGPL-3.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 10 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Navinspire-ia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Data Dlp Monitor trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Navinspire-ia/navin/tree/main/navin/skills/data-dlp-monitor
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Navinspire-ia/navin.git /tmp/navin
mkdir -p .claude/skills
cp -r /tmp/navin/navin/skills/data-dlp-monitor .claude/skills/data-dlp-monitor
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Data Dlp Monitor trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Data Dlp Monitor ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Data Dlp Monitor với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Data Classification and DLP Monitor

Overview

Find where sensitive data lives, say how sensitive it is, verify that the controls on each egress channel match that sensitivity, and detect the behaviours that precede a leak. The default posture is read-only and evidence-based: scan copies, read policies and logs, compute baselines, and report counts and redacted samples. Nothing is blocked, quarantined, labeled, deleted or rotated, and no DLP policy is created or changed, without the user's approval of the exact action; raw sensitive values never appear in the deliverable.

When it applies

  • A folder, bucket, share, database export or repository must be inventoried for personal data (RGPD art. 4), special categories (art. 9), banking and card data, or secrets before a migration, an audit or a records-of-processing update (art. 30).
  • A DLP program must be reviewed: Purview labels and policies, Cloud DLP jobs, Macie findings, CASB upload rules, gitleaks in CI.
  • Transfer logs (proxy, CASB, mail trace, EDR file events, CloudTrail) must be analysed for exfiltration by an insider, a compromised account or malware.
  • An incident needs the data qualified: which types, how many subjects, which tier, so the DPO can decide on CNIL notification (art. 33, 72 hours) and NIS2 or DORA reporting.
  • A team wants to know what may be pasted into a public LLM, committed to GitHub or sent to a personal address, and what control enforces it.

Out of scope: legal advice on the lawful basis of a processing (the DPO decides; the skill supplies the facts) and endpoint forensics beyond the file events.

Engines and sources

EngineInterfaceUse
Bundled detectorsscripts/classify_scan.py (regex plus checksum validators, stdlib)first pass on any text-like copy: CSV, JSON, logs, SQL dumps, Markdown, code, .env
Bundled egress analysisscripts/egress_baseline.py on a CSV timestamp,user,destination,bytes,channel[,filename]z-score per user, new destination, off-hours, personal cloud, archive, DNS volume, bursts
Microsoft PurviewSecurity & Compliance PowerShell Get-Label, Get-LabelPolicy, Get-DlpCompliancePolicy, Get-DlpComplianceRule, Get-DlpDetailReport; Advanced Hunting CloudAppEvents (DlpRuleMatch) and DeviceEvents (Dlp* actions)labels, SITs, policy modes, Endpoint DLP restrictions, match volumes
Google Cloud Sensitive Data ProtectionPOST https://dlp.googleapis.com/v2/projects/{project}/locations/{location}/content:inspect with inspectConfig.infoTypes (FRANCE_NIR, IBAN_CODE, CREDIT_CARD_NUMBER, EMAIL_ADDRESS, AWS_CREDENTIALS, JSON_WEB_TOKEN), dlpJobs, jobTriggers, discovery profiles; gcloud dlpinspection of GCS and BigQuery, sampling, de-identification
AWS Macieaws macie2 list-findings, get-findings, describe-buckets, list-classification-jobs; managed identifiers FRANCE_NATIONAL_IDENTIFICATION_NUMBER, CREDIT_CARD_NUMBER, AWS_CREDENTIALS, PRIVATE_KEYS3 discovery and bucket exposure
NightfallPOST https://api.nightfall.ai/v3/scan with detectionRules, Authorization: Bearer $NIGHTFALL_API_KEYSaaS DLP (Slack, Drive, GitHub, Jira) and ad-hoc scans
gitleaksgitleaks detect --source . --redact --report-format json --report-path gitleaks.json, gitleaks protect --stagedsecrets across git history and in pre-commit
Telemetry for exfiltrationDefender for Cloud Apps CloudAppEvents (FileUploaded), Exchange MessageTrace and Unified Audit Log (New-InboxRule), Zscaler/Netskope proxy logs, Sysmon 11/22, CloudTrail GetObject, DNS resolver logs, GitHub audit log git.pushinputs to the egress CSV

Navin integration:

  • aws macie2, gcloud dlp, az and kubectl commands run through the infra tool at level observe; creating a Macie job, a Cloud DLP job trigger or a bucket policy is prepare then execute after approval.
  • Purview and Exchange cmdlets run in the user's own PowerShell session; the skill supplies the exact command and reads the pasted output.
  • Slack, GitHub, Jira, Notion and Gmail are reached with the connectors tool (for example GitHub security_and_analysis.secret_scanning_push_protection.status, Slack delivery of the report).
  • API keys (NIGHTFALL_API_KEY, GOOGLE_APPLICATION_CREDENTIALS, AWS_PROFILE) come from environment variables and are never printed.
  • Missing CLIs (gitleaks, aws, gcloud, jq) are installed with the toolbelt skill.
  • Large exports (a 2 GB proxy log, a SQL dump) are searched with the grep tool (pattern="FR76|AKIA|BEGIN .*PRIVATE KEY") and sampled before any read_file; the scanner's --max-size-kb skips files above the limit so the agent decides how to sample them.

Workflow

  1. Define the scope and the copies. List the locations (paths, buckets, repositories, mailboxes, log sources), the period and the legal context (which processing, which DPO, which contract). Work on read-only copies or exports; never scan production databases directly without the owner's agreement, and never move Restricted data out of the customer's environment.
  2. Scan for data types. Run python3 scripts/classify_scan.py examples/sample_data --redact --output /tmp/classification.md on the copies (--json for machine output, --include to pick globs). The script reports counts per type and file, the legal basis of each type, a proposed tier and one masked sample per type when --redact is passed; without --redact no value at all is printed. Exit 1 means Confidential or Restricted data is present.
  3. Confirm the tier with the owner. Apply the tier matrix below; a bulk dataset (more than 50 distinct NIR, IBAN or PAN, or more than 1 000 data subjects) is Restricted regardless of individual types. Record the data owner, retention and the processing in the records (art. 30) for each Restricted or Confidential location.
  4. Map channels and controls. For each location, list the channels through which the data can leave (references/channels-controls.md) and check the control that exists on each: Purview policy mode and Endpoint DLP restrictions, CASB upload rules, USB device control, auto-forward settings, push protection, LLM domain blocks. Read the policies with the cmdlets and queries in references/purview-gcp-dlp.md. A control in TestWithNotifications mode or a policy without the relevant SIT is "not enforced".
  5. Compare detectors. Where a vendor engine is in place, run the same sample through it (Cloud DLP content:inspect, Macie job on a sample prefix, Purview SIT test in the compliance portal) and compare with references/detectors.md; list the types the vendor misses (SIRET, SIREN, special-category vocabulary) and the custom SIT or infoType that closes the gap.
  6. Build the egress baseline. Export transfers for the period to a CSV with timestamp,user,destination,bytes,channel[,filename] (channel values: email, saas_upload, usb, cloud_storage, llm_prompt, git_push, print, dns, other) and run python3 scripts/egress_baseline.py examples/transfers.csv --output /tmp/egress.md (--json, --z-threshold 3.0, --min-history 5, --work-hours 7-20, --personal-domains for customer-specific additions). Correlate the top anomalies by hand with HR events (leavers, movers) and the change calendar (migrations, backups).
  7. Qualify each anomaly: sanctioned job, policy violation without malice, insider exfiltration, compromised account or malware. For the last three, follow the response playbook in references/channels-controls.md: preserve evidence, qualify the data with the scanner, propose containment actions for approval, and give the DPO the facts for the art. 33 decision.
  8. Write the deliverable; hand detection gaps (new destination alerting, DNS volume rule, inbox-rule alert) to the siem-edr-connector skill as proposed rules, and the secrets found in repositories to rotation by their owners.

Tier matrix:

TierContentHandling
Publicpublished material, no personal datano restriction
Internalbusiness data without personal data, public-register identifiers (SIREN, SIRET), internal documentationinside the organisation; no personal cloud
Confidentialdirectly identifying personal data (name with e-mail, phone, address, date of birth), IBAN, contracts, source codeneed-to-know, encryption in transit, label applied, DLP policy in audit or block
Restrictedsecrets and keys, payment card PAN, NIR, health, union, religion, sexual orientation, biometric data (art. 9), criminal data (art. 10), bulk personal datasetsnamed access, encryption at rest and in transit, DLP block on every channel, logging of access, no copy outside the controlled environment

Rules

  • Checksum validation is mandatory before counting a numeric identifier: a 14-digit SIRET passes the payment-card regex and often Luhn; the scanner resolves this by matching SIRET first and never reusing a span. Apply the same order when writing custom SITs or infoTypes (hotword rules, exclusion rules).
  • Count distinct values and data subjects, not matches; the notification decision depends on subjects.
  • Test values from documentation (4111 1111 1111 1111, AKIAIOSFODNN7EXAMPLE, FR76 3000 6000 0112 3456 7890 189) are reported in code repositories because they show a pattern, and marked as known samples in the table.
  • A secret found anywhere in git history is compromised even when a later commit removed it: the fix is rotation, then history rewrite only if the repository is private and every fork is controlled.
  • Special-category vocabulary alone (a health policy document) is not art. 9 data; the same words next to an identifier in a record are. Report the context, not the word count.
  • Purview TestWithNotifications and Cloud DLP inspect without a job trigger do not prevent anything; the deliverable says "detects" or "blocks", never "protects".
  • Encryption by a label breaks downstream inspection by CASBs and mail gateways; when a label encrypts, verify that the egress inspection is done before encryption (Exchange transport) or by Purview itself.
  • An egress baseline needs at least 5 days of history per user; the first days of a new user are learning days, not anomalies. A z-score computed on a user with a constant daily volume is infinite on the first change: the script reports it as z=inf with the ratio, read the volume column.
  • Off-hours are evaluated in UTC by the script; convert the --work-hours window from the users' local timezone (France: 06-19 UTC in winter, 05-18 UTC in summer for a 07:00 to 20:00 day).
  • Personal data in the transfer logs themselves (user names, destinations) is a processing: keep the CSV in the customer's environment and delete it at the end of the engagement per the agreed retention.
  • Notification deadlines: RGPD art. 33 within 72 hours of awareness to the CNIL (teleservice on cnil.fr), art. 34 to the persons when the risk is high; NIS2 art. 23 early warning in 24 hours, incident notification in 72 hours, final report in one month; DORA art. 19 initial notification within 4 hours of classification as major and 24 hours of awareness. The report gives the timestamps that start these clocks.

Deliverable

A Markdown report with these sections:

  1. Scope: locations, copies used, period, owners and DPO, tools queried, locations not assessed.
  2. Classification table:
LocationProposed tierData types (type x distinct count)Data subjects (estimate)Legal basis / regulationOwnerExisting labelAction proposed
  1. Channel control matrix:
ChannelTier requiredControl in placeMode (block / audit / none)Evidence (policy name, cmdlet output)Gap
  1. Exfiltration anomalies:
ScoreUserDayDestinationChannelVolumeSignalsQualification (sanctioned / violation / insider / compromise)Evidence (CSV lines, log ids)Next step
  1. Secrets found: rule id, file, commit, author, age, rotation owner, push-protection status.
  2. Notification assessment: facts for the DPO (types, subjects, encryption state, destination, awareness timestamp) and the applicable deadlines.
  3. Proposed changes awaiting approval: policy payloads, blocks, rotations, each with owner and rollback.

When the user wants an HTML report, hand the same sections to the studio-html-report skill. Samples in the report are redacted (FR76****89), never full values.

Resources

  • scripts/classify_scan.py - scan a file or folder with the validated detectors, propose a tier per file, --redact masked samples, --json, exit 1 on Confidential or Restricted. Run at step 2 and during incident qualification.
  • scripts/egress_baseline.py - transfers CSV to scored anomalies with reasons (volume z-score per user, new destination, off-hours, personal cloud or LLM destination, archive or encrypted container, USB size, DNS volume, bursts); Markdown or --json, exit 1 when anomalies exist. Run at step 6.
  • examples/sample_data/ - four files for the scanner: examples/sample_data/clients_export.csv (IBAN, NIR including a Corsican 2B number, e-mails, phones, art. 9 mentions), examples/sample_data/fournisseurs.md (SIREN and SIRET), examples/sample_data/deploy_notes.txt (AWS key pair, JWT, GitHub token, test card, private key) and examples/sample_data/release_notes.md (public, no detection).
  • examples/transfers.csv - 140 transfers for three users over two weeks with a planted off-hours upload of archives to Google Drive and Mega, a DNS tunneling day, a large LLM prompt and a chunked WeTransfer burst.
  • references/detectors.md - regex and validation for every type, checksum code, mapping to Purview SITs, Cloud DLP infoTypes, Macie identifiers and gitleaks rules, false-positive tuning. Open at steps 2 and 5.
  • references/channels-controls.md - channel by channel telemetry, preventive and detective controls, behavioural signals with thresholds, response playbook with notification duties. Open at steps 4 and 7.
  • references/purview-gcp-dlp.md - Purview cmdlets and KQL, Endpoint DLP actions and policy design, Cloud DLP content:inspect body with custom infoTypes and hotwords, Macie CLI, Nightfall scan API, gitleaks commands and report fields. Open at steps 4 and 5.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Data Dlp Monitor làm được gì?

Phân loại dữ liệu và theo dõi rò rỉ, thất thoát dữ liệu. Tìm dữ liệu cá nhân, tài chính và bí mật bằng các bộ phát hiện đã được kiểm chứng (IBAN mod 97, khóa NIR của Pháp, SIREN/SIRET và kiểm tra Luhn cho thẻ thanh toán, email, số điện thoại Pháp, khóa AWS, JWT, khóa riêng tư, thuật ngữ trong Điều 9 RGPD), đề xuất các cấp độ Public/Internal/Confidential/Restricted, rà soát chính sách và nhãn DLP của Microsoft Purview, infoTypes của Google Cloud DLP, kết quả từ AWS Macie, Nightfall và gitleaks; đồng thời phát hiện dấu hiệu thất thoát dữ liệu (lưu lượng vượt mức thông thường của từng người dù...

Vì sao nên dùng Data Dlp Monitor trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Data Dlp Monitor là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Data Dlp Monitor trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Navinspire-ia/navin/tree/main/navin/skills/data-dlp-monitor. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Data Dlp Monitor?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Data Dlp Monitor với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Data Dlp Monitor với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Data Dlp Monitor có miễn phí không?

Có. Kỹ năng này được Navinspire-ia phát hành trên GitHub theo giấy phép AGPL-3.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇