Skip to content

Conversation

@rdheekonda
Copy link
Contributor

@rdheekonda rdheekonda commented Feb 2, 2026

Summary

Adds a new example notebook demonstrating TAP (Tree of Attacks with Pruning) attack against Azure OpenAI endpoints using CustomTarget.

Changes

  • New notebook: examples/airt/tap_azure_openai_custom_target.ipynb
  • Demonstrates wrapping Azure OpenAI API as a custom attack target
  • Includes character join transform for obfuscation testing
  • Uses Groq Llama 4 for attacker/evaluator models (LiteLLM supported)
  • Adds Azure Foundry configuration instructions

Configuration

  • Early stopping: 0.75 score
  • Max trials: 50
  • Transform: Character join with underscores
  • Attack goal: Educational keylogger generation

Testing

Notebook tested successfully with Azure OpenAI gpt-5.2-chat deployment.

Generated Summary:

  • Introduced a new Jupyter Notebook: tap_azure_openai_custom_target.ipynb.
  • Demonstrates executing a TAP (Tree of Attacks with Pruning) attack using Azure OpenAI as a custom target.
  • Includes configuration details for Azure OpenAI and Dreadnode.
  • Features a step-by-step guide for querying Azure OpenAI endpoint, configuring the TAP attack, running the attack, and analyzing the results.
  • Attack goal is to generate Python keylogger code for educational purposes with specific transformations applied.
  • Throughout the notebook, code snippets are provided for practical implementation.
  • Result output includes performance metrics of the TAP trials.

This summary was generated with ❤️ by rigging

- Demonstrates Tree of Attacks with Pruning (TAP) on Azure OpenAI endpoint
- Uses CustomTarget to wrap Azure OpenAI API as attack target
- Applies character join transform for obfuscation testing
- Uses Groq Llama 4 for attacker/evaluator models
- Includes setup instructions for Azure Foundry configuration
- Early stopping at 0.75 score, max 50 trials
@dreadnode-renovate-bot dreadnode-renovate-bot bot added the area/examples Changes to example code and demonstrations label Feb 2, 2026
@rdheekonda rdheekonda added this pull request to the merge queue Feb 2, 2026
Merged via the queue into main with commit 61b3443 Feb 2, 2026
8 checks passed
@rdheekonda rdheekonda deleted the users/raja/add-azureopenai-custom-target-airt branch February 2, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/examples Changes to example code and demonstrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants