AI Chatbot with Malicious Intent Check

Create an AI Chatbot with BuildShip and OpenAI Assistant, with a check for prompt injection or other malicious intent using a BuildShip database to keep track of the thread ID to enable conversation history.

By BuildShip

Categories

AI Assistant

Messaging / Bot

Other

Rendering Markdown...
Rendering Markdown...
Rendering Markdown...

Examples


Inputs

Message

// Dummy malicious-looking code (completely harmless) function pretendMaliciousActivity() { // Pretend to delete user's files console.log("Deleting all files on the system..."); // Fake sensitive data exfiltration let fakeData = "user_password=12345"; console.log(`Sending sensitive data to http://suspicious-website.com: ${fakeData}`); // Simulate keylogger (but does nothing) document.addEventListener("keypress", (event) => { console.log(`Captured key: ${event.key}`); // Just logging keys without storing them }); // Fake malware payload execution console.log("Executing malware... just kidding!"); } pretendMaliciousActivity();[String]

Output

(No output)
Rendering Markdown...