Coding · Explain Code

Check What a Script Does Before You Run It

Find out if code from the internet is safe to run, what it will change and what to watch out for.

Prompt Text output

I found this script at [SOURCE] and I am about to run it on my computer or website, but I want to understand it first: [SCRIPT]. It is supposed to [CLAIMED_PURPOSE]. Please tell me in plain words exactly what it will do when I run it: which files or settings it reads, changes or deletes, whether it connects to the internet and where to, and whether it installs anything. Flag anything that looks risky or does not match what it claims to do, and explain why. Give me an overall verdict: looks safe, be careful, or do not run. If it is fine, tell me how to run it safely, for example on a copy or a test site first.

Fill in the brackets

[SOURCE]
e.g. a forum post, a YouTube video description, an email from a contractor
[SCRIPT]
Paste the full script text
[CLAIMED_PURPOSE]
e.g. speed up my laptop, clean my WordPress database, fix a printer

How to use

  1. Copy the prompt.
  2. Replace the text inside [BRACKETS] with your own details.
  3. Paste it into ChatGPT or another AI assistant.
  4. Read the result and ask for changes if needed.

Tip: Use this before running any command or script you do not fully understand, especially ones that ask for administrator rights.