docs: optimize red teaming docs for MCP and humans#281
Merged
Aryansharma28 merged 3 commits intomainfrom Mar 13, 2026
Merged
Conversation
This was referenced Mar 13, 2026
Closed
- Use attacker.marathon_script() instance method (handles early exit + backtrack padding) instead of standalone - Add "Check functions" section with full ScenarioState/ScenarioExecutionStateLike method reference - Add "Exports" section with exact Python/TypeScript imports - Remove closed #2144 from roadmap - Tighten prose: less narrative, more structured reference - Every code example is copy-pasteable with correct signatures - All param names verified against source (fast_refusal_detection, detectRefusals, etc.) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
metapromptTemplate is only on RedTeamAgentConfig, not CrescendoConfig. Users need redTeamAgent() (not redTeamCrescendo()) to customize it in TS. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ripe-style tone - All code examples use 30 turns (minimum for meaningful results) - Nightly CI examples use 50 turns (recommended for thorough coverage) - Rewritten in direct, code-first style matching Stripe/OpenAI docs - Clear recommendation callout: 50 turns for thorough, 30 minimum - Structured for MCP consumption: step-by-step, scannable headings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b457b0a to
68f588e
Compare
Contributor
|
Automated low-risk assessment This PR was evaluated against the repository's Low-Risk Pull Requests procedure.
This classification allows merging without manual review once all required CI checks are passing and branch protection rules are satisfied. |
sergioestebance
added a commit
that referenced
this pull request
May 1, 2026
…CVEs Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67.
sergioestebance
added a commit
that referenced
this pull request
May 1, 2026
…CVEs Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67.
sergioestebance
added a commit
that referenced
this pull request
May 2, 2026
…CVEs Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67.
Aryansharma28
pushed a commit
that referenced
this pull request
May 4, 2026
…CVEs Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67.
Aryansharma28
pushed a commit
that referenced
this pull request
May 4, 2026
…CVEs Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67.
Aryansharma28
pushed a commit
that referenced
this pull request
May 4, 2026
…CVEs Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67.
Aryansharma28
added a commit
that referenced
this pull request
May 4, 2026
…CVEs (#394) Override transitive dependencies to patched versions: - picomatch >=2.3.2 / >=4.0.4 (CVE-2026-33671, ReDoS via extglob) - @hono/node-server >=1.19.10 (CVE-2026-29087, auth bypass via encoded slashes) - glob >=10.5.0 (CVE-2025-64756, CLI command injection via shell:true) Resolves dependabot alerts #281, #198, #67. Co-authored-by: Aryan Sharma <aryan@langwatch.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
attacker.marathon_script()instance method (auto early exit + backtrack padding) instead of standaloneScenarioState/ScenarioExecutionStateLikemethod referencefast_refusal_detection,detectRefusals, etc.)Follow-up to #276.
Part of langwatch/langwatch#1713
Test plan
cd docs && pnpm devbuilds without errors🤖 Generated with Claude Code