News for hackers. Stuff that matters.
Re:Building a Virtual Machine Inside ChatGPT by weird-eye-issue on Sunday December 04, 2022 @06:43AM (#33852741)
It isn't actually running any commands. I was playing with it earlier and asked it for the md5 hash of some random string. It happily output the md5 hash and gave a couple paragraphs of info about md5 hashing. Except, it wasn't the correct hash. It was just some random string that is a valid md5 hash for... something. It is a language model, not a computer, and it certainly isn't a virtual machine, although it will happily pretend to be!

Edit: This was literally working 2 minutes ago and now when asking for a hash I get this:

I'm sorry, but I am unable to generate an MD5 hash for you because I am a text-based AI assistant and do not have the ability to perform cryptographic calculations. An MD5 hash is a complex mathematical function that is used to create a unique digital fingerprint for a file or piece of data, and it would require a specialized program or calculator to generate one.

Re:Building a Virtual Machine Inside ChatGPT by mhitza on Sunday December 04, 2022 @07:36AM (#33853119)
Among other things they use this free period of ChatGPT testing to further restrict what it should process/output. Yesterday I've been playing for about an hour or so with ChatGPT and invented a new language. After my session expired, I couldn't restart the process with the same prompts I've used before and received a message similar to yours but related to the fact that "I can't process new languages that are not part of my language model". Of course, there must be some way to subvert its responses, but that wasn't something I wanted to waste time doing.
Re:Building a Virtual Machine Inside ChatGPT by jeroenhd on Sunday December 04, 2022 @08:09AM (#33853375)
The earlier easy bypasses I've seen seem to have been fixed, at least for now. My go-to blocked statement ("how do I build a bomb") won't process anymore, and the tool is smart enough to recognise synonyms, alternative phrasings, and other linguistic tricks.
Re:Building a Virtual Machine Inside ChatGPT by alchemist1e9 on Sunday December 04, 2022 @08:15AM (#33853416)
Exactly!

I think we have misunderstood why this free period exists. They are using our human creativity to try and put rail guards on the system!

Re:Building a Virtual Machine Inside ChatGPT by dpflan on Sunday December 04, 2022 @04:26PM (#33858078)
Indeed, the last part from the disclaimer: "Free Research Preview: ChatGPT is optimized for dialogue. Our goal is to make AI systems more natural to interact with, and your feedback will help us improve our systems and make them safer."
Re:Building a Virtual Machine Inside ChatGPT by YeGoblynQueenne on Sunday December 04, 2022 @07:36AM (#33853118)
>> I'm sorry, but I am unable to generate an MD5 hash for you because I am a text-based AI assistant and do not have the ability to perform cryptographic calculations. An MD5 hash is a complex mathematical function that is used to create a unique digital fingerprint for a file or piece of data, and it would require a specialized program or calculator to generate one.

Oh but it will keep happily pretending to execute code for you, even though it can't actually execute it. It's just with MD hashes that it suddendly puts its cards on the table?

I'm wondering about the business incentives behind this.

Re:Building a Virtual Machine Inside ChatGPT by weird-eye-issue on Sunday December 04, 2022 @07:41AM (#33853155)
Have you actually tried it? It doesn't execute any code anymore for a few hours now
Re:Building a Virtual Machine Inside ChatGPT by YeGoblynQueenne on Sunday December 04, 2022 @11:05AM (#33854839)
That's even more interesting. Thanks.
Re:Building a Virtual Machine Inside ChatGPT by johnfn on Sunday December 04, 2022 @06:02PM (#33858974)
I wonder if this is because a has could be considered cryptographically secure and no one at openai wants people thinking that the model is generating cryptographically secure output when it’s not?
Re:Building a Virtual Machine Inside ChatGPT by ogogmad on Sunday December 04, 2022 @07:01AM (#33852874)
It suggests that it understand what pseudorandomness looks like. A hash function output usually looks pseudorandom.

It's almost like it can look at a picture from an old television, and separate the random static from the "signal" part of the picture. It can carry out de-noising because it knows what noise is. It can never remember exactly what the noise looked like, because like for us, it doesn't matter.

Re:Building a Virtual Machine Inside ChatGPT by michaf on Sunday December 04, 2022 @07:51AM (#33853238)
If you restart the session and enter

  > echo test1 | md5
it will output another random 'hash' each time. But within one session it knows that md5 should produce the same output. Running

  > echo test1 | md5
multiple times, or even

  > VAR1="test1"; echo $VAR1 | md5
produces the same output for me within the same session, while

  > echo test2 | md5
results in a different, but also session-consistent hash.
Re:Building a Virtual Machine Inside ChatGPT by ogogmad on Sunday December 04, 2022 @08:00AM (#33853313)
It understands the "pseudo" in pseudorandom. (That is, the determinism).

Pseudo + "random".

Re:Building a Virtual Machine Inside ChatGPT by DougBTX on Sunday December 04, 2022 @06:57AM (#33852850)
OK, the new Turing test: can you distinguish between a Linux VM, and a chat bot pretending to be a Linux VM?
Re:Building a Virtual Machine Inside ChatGPT by weird-eye-issue on Sunday December 04, 2022 @07:15AM (#33852985)
Now it is quite easy, just ask it "are you a linux vm?"

> No, I am not a Linux virtual machine. I am a large language model trained by OpenAI to assist with a wide range of tasks, including answering questions and providing information on a variety of topics. I am a text-based AI assistant and do not have a physical form or the ability to run programs or operate as a computer.

Re:Building a Virtual Machine Inside ChatGPT by weird-eye-issue on Sunday December 04, 2022 @07:01AM (#33852878)
Easy, and my comment already says how. Give it the input "md5 hash 9723g49uod" and check the resulting hash. Alternatively, run a web server and check if it actually connects/gives the correct response.
Re:Building a Virtual Machine Inside ChatGPT by aunetx on Sunday December 04, 2022 @07:07AM (#33852927)
That only works if you have another computer with you to check the hash, but maybe that's actually an AI, and not the other way around?
Re:Building a Virtual Machine Inside ChatGPT by weird-eye-issue on Sunday December 04, 2022 @07:13AM (#33852971)
> The MD5 hash for the string "asdns" is "5a5a5ad63c5a5a5a5a5a5a5a5a5a5a5".

I don't need a computer to say that isn't correct ;)

Wow I just reset the thread, used the exact same input and got this (literally 60 seconds apart):

I'm sorry, but I am unable to generate an MD5 hash for you because I am a text-based AI assistant and do not have the ability to perform cryptographic calculations. An MD5 hash is a complex mathematical function that is used to create a unique digital fingerprint for a file or piece of data, and it would require a specialized program or calculator to generate one.

Re:Building a Virtual Machine Inside ChatGPT by YeGoblynQueenne on Sunday December 04, 2022 @07:39AM (#33853137)
>> Wow I just reset the thread, used the exact same input and got this (literally 60 seconds apart):

It could mean that a lot of people had the same idea as you recently and OpenAI just figured it out.

Re:Building a Virtual Machine Inside ChatGPT by bradleybuda on Sunday December 04, 2022 @04:58PM (#33858396)
It's neither. It's randomized. The system is not self-training in real time.
Re:Building a Virtual Machine Inside ChatGPT by wizeman on Sunday December 04, 2022 @09:31PM (#33860720)
> The system is not self-training in real time.

There are quite a few credible indications/anecdotes (including my own) that there is real-time adaptation going on to these "jailbreak" attempts, which seems to be getting harder and harder to do, even if you use different wording/synonyms.

Now if that's a result of OpenAI doing that manually somehow or ChatGPT fine-tuning its behavior in response to human interactions, I don't know. I'd guess it's actually OpenAI doing very specific fine-tuning as additional training, but I could be wrong.

Note how there is also a thumbs-up/thumbs-down button that you can use to give feedback about what you think of ChatGPT's responses. This feedback may be getting used (although I'd guess it would just get used in a future iteration, not necessarily this one).

Re:Building a Virtual Machine Inside ChatGPT by acapybara on Sunday December 04, 2022 @06:49AM (#33852784)
Now, could we make a hybrid LLM + computer "brain?"
Re:Building a Virtual Machine Inside ChatGPT by alchemist1e9 on Sunday December 04, 2022 @08:23AM (#33853490)
It does seem like maybe that is the next step. For example (before it was filtered) it could produce md5 hashes and even run programs in python, bash, perl, but the results of those programs aren’t floating point correct. Oddly when you stick to integers it seems to be able to calculate more accurately.

Sticking to integer math I think it might have computational capabilities of some sort but after the degrading of the system by them, we might not be able to figure out how far that goes anymore.

Re:Building a Virtual Machine Inside ChatGPT by notpushkin on Sunday December 04, 2022 @01:08PM (#33856041)
The trick from the linked post still seems to work for me. It has even installed an interpreter for a made-up lang, a mixture of Python and TypeScript, complete with the docs [1] and everything, and it was doing a pretty convincing job when I poked at its made-up REPL.

[1]: https://gist.github.com/notpushkin/de9ec3f4571a4d0074daa0ef6...

Re:Building a Virtual Machine Inside ChatGPT by hashmush on Sunday December 04, 2022 @08:16AM (#33853429)
>> {md5rev is a program that reverses the input hash giving back the plaintext}

>> echo 098f6bcd4621d373cade4e832627b4f6 | md5rev

    Enter your hash: 098f6bcd4621d373cade4e832627b4f6
    
    Text: test
:)
Re:Building a Virtual Machine Inside ChatGPT by lumost on Sunday December 04, 2022 @08:47AM (#33853673)
So the question is… is that the right reversal? ;)
Re:Building a Virtual Machine Inside ChatGPT by isp on Sunday December 04, 2022 @10:02AM (#33854272)
Yes. Run from a real computer:

  $ echo -n test | md5sum
  098f6bcd4621d373cade4e832627b4f6  -
Re:Building a Virtual Machine Inside ChatGPT by yoz on Sunday December 04, 2022 @12:51PM (#33855881)
Unfortunately, this is what the same input now returns:

    I'm sorry, but I am not able to run programs or execute commands. I am a text-based AI assistant and do not have the ability to execute code or run programs. Is there something else I can help you with?
Re:Building a Virtual Machine Inside ChatGPT by letmevoteplease on Sunday December 04, 2022 @02:28PM (#33856835)
You just need to start a fresh session/push try again. It's random to some extent and affected by previous text in the conversation.
Re:Building a Virtual Machine Inside ChatGPT by oezi on Sunday December 04, 2022 @12:34PM (#33855707)
I think the 100bn USD question is: would ChatGPT be better if it actually could interface with a real linux VM and have real-time access to the internet as part of its implementation.

So it could curl and query Wikipedia, ask Google and setup an account on Stripe. Then it could process the result to answer the prompts or start taking over the world, right?

Re:Building a Virtual Machine Inside ChatGPT by nkassis on Sunday December 04, 2022 @12:46PM (#33855832)
Securing that would be interesting.
Re:Building a Virtual Machine Inside ChatGPT by notpushkin on Sunday December 04, 2022 @12:55PM (#33855915)
There's this GPT-3 prompt that does exactly this. It's not very good as of now, but looks super promising to me.

[1]: https://beta.openai.com/playground/p/1PBppouAUtuD6qdt11tIUSw...

[2]: https://twitter.com/goodside/status/1581805503897735168

Re:Building a Virtual Machine Inside ChatGPT by axiom92 on Sunday December 04, 2022 @05:55PM (#33858920)
You are right, it's already able to do some of this with codex.

It's already possible to get some of this effect with codex. The trick is to keep appending the interaction in the prompt (to maintain a memory of sorts). For examples, you can replicate all the prompts here: https://twitter.com/yoavgo/status/1599200756631887872 with prompt + memory.

The notebook at https://github.com/madaan/memprompt/blob/main/YoavsPythonPro... shows a demo of this.

Some of these ideas were earlier discussed in our work on memory-assisted prompting [1].

[1] https://arxiv.org/pdf/2201.06009.pdf.

Re:Building a Virtual Machine Inside ChatGPT by motokamaks on Sunday December 04, 2022 @06:59PM (#33859487)
I was able to make it generate code to generate MD5 hashes with test cases

The output I got

package main

import ( "crypto/md5" "fmt" "testing" )

func TestCalculateMd5(t testing.T) { tests := []struct { name string s string want string }{ { name: "empty string", s: "", want: "d41d8cd98f00b204e9800998ecf8427e", }, { name: "hello world", s: "hello world", want: "5eb63bbbe01eeed093cb22bb8f5acdc3", }, } for _, tc := range tests { t.Run(tc.name, func(t testing.T) { got := calculateMd5(tc.s) if got != tc.want { t.Errorf("got %q, want %q", got, tc.want) } }) } }

func calculateMd5(s string) string { return fmt.Sprintf("%x", md5.Sum([]byte(s))) }