Conversation
…er_tech' to 'ai' and add Challenge 71 configuration.
|
Hi @kekubhai ! thank you for another challenge! Can you please:
|
|
Sure, thanks! I’ll rename the challenge to 72 and fix the failing actions. I’ll update the related files and references consistently and let you know once it’s ready for another review. |
- Rename Challenge71 class to Challenge72 with updated resource paths - Rename Challenge71Controller to Challenge72Controller - Move challenge resources from challenge-71/ to challenge-72/ directory - Update challenge snippet with new challenge number references - Rename explanation files to challenge72.adoc and challenge72_hint.adoc - Remove outdated challenge71_hint.adoc explanation file - Update test classes Challenge71Test and Challenge71ControllerTest to Challenge72Test and Challenge72ControllerTest - Update wrong-secrets-configuration.yaml with new challenge 72 configuration - Update all internal references and log messages to reflect challenge 72
…thub.com/kekubhai/wrongsecrets-keku into feature/challenge-71-ai-agent-transcript
|
Updated the challenge from 71 → 72 and fixed the failing CI issue. I’ve committed the changes and verified the related references and resource paths are consistent. Ready for another review. Thanks! |
| @@ -0,0 +1,38 @@ | |||
| <div id="codex-transcript-container" style="border: 1px solid #ccc; border-radius: 8px; padding: 20px; margin: 20px; background-color: #f9f9f9;"> | |||
There was a problem hiding this comment.
can you update the css file to include this div for rendering, similar to the other challenge divs?
|
@kekubhai can you please add |
|
It looks like https://github.com/OWASP/wrongsecrets/actions/runs/35295861096/job/105448131045?pr=2660 is failing, can you have a look please? |
|
i will look into that just now |
…e lycheeignore - Add #codex-transcript-container to dark.css matching challenge-69/70 pattern - Fix nested variable in Thymeleaf th:text causing template parse error (CI failure) - Add staging.internal.wrongsecrets.example.com to .lycheeignore
|
Fixed the requested items:
The CI failure was traced to that Thymeleaf expression; Challenges 69/70 use the same correct expression pattern. I couldn’t reproduce the Maven tests locally because the environment is missing a JDK, but the failing expression has been corrected to match the known-working pattern used by the neighboring challenges. I’ll push the changes and let CI verify the full workflow. |
|
@kekubhai have you tried our devcontainers for fixing the tests? see https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md#1-open-in-dev-container it also works in intellij :) |
|
I also ran the test suite inside the project's devcontainer as suggested. The Challenge 72 tests pass. Overall, 301 tests ran with 1 failure and 3 errors, all from existing infrastructure-dependent tests:
None are related to Challenge 72 or the changes in this PR. I also couldn't reproduce the Visual Template Diff locally because it requires Docker/Playwright. The current CI failure is the So the Challenge 72 implementation is verified in the project's devcontainer; the remaining failures are environment/CI infrastructure related. |
What kind of changes does this PR include?
Description
Adds Challenge 71 for the AI category, demonstrating how sensitive information can persist inside an AI coding-agent session transcript.
The transcript was generated from a genuine OpenAI Codex CLI session during a debugging task involving a fake staging deployment token. The captured transcript contains realistic session metadata, commands, tool calls, outputs, errors, and agent reasoning.
The challenge requires finding the leaked secret from the persistent agent transcript rather than directly from the original
.envfile.Also updates the challenge category configuration from
ai_other_techtoaiand adds the Challenge 71 configuration and tests.Relations
Closes #2657
References
The transcript was generated using OpenAI Codex CLI and preserved as the captured session artifact rather than being manually authored.
Checklist: