SShortSingh.
Back to feed

I Built fix-commit: A Git Pre-Commit Tool That Doesn't Just Find Secrets — It Fixes Them

0
·1 views

I Built fix-commit: A Git Pre-Commit Tool That Doesn't Just Find Secrets — It Fixes Them Hardcoded secrets are one of those problems that every developer knows about, but they are still incredibly easy to introduce. It can be as simple as: const API_KEY = "sk-xxxxxxxxxxxxxxxx"; You test your application. Everything works. Then you run: git add . git commit -m "add API integration" git push And now that credential may be sitting inside your Git history.

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 ·

How to scrape product prices, stock and GTIN from any online store

You have a list of product pages from competitors, suppliers or resellers, and you need the price, the stock status and the barcode for each one in a spreadsheet. Copying them by hand works for ten products and falls apart at five hundred. Writing a scraper per store is worse, because every store lays out its pages differently. There is a shortcut. Most online stores already publish their product data in a machine readable form (Schema.org product markup and Open Graph product tags), because search engines and social previews need it.

0
ProgrammingDEV Community ·

How I Fixed My Drawing Tablet by Patching systemd's Hardware Database

I decided to take a break from tech and try my hands with something new, like digital art. So I fished out my drawing tablet from the bottom of the cupboard (it had been lying there collecting dirt for years). Naturally, my Linux config started out by rejecting it. I wanted to draw on Krita, so I connected the tablet to my laptop via USB. The lights on the tablet turned on, and I naively assumed that it was a good sign.

0
ProgrammingDEV Community ·

From APIs to AI Agents: How My Skills Apply to Today’s Software World

I’ve spent the past few years learning by building. Rather than limiting myself to one area of software development, I’ve explored backend engineering, frontend development, APIs, databases, cloud deployment, automation, AI agents, and cybersecurity. What I’ve realized is that these skills are becoming increasingly interconnected. Today, building a useful application isn't just about writing code. It can involve designing an API, creating a user interface, connecting databases, deploying to the cloud, automating repetitive processes, and increasingly, integrating AI into the workflow.