SShortSingh.
Back to feed

Developer finds 374 of 412 privacy scan hits traced to one repeated line of build tooling

0
·1 views

A developer running a pre-publication privacy scan on a code repository flagged 412 hits across 16 files, initially suggesting widespread issues requiring extensive review. Closer analysis revealed 374 of those hits were the same single line — a build tool emitting an absolute home directory path — repeated across 208 logged control runs. Rather than resetting the append-only log to hide the leak, the developer chose to exclude the private log from publication and start a fresh public log using a relative path token, preserving the integrity of both records. The generator was fixed to emit a repo-relative token instead of an absolute path, resolving the root cause with one code change. The incident highlighted that build tools and test harnesses, unlike application code, are rarely reviewed for what they write into permanent logs.

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 ·

Cuban Developer Builds Homegrown Social Network to Bypass Connectivity Barriers

Frank, a developer based in Havana, Cuba, has built Boniatillo, a microblogging social network designed specifically for Cuban internet conditions. The platform addresses local challenges such as slow mobile connections, expensive data costs, and the absence of international payment gateways like Stripe or PayPal. Boniatillo supports text posts, images, short videos, and polls, while enabling creators to earn money through tips and paid subscriptions via Transfermóvil, Cuba's national payment system. Built entirely in vanilla PHP 8.3 without any framework, the platform aggressively optimizes media — compressing images by up to 99% and capping 15-second videos at around 300 KB. Since launching, Boniatillo has attracted over 150 registered users and is growing at roughly three to four new users per day.

0
ProgrammingDEV Community ·

Developer Launches Personal Portfolio Site After Iterative Design and Rebuilding

A developer named Farid Teymouri has launched his personal portfolio website at faridteymouri.com after an extended process of coding, learning, and redesigning. The site was intentionally built to go beyond a basic profile page, aiming to showcase projects, technical experiences, case studies, and ongoing learning. Teymouri describes software development as a continuous journey and views the portfolio as a space to document that path over time. He has indicated plans to keep improving the site and adding more projects along with the stories behind them.

0
ProgrammingDEV Community ·

Vectorless RAG Uses Document Structure Instead of Embeddings for Smarter Retrieval

Traditional Retrieval-Augmented Generation (RAG) splits documents into chunks, converts them into vector embeddings, and retrieves the most semantically similar chunk to answer a query. However, this approach has known limitations, including fragmented context from chunking, semantic similarity not always equating to relevance, and opaque retrieval that lacks traceability. Vectorless RAG addresses these issues by treating a document as a structured hierarchy — similar to a table of contents — rather than a flat collection of chunks. An LLM navigates this document tree using reasoning to identify the most relevant section, enabling answers to be traced back to their exact source. The two approaches are not mutually exclusive; depending on the use case and data type, traditional vector search and Vectorless RAG can be used together.

0
ProgrammingDEV Community ·

Material Foundation Package Brings Adaptive Layouts to Flutter Apps Across Devices

A lightweight Flutter package called Material Foundation helps developers build interfaces that adapt across mobile, tablet, and desktop screen sizes. The package provides two key widgets — DynamicLayoutBuilder and DynamicScaffold — which select appropriate layouts based on available screen width. It uses Flutter's LayoutBuilder constraints, switching between mobile, tablet, and desktop compositions at customizable breakpoints of 740px and 1200px. Developers supply separate widget bodies for each screen size, keeping adaptive logic cleanly separated from layout details. The package is available via GitHub and integrates into standard Flutter projects through pubspec.yaml.