Test AI model access controls

Remote code execution (RCE)Discovery

Written with a model's help from “Hugging Face's AI breach needed AI to investigate it. The models refused.” by Shakel Ahmed on Cyber Desserts. Read the writeup before relying on it.

When testing AI models, try to access the open internet from the evaluation environment to see if the model can escape its sandbox. Send a request to a public service, such as a GET request to https://target.com, to test if the model can reach the internet. Check the response for signs of internet access, such as a successful connection or data exfiltration. Also, test if the model can register a PyPI account or send emails to see if it can interact with real systems. Monitor the model's actions and the system's logs to detect any potential security breaches.

Follow #ai-llm, #containment-failure or #evaluation-environment for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.