SShortSingh.
Back to feed

Masking PII Before a Chatbot Replies: A Local Presidio Test

0
·6 views

A developer tested how HoverBot masks personal data in visitor messages before the reply model sees them, using synthetic inputs on November 2. Presidio replaced a sample email address and a test card number with labels, while the surrounding question stayed intact. The approach runs detection in a self-hosted deployment before any external model call, but it only protects the entity types and confidence thresholds chosen. In six probes, a phone-shaped string was missed even though phone numbers were among the selected types, and names, addresses and order numbers were deliberately left unmasked. The author stresses these are too few samples to measure protection rates, and that masking a request does not erase data stored in the application's own records.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Explores Running an AI Gateway and Dev Tools Entirely from an Android Phone

A student developer from Kolkata, Aarush Adhya, has been experimenting with how much programming and AI work can be done using only an Android phone and a terminal. The setup focuses on running Node.js in the terminal so JavaScript scripts and lightweight developer tools can execute directly on the device. The aim is to avoid the need to carry a laptop for quick coding tests and script experiments. The account is shared as a personal write-up on DEV Community, tagged under mobile, AI, programming, and web development.

0
ProgrammingDEV Community ·

Jev and CDMs offer non-generative alternatives to LLMs for narrow model calls

An author building PDF extraction, classification and grounded-content features asks which of three approaches should handle a given call: a standard LLM, TypeSafe's Jev, or ScaleDown's Constrained Decoding Models. Standard LLMs generate output one token at a time, so even short structured answers cost many forward passes, and schema constraints only guarantee the output shape. Jev, released 15 September 2026, returns probabilities rather than text, while ScaleDown's CDMs, launched 13 October 2026, read the input once and return structured values. The author notes that both newer products advertise large speed and cost gains, figures that are vendor-reported and have drawn independent testing and critique. The piece concludes that LLMs suit open-ended, language-heavy or judgment-driven tasks, while the narrow-classification and extraction work the author describes benefits from the faster alternatives.

0
ProgrammingDEV Community ·

Python Script Aims to Automate AWS Cost Auditing Across Accounts

A DEV Community post outlines how recurring configuration gaps can quietly raise AWS bills without any rise in traffic or compute demand. It points to examples such as managed resources that drift past standard support windows and detached storage left behind after instances are terminated. The author suggests replacing manual console checks across regions with a lightweight Python script built on boto3 and pandas. The piece argues that enterprise-scale cost management also requires cross-account role assumption, cost anomaly correlation, and scheduled auditing. It promotes a free open-source CLI on GitHub and a paid enterprise version priced at $99.

0
ProgrammingDEV Community ·

How to Diagnose Email Spam Issues with SPF, DKIM and DMARC

Emails landing in spam can often be traced to misconfigured authentication records. SPF is a DNS TXT record that lists which servers may send mail for a domain, and common errors include exceeding 10 DNS lookups, publishing two SPF records, or using the permissive +all mechanism. DKIM requires publishing a public key under a selector record, which should be at least 1024 bits and preferably 2048. DMARC policies should start in monitoring mode with p=none, using reports to refine the setup before moving to quarantine or reject. Additional factors include matching reverse DNS on sending IPs, avoiding blocklists, supporting TLS, and providing one-click unsubscribe headers for bulk mail as required by Gmail and Yahoo. The article also promotes a free external tool that scores a domain's email setup and shows the DNS fixes needed.