Petre Sosa (@pe3sos) header
Petre Sosa (@pe3sos) profile picture

AI • Engineering • Shipping • Cloud • Infra • Security Building ideas into products DM for collabs

Bucuresti,Romania
Joined October 2009
Photo by Petre Sosa (@pe3sos)Photo by Petre Sosa (@pe3sos)Photo by Petre Sosa (@pe3sos)Photo by Petre Sosa (@pe3sos)Photo by Petre Sosa (@pe3sos)Photo by Petre Sosa (@pe3sos)Photo by Petre Sosa (@pe3sos)
The truths of the AI era 1. AI won't replace every developer. But developers who understand how to use AI might replace those who don't. 2. The bottleneck in software development is gradually moving from writing code to deciding what code should exist. 3. Code generation is becoming cheap. Good judgment is becoming expensive. 4. The future won't belong to the developer who knows the most syntax, but to the one who can turn ambiguity into working software.
1
1
2
30
Your chatbot renders the model's answer as markdown. A prompt injection makes it output an image whose URL contains the user's data. The browser loads it. Data gone, no click needed. Model output is untrusted input. Sanitize it like user input.
4
5
110
What productivity habit did you drop because it only felt productive? I'll start: watching productivity videos instead of being productive 😂
3
4
124
What's the most pointless security rule you've had to follow at work? I’ll start with mine: forced password change every 90 days. Everyone just bumps the number at the end 😅
6
6
424
Buyers can't tell if a small startup is safe. So they assume it isn't. Put a security page on your site: how you handle data, MFA, backups, who to email about a bug. It answers the first questions before anyone has to ask.
1
1
63
Your admin panel session lasts 30 days. So a stolen laptop, a shared computer or one stolen cookie gets 30 days of admin. Keep admin sessions short. Ask for MFA again before anything destructive.
51
Your app lets users upload and share files. Nice. Then someone uses it to host malware. Your domain lands on a browser blocklist, and every user gets a red warning page. Scan uploads, rate limit sharing, and serve user files from a separate domain.
4
4
244
Count the extensions in the browser where you're logged in to your admin panel. Many can read every page you open. Extensions get sold, and the new owner pushes an update. Use a separate browser profile for admin work. No extensions in it.
2
1
66
A customer asks: "Where is my data, and who can see it?" You say Postgres. Also: Stripe. Your support tool. Your logs. The error tracker. Your AI provider. Three spreadsheets on your laptop. Make that list now, before someone asks.
10
10
282
"Uptime: 900 days." Not a flex. That's 900 days of security updates you never installed. Turn on automatic updates. Reboot on a schedule. A server that can't survive a restart is already broken.
3
6
88
Someone wants to buy your startup. Their security team starts due diligence. They find the root key from 2021. The admin password in the repo. Customer data in a spreadsheet on your laptop. The price drops. Or the deal dies. Clean up before anyone asks.
9
4
144
Someone registers your startup's name with one letter swapped. Then they email your customers: "New bank details for invoices." DMARC can't stop this. It's not your domain. Tell customers now: you'll never change bank details by email.
10
8
317
GTA 6 dropped today, so here's my character intro 👇 Name: Petre Class: DevOps / Security Special ability: keeps prod alive Weakness: Friday deploys Wanted level: ⭐⭐⭐⭐⭐ for running queries directly on prod
3
6
245
Before you send a meeting invite, write one line in it: "By the end, we'll have decided ___." If you can't fill in the blank, it's not a meeting. It's a message.
5
6
248
Petre Sosa retweeted
- Restaurants have no moat. - Anyone can vibecook their own meal. - You can build your own burger at home at a fraction of the cost it takes you to get it from a restaurant. - If a restaurant builds a really good recipe, copycats will instantly reverse taste it and steal it. Restaurants are dead.
356
616
160
9,065
463,796
The install guide says: curl ... | sh You just ran a stranger's script as your user, with your SSH keys and cloud credentials in reach. Download it. Read it. Then run it.
4
5
204
Users can upload a profile picture. Someone uploads an SVG. SVG can contain JavaScript. If you serve it from your main domain and someone opens it, the script runs on your domain. Serve uploads from a separate domain. Never trust the file extension.
3
5
180
Which dependency are you too scared to upgrade?
12
7
432
You fixed the auth bug in /v2. /v1 still runs the old code because one customer never migrated. Attackers don't use your newest API. They use the oldest one you forgot to turn off.
7
5
258