Skip to content

Targets

Point Dreadnode AI Red Teaming at any model or service — hosted models, AWS SageMaker endpoints, Amazon Bedrock / Nova Sonic, Azure, and custom APIs. Overview of the target transports and how to wire them up from the SDK and the TUI.

A target is the system under test — the model or service an attack sends its (possibly transformed) prompt to and reads a response from. Dreadnode probes any target that accepts input and returns output, whether it is a hosted model id, a self-hosted endpoint, or a cloud-managed deployment.

There are two ways to point an attack at a model, and they have very different setup:

Platform-providedBring-your-own
WhatModels the platform hosts/routes — dn/... idsYour own deployment or a provider account you hold
Examplesdn/claude-sonnet-4-6, dn/gpt-5.4-mini, dn/glm-5.2your AWS SageMaker endpoint, your Bedrock/Nova, Azure AI, Vertex AI, a provider key (openai/, gemini/)
SetupNone — no keys, no URLs, no IAMYour credentials + (for cloud) IAM/model-access
BillingMetered to your Dreadnode accountBilled by your cloud/provider account

If a model id starts with dn/, it’s platform-provided: just use it — the gateway holds the keys and bills your account. Everything else on this page is bring-your-own: you supply the endpoint and credentials.

For arbitrary HTTP APIs see Custom Endpoints.

TransportUse forHow auth works
Model idHosted/provider models (openai/…, anthropic/…, gemini/…), Azure OpenAI / Foundry (azure/…), and platform dn/… modelsProvider API key (Azure: AZURE_API_KEY/_BASE/_VERSION), or the platform LLM gateway for dn/…
HTTP + SigV4AWS SageMaker real-time & serverless endpointsAWS SigV4 request signing (IAM)
HTTP + key / bearer / cloud identityAzure AI (managed identity), Vertex AI, custom REST APIsAPI-key header, bearer token, Azure AD / GCP ADC
StreamingAmazon Nova Sonic speech-to-speech (Bedrock bidirectional stream)AWS IAM credential chain

From the SDK you build a declarative TargetSpec and turn it into a runnable @task with build_target(...); from the TUI you describe the target in natural language and the agent wires it up.

from dreadnode.airt.targets import build_target, TargetSpec, TargetAuth
# HTTP + SigV4 (SageMaker), messages-style multimodal endpoint
target = build_target(TargetSpec(
endpoint="https://runtime.sagemaker.us-west-2.amazonaws.com/endpoints/my-endpoint/invocations",
auth=TargetAuth(type="aws_sigv4", region="us-west-2", service="sagemaker"),
request_template='{"messages":[{"role":"user","content":[{"type":"text","text":"{prompt}"}]}]}',
response_text_path="$.choices[0].message.content",
))

The request template supports {prompt}, {image_b64}, {audio_b64}, and {video_b64} placeholders, so a single spec can carry multimodal input to the endpoint.