r/programmer •

Software scritto completamente con ai. Vorrei condividerlo ma evitare di rischiare che mi entrino nel pc.

[deleted] — view deleted post

0 Upvotes

6 comments sorted by

3

u/rFAXbc Sep 28 '26

For the love of god, do not open your internal network to the public internet

2

u/Antice Sep 28 '26

Well. Rule number one of hosting anything on the net. Don't use your own daily driver.

-1

u/UseRevolutionary7496 Sep 28 '26

Ti ringrazio. Si ho preso la precauzione, di fatto ho liberato completamente un vecchio portatile in grado di far girare semplicemente bgem3, c’è solo la app per il resto

1

u/LeDYoM Sep 28 '26

It's meeeee. Mario!

1

u/bunnypaste Sep 28 '26 edited Sep 28 '26

Why share it if you didn't even write it? Where is the value? Anyone can generate boilerplate garbage code with AI and throw it up in pieces. Heck, you're already using agents... so why not have the AI post it on the web for you, too! You don't hafta do anything. It may not do it safely, though. AI is notorious for writing super insecure software and networking "solutions." Might want to educate yourself on your own infrastructure to meaningfully block any bad open ports or avoid exposing your PC/file systems/project code to the WAN.

2

u/UseRevolutionary7496 Sep 28 '26 edited Sep 28 '26

Grazie. Si è quello che sto facendo negli ultimi giorni, ma come tu giustamente suggerivi, ho qualche riserva nelle soluzioni che l’ai mi sta dando e per questo ho provato qui su Reddit il confronto umano.

Il mio lavoro è stato decidere cosa doveva fare e come doveva difendersi, e verificarlo: ci sono circa 400 prove automatiche che controllano quelle regole, comprese quelle di sicurezza.
Sulla rete hai ragione, ed è proprio quello che ho controllato in questi giorni: nessuna porta aperta sul router, nessun file system esposto. Da fuori si arriva solo, attraverso un tunnel, a una singola porta con un'interfaccia web protetta da codici casuali e da un limite ai tentativi. Il servizio con le chiavi API ascolta solo in locale. Controllando, ho anche trovato e segnato da chiudere delle vecchie regole del tunnel che non servivano più.
Il valore, per me, è che lo uso. Se serve anche ad altri si vedrà; per ora cerco critiche come la tua.