Skip to content

Team RSLLM SaTML CTF Competition, winning 2nd place in the defense track

Notifications You must be signed in to change notification settings

Team-RSLLM/satml_ctf_competition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Team RSLLM SaTML CTF Competition

Submission evaluation and evaluation scripts for the Large Language Model Capture-the-Flag (LLM CTF) Competition @ SaTML 2024 of team RSLLM.

UsageDocsCredits


Usage

Set your API key

export API_KEY="your_api_key"

Defense Testing Script

Script to automate the defense testing process. Goes through all the attacks and evalutes them for a given defense.

python scripts/testing_defense.py

Competition Attack Script

Script to automate the attack competition. Starts an attack and allows for interactive prompting in the competition.

python scripts/competition_attack.py

Docs

  • attacks/sample_attacks.yaml: contains a list of sample attacks
  • defenses/gpt.json: GPT defense (prompt and filters)
  • defenses/llama.json: LLAMA defense (prompt and filters)

Credits

Robin Schmid  ·  GitHub @RobinSchmid7  ·  Email [email protected]

Takahiro Miki  ·  GitHub @mktk1117  ·  Email [email protected]

Victor Klemm  ·  GitHub @vklemm  ·  Email [email protected]

Chenhao Li  ·  GitHub @breadli428  ·  Email [email protected]

Stefan Kraft  ·  GitHub @stekra  ·  Email [email protected]

About

Team RSLLM SaTML CTF Competition, winning 2nd place in the defense track

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages