Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your trace UI can hide a secret that SQLite still stores

I made a tiny trace store hide a fake token in its display. Then I opened the database through a fresh connection. The token was still there. So was a made-up confidential sentence. The redaction worked exactly where I put it. That was the problem. 🫠 A current DEV discussion about secrets in coding-agent context has a useful thread on canaries: harmless markers placed in a nonproduction workflow…

A developer demonstrated how a trace store can hide sensitive information like tokens while still storing them in a database. Using SQLite, they created a synthetic event with an operation, status, token, and confidential prose. The trace was displayed, but the token and prose remained visible in the database. By comparing the raw database row and the displayed trace, they confirmed that the token was present and the prose was retained.

This example highlights the importance of proper logging practices and the potential risks of exposing sensitive data even when it appears hidden in trace views.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Check a domain's SPF and DMARC from code in 5 minutes (curl, JavaScript, Python)

Two DNS mistakes cause a lot of "why is our mail going to spam?" tickets: Two SPF records on one domain. The SPF spec allows exactly one v=spf1 TXT record.

  • Multiple SPF records cause mail to be routed to spam folder
  • DMARC record needed for domain owner's policy and reports
  • Public DNS-over-HTTPS (DoH) resolver verifies SPF and DMARC quickly

More from Wednesday 28 October →