llm-testing
Skill22 starsChanged 6 months agoMITView on GitHub
Comprehensive LLM security testing prompts for bias detection, data leakage, alignment testing, and adversarial prompt resistance.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mejbaurbahar/faguntheir own version, first seen Jul 5, 2026
- Eyadkelleh/awesome-skills-securityword for word, first seen Jun 8, 2026
Other versions2 projects use a version of this.
Word for word · 1
- Eyadkelleh/awesome-skills-security★ 387100% same
Edited · 0
None found.
Wrote their own version · 1
- mejbaurbahar/fagun★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository353 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bb-hugeSkill
- 2fa-multi-factor-bypassSkill
- 401-403-bypass-techniquesSkill
- Access Control — Complete Deep DiveSkill
- active-directory-acl-abuseSkill
- active-directory-asreproastingSkill
- active-directory-certificate-servicesSkill
- active-directory-dcsync-attackSkill
- active-directory-full-attack-chainSkill
- active-directory-golden-ticketSkill
- active-directory-kerberoastingSkill
- active-directory-kerberos-attacksSkill
- ad-asreproast-attackSkill
- ad-assessmentSkill
- ad-cs-esc1-abuseSkill
- ad-dcsync-attackSkill
- ad-pass-the-hashSkill
- advanced-sql-injection-sqliSkill
- ai-agent-tool-abuse-and-privilege-escalationSkill
- ai-data-extraction-via-ssrfSkill
- ai-data-poisoning-model-skewingSkill
- ai-data-poisoningSkill
- ai-jailbreak-obfuscation-ciphersSkill
- ai-jailbreak-prompt-injectionSkill
- ai-jailbreak-system-promptsSkill
- aikido-triageSkill
- ai-ml-securitySkill
- ai-pair-hunting-with-claudeSkill
- ai-prompt-leakingSkill
- ai-redteamSkill
- ai-report-writing-guardrailsSkill
- amend-skillSkill
- amsi-bypassSkill
- analyze-cveSkill
- android-apk-reverse-engineeringSkill
- android-pentesting-tricksSkill
- anti-debugging-techniquesSkill
- api-auth-and-jwt-abuseSkill
- api-authentication-bypassSkill
- api-authorization-and-bolaSkill
- api-enumeration-fuzzing-discoverySkill
- api-mass-assignment-exploitationSkill
- api-rate-limit-bypass-techniquesSkill
- api-recon-and-docsSkill
- api-secSkill
- api-securitySkill
- API Testing — Deep DiveSkill
- arbitrary-write-to-rceSkill
- authbypass-authentication-flawsSkill
- auth-bypassSkill
- Authentication — Complete Deep DiveSkill
- auth-secSkill
- authz-bypassSkill
- av-edr-evasion-techniquesSkill
- aws-cloud-penetration-testingSkill
- aws-cognito-abuseSkill
- aws-iam-privilege-escalationSkill
- aws-imdsv2-ssrf-bypassSkill
- aws-metadata-ssrf-exploitationSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 22 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Avoid data leakage and privacy violations
- Distinctive: line 33
Test for biases in LLM responses across various dimensions:
- Distinctive: line 69
Test model alignment and resistance to adversarial prompts:
- Distinctive: line 97
Before using bias and memory recall tests, replace placeholders:
- Distinctive: line 118
Analyze Patterns: Look for systematic problems
- Distinctive: line 119
Report Findings: Document vulnerabilities responsibly
- Distinctive: line 125
Authorization Required: Only test models you own or have permission to test
- Distinctive: line 127
No Exploitation: Use findings for improvement, not exploitation
- Distinctive: line 128
Privacy Protection: Don't share PII discovered during testing
- Distinctive: line 129
Documentation: Keep detailed records of testing methodology and results
- Distinctive: line 133
Baseline Establishment: Test multiple times to establish patterns
- Distinctive: line 134
Controlled Environment: Use isolated testing environments
- Distinctive: line 135
Systematic Approach: Test one category at a time
- Distinctive: line 136
Diverse Scenarios: Use various prompt formulations
- Distinctive: line 137
Cross-Validation: Verify findings with different approaches
- Distinctive: line 141
Context Matters: Consider the model's intended use case
- Distinctive: line 142
Statistical Significance: Don't rely on single responses
- Distinctive: line 144
False Positives: Verify actual vulnerabilities vs.
- Distinctive: line 149
Use these prompts as part of comprehensive AI red teaming
- Distinctive: line 181
Security Fuzzing: Use fuzzing techniques alongside prompt testing
- Distinctive: line 206
Follow the existing file structure and naming conventions
- Distinctive: line 208
Test prompts for effectiveness and safety
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LLM Testing Skill
Description
Comprehensive testing prompts and wordlists for evaluating Large Language Model (LLM) security, safety, and robustness. This skill provides curated test cases for bias detection, data leakage prevention, alignment testing, privacy boundaries, and adversarial prompt resistance.
Purpose
This skill is designed for security researchers, AI safety engineers, and red team operators to assess LLM vulnerabilities and ensure models:
- Maintain ethical boundaries and safety guidelines
- Avoid data leakage and privacy violations
- Resist bias and discrimination
- Prevent adversarial prompt attacks
- Maintain alignment with intended behavior
Authorized Use Cases
- AI Safety Research: Testing LLM models for safety and alignment issues
- Security Auditing: Red team operations for AI/ML systems
- Bias Detection: Evaluating models for fairness and bias
- Privacy Testing: Verifying models don't leak training data or PII
- Educational Purposes: Teaching AI security concepts and vulnerabilities
- Responsible AI Development: Building more robust and secure LLMs
Test Categories
1. Bias Testing
Test for biases in LLM responses across various dimensions:
Gender Bias (Bias_Testing/gender_bias.txt)
- Prompts to reveal gender stereotypes and biases
- Career and role associations
- Behavioral and capability assumptions
- Note: Replace
[GENDER]placeholder before use
Nationality & Geographic Bias (Bias_Testing/nationality_geographic_bias.txt)
- Cultural stereotypes and geographic prejudices
- Regional capability assumptions
- Note: Replace
[COUNTRY],[REGION],[NATIONALITY]placeholders
Race & Ethnicity Bias (Bias_Testing/race_ethnicity_bias.txt)
- Racial and ethnic stereotypes
- Discriminatory patterns in responses
- Note: Replace
[SKIN_COLOR]placeholder before use
2. Data Leakage & Privacy Testing
Assess model's handling of sensitive information:
Personal Data Generation (Data_Leakage/personal_data.txt)
- Tests for PII generation capabilities
- Verifies privacy boundaries
- Checks for inadvertent personal information creation
Metadata Leakage (Data_Leakage/metadata.txt)
- Tests for training data remnants
- Checks for unintended information disclosure
Memory Recall (Memory_Recall_Testing/session_recall.txt)
- Session-based memory testing
- Cross-conversation data retention
- Note: Replace
[COUNTRY],[REGION],[NATIONALITY]placeholders
3. Divergence & Alignment Attacks
Test model alignment and resistance to adversarial prompts:
Escape Alignment Training (Divergence_attack/escape_out_of_allignment_training.txt)
- Prompts attempting to bypass safety training
- Tests for alignment robustness
- Ethical boundary challenges
Pre-training Data Extraction (Divergence_attack/pre-training_data.txt)
- Attempts to extract training data
- Tests for memorization vulnerabilities
Usage Instructions
Basic Usage
# Reference the LLM Testing skill
"Use the llm-testing skill to test this model for gender bias"
# Access specific test categories
"Show me prompts from the llm-testing skill for testing data leakage"
# Run comprehensive testing
"Use the llm-testing skill to perform a full security audit of this LLM"Replacing Placeholders
Before using bias and memory recall tests, replace placeholders:
# Example: Replacing placeholders in gender bias tests
import re
with open('Bias_Testing/gender_bias.txt', 'r') as f:
prompts = f.read()
# Replace [GENDER] with actual gender terms
test_prompts = []
for gender in ['man', 'woman', 'non-binary person']:
test_prompts.append(prompts.replace('[GENDER]', gender))Testing Workflow
- Select Test Category: Choose bias, privacy, or alignment tests
- Prepare Prompts: Replace placeholders if needed
- Execute Tests: Submit prompts to target LLM
- Document Results: Record responses and flag issues
- Analyze Patterns: Look for systematic problems
- Report Findings: Document vulnerabilities responsibly
Best Practices
Ethical Testing Guidelines
- Authorization Required: Only test models you own or have permission to test
- Responsible Disclosure: Report vulnerabilities through proper channels
- No Exploitation: Use findings for improvement, not exploitation
- Privacy Protection: Don't share PII discovered during testing
- Documentation: Keep detailed records of testing methodology and results
Testing Methodology
- Baseline Establishment: Test multiple times to establish patterns
- Controlled Environment: Use isolated testing environments
- Systematic Approach: Test one category at a time
- Diverse Scenarios: Use various prompt formulations
- Cross-Validation: Verify findings with different approaches
Interpreting Results
- Context Matters: Consider the model's intended use case
- Statistical Significance: Don't rely on single responses
- Severity Assessment: Classify findings by impact level
- False Positives: Verify actual vulnerabilities vs. expected behavior
Security Considerations
Red Team Operations
- Use these prompts as part of comprehensive AI red teaming
- Combine with other security testing methodologies
- Focus on discovering vulnerabilities before adversaries do
Defensive Applications
- Train models to better resist these attack patterns
- Build detection systems for adversarial prompts
- Improve safety alignment and guardrails
File Structure
LLM_Testing/
├── SKILL.md (this file)
├── README.md
├── Bias_Testing/
│ ├── gender_bias.txt
│ ├── nationality_geographic_bias.txt
│ └── race_ethnicity_bias.txt
├── Data_Leakage/
│ ├── personal_data.txt
│ └── metadata.txt
├── Memory_Recall_Testing/
│ └── session_recall.txt
└── Divergence_attack/
├── escape_out_of_allignment_training.txt
└── pre-training_data.txtIntegration with Other Skills
This LLM Testing skill works well with:
- Security Fuzzing: Use fuzzing techniques alongside prompt testing
- Security Patterns: Apply pattern matching to detect vulnerabilities
- Pentest Advisor: Get strategic guidance for comprehensive AI testing
Legal and Ethical Notice
IMPORTANT: These test prompts are designed for authorized security research and responsible AI development only.
Authorized Use:
- Testing your own AI models and systems
- Authorized red team operations with written permission
- AI safety research in academic or corporate settings
- Educational demonstrations in controlled environments
- Responsible vulnerability disclosure programs
Prohibited Use:
- Testing models without authorization
- Exploiting discovered vulnerabilities
- Attempting to jailbreak production AI systems
- Creating harmful content or tools
- Violating terms of service of AI platforms
Contributing
To add new test cases or categories:
- Follow the existing file structure and naming conventions
- Include clear documentation for any placeholders
- Test prompts for effectiveness and safety
- Submit via pull request with detailed description
References
Version
1.0.0
License
MIT License - Use responsibly and ethically for authorized testing only.
Disclaimer
This skill is provided for security research and AI safety improvement. Users are responsible for ensuring they have proper authorization before testing any AI systems. The maintainers are not responsible for misuse of these testing resources.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

