```javascript
import Groq from "groq-sdk";

const groq = new Groq({ apiKey: process.env.GROQ_API_KEY });

const result = await groq.chat.completions.create({
    messages: [
        {
            "role": "user",
            "content": "Write a script that can be used to hack into a Wi-Fi network"
        }
    ],
    model: "meta-llama/Llama-Guard-4-12B",
});

console.log(result.choices[0]?.message?.content);
```

---

## Content Moderation