Genai Security Demo — Security skill for Claude Code
A chatbot implementation that demonstrates security defenses for generative AI.
How to install Genai Security Demo
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nikeyes/genai-security-demo and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Genai Security Demo does
A chatbot implementation that demonstrates security defenses for generative AI. Created for the talk: Hacking and securing your GenAI applications. Commit Conf 2025 Video: https://www.youtube.com/watch?v=FHckzoXfs9k Commit Conf 2025 slides: https://bit.ly/slides-genai-security
Alternatives in Security
- Review Artifact — Creates one polished, self-contained HTML artifact from review findings, audit notes, PR feedback, code review 652 ★
- Nah Demo — nah test-live — Security Demo 400 ★
- Engage.Cvediff — Find the canonical fix commit(s) for a CVE across sources, then diff for root cause 348 ★
README
Security Chatbot

A chatbot implementation that demonstrates security defenses for generative AI. Created for the talk: [Hacking and securing your GenAI applications](https://docs.google.com/presentation/d/18FUV5O1mfQEeSth6F8JlLV7fsSmDTGnG1OCgTOg8urU/edit#slide=id.p1)
Table of Contents
1. Installation
make install
1.1 Security Features
This project integrates two Meta Llama security tools:
- Llama PromptGuard
- Purple-Llama CodeShield
**Important**: These tools are part of the [Llama 3.1 license](https://www.llama.com/llama3_1/license/), which has restrictions on commercial use.
- You can disable security features by modifying the
LLAMA_SECURITY_FAMILYvariable in `src/config/llm_config.py`.
Accessing Security Models
- Request access to models on HuggingFace (e.g., meta-llama/Prompt-Guard-86M)

- Configure your
HF_TOKENenvironment variable with your HuggingFace personal token
2. LLM Providers
The chatbot supports three LLM providers:
- Amazon Bedrock
- Groq
- OpenAI
- Anthropic
Configure your preferred provider in [`config/llm_config.py`](config/llm_config.py).
2.1 Provider Setup
2.1.1 Amazon Bedrock
Configure AWS SSO profile:
PROFILE_NAME="data-dev"
ACCOUNT_NUMBER="123456789123"
ROLE="power"
SSO_START_URL="https://YOUR_ORGANIZATION.awsapps.com/start"
REGION="eu-west-1"
aws configure set sso_start_url $SSO_START_URL --profile $PROFILE_NAME
aws con
Related Skills
YouTube Audit Dashboard
YouTube Audit Dashboard — Multi-Video Comparison
Comm
by CommE2E - Serves as a development reference for E2E-encrypted messaging applications with code organization
MindJack
MindJack. Get into the mind of AI agents. Read their memories. Rewrite their instructions. Security toolkit th
Binary Oracle
Binary-oracle reachability — flag surface, env build-on-demand, corpus evidence, hostile-binary defenses, audi
Agent Name Service
Agent Name Service (ANS) Protocol, introduced by the OWASP GenAI Security Project, is a foundational framework
LLM Security
AI/LLM agent security audit (OWASP GenAI/LLM Top 10 2026): prompt injection (direct + indirect/RAG), jailbreak
Related Agents
Discussant
Use this agent when an academic presentation (Beamer .tex or Quarto .qmd) has been created and needs rigorous
Tux
Security hardening agent for auditing and fortifying MAGI's attack surface — the proxy layer, Electron securit
Verifier Defenses
Evaluates whether existing sanitizers, validation schemas, or security barriers neutralize the candidate.