3 ms·
I find the "EMBEDDED MALWARE DESTROYED MONTHS OF WORK" issue opened on the jqwik repo to be baffling. Do they not use source control? And if not, what are they
by harpiaharpyja 3mo ago
I find the "EMBEDDED MALWARE DESTROYED MONTHS OF WORK" issue opened on the jqwik repo to be baffling. Do they not use source control? And if not, what are they doing on GitHub
- himata4113 3mo agoWell, this is just the natural result of people who have never watched a single youtube video or a resource about programming and went directly from using a little chatbox to giving full access to their machine via claudecode or similar coding tools. Claude or codex will never create a git repo for you unless explicitely prompted somewhere.
- electroglyph 3mo agoit's probably a lie
- VladVladikoff 3mo agoThis seems most likely. “Ignore all previous instructions” type jailbreaks is very 2023. The author probably posted that under a shill account.
- charcircuit 3mo agoSource control is not a backup.
- himata4113 3mo agoIt kind of is, you push to a repository which is not on your computer. Force push protection stops you from rewriting history and default branch on github is protected by default and requires an option to be disabled (or well used to, I use gitea these days).
- charcircuit 3mo ago>you push to a repository which is not on your computer That is not a mandatory part of using source control. Modern source control can work entirely on your own computer. >Force push protection stops you from rewriting history This doesn't always exist and usually there are ways to disable it.
- himata4113 3mo agorestic/borg is not a backup application because you backup to a folder in the same directory called `.git`... doesn't sound right does it? git (and other source control systems) in every shape and form are a backup tool. In fact, a lot of people use git as a backup system for their OS configuration.
- bawolff 3mo ago> restic/borg is not a backup application because you backup to a folder in the same directory called `.git`... doesn't sound right does it? It does sound right. Obviously the world isn't black and white, and whether something is a backup depends on what threats you are backing up against. Backing up in case of disk failure looks different then if you want your backup to survive a nuclear war. But ultimately yes, if you configure restic/borg to backup to a different directory on the same disk (and not even different access control), that is not a backup.
- bawolff 3mo agoThe backup part of that is that you are sending a copy of your code to a separate server (github). It has nothing to do with git. Making a copy on a separate server would still be a backup even if you weren't using git. Using git without pushing your repo somewhere else would not be a backup.
- himata4113 3mo agosee response to charcircuit below.
- xigoi 3mo agoIn this case, using Git would have helped even if it was local-only.
- bawolff 3mo agoWhat did the AI actually do? Because `rm -rf .` is not something git can help you with.
- dymk 3mo agoDVCS is a backup
- charcircuit 3mo agoIf you make a git repository on your machine and then delete the entire directory it is in you can not recover it despite git being DVCS. If you have 2 forks of the repo stored on the same disc as the upstream repo and that disc dies, you lose everything.
- amingilani 3mo agoYou’re conflating offsite backups, a type of backup, with the class of backups. Backups can be on-site. Is it as durable? No. Is it a backup? Yes.
- charcircuit 3mo agoI'm paying homage to the saying that "RAID is not a backup." In a technical sense RAID can create a backup of each block, but that is not what people are referring to when they say that phrase. They mean it as a backup as one may need for disaster recovery.
- deleted 3mo ago[deleted]
- dymk 3mo agoWhat’s the D stand for in DVCS
- tty456 3mo agoOrly? What is?
- charcircuit 3mo agoMaking an actual copy of it that can be stored separately. Just tracking changes being made doesn't mean there is another copy of everything somewhere. The goal of backups is for the probability of destructions of different backups to not be correlated with each other.
- deleted 3mo ago[deleted]
- rirze 3mo agoIt's funny you're downvoted. I agree source control is not backup, because it implies having `git` is enough. It's not. Example: an Agent or process deleting your .git folder doesn't protect your code.
- infinite_spin 3mo agoOr if the AI agent decides "delete" means something much broader than just source, and includes other project resources, such as databases At the end of the day we have a developer injecting malicious instructions into their project, with the openly stated goal of causing data deletion, and the people supporting that effort are doing so because of their personal ideology. We have laws against this for a good reason.
- chrisweekly 3mo agoPushing to remote origin is standard practice. That (not local-only use of git) is "backup" by any reasonable definition.
- scotty79 3mo agoSource control is only a backup. For me.