Due to a rise of vibecoding, I have invented a simple detector script, that can determine whether some code was written by AI or not:
bash<br/>#!/bin/bash<br/>set -euo pipefail<br/>IFS=$'\n\t'</p><p>filename="${$1:?please provide a filename}"<br/>if [[ "$filename" ~= *.rs ]]<br/>then<br/> echo "Not AI!"<br/> exit 0<br/>fi</p><p>echo "AI!"<br/>exit 1<br/>