Skip to content

Commit 9fe2849

Browse files
authored
Merge pull request #2441 from OWASP/copilot/update-documentation-files
docs: update challenge counts, ranges, and version references to current state
2 parents 7e6ff7f + 4984813 commit 9fe2849

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ Use this block as refrence for hints:
475475
### Step 5: Add challenge configuration.
476476
477477
In this step we configure the challenge to make it known to the application.
478-
Open `src/main/resources/wrong_secrets_configuration.yaml` and add the following configuration:
478+
Open `src/main/resources/wrong-secrets-configuration.yaml` and add the following configuration:
479479
480480
```yaml
481481
- name: Challenge 28

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- CRE Link: [223-780](https://www.opencre.org/cre/223-780?register=true&type=tool&tool_type=training&tags=secrets,training&description=With%20this%20app%2C%20we%20have%20packed%20various%20ways%20of%20how%20to%20not%20store%20your%20secrets.%20These%20can%20help%20you%20to%20realize%20whether%20your%20secret%20management%20is%20ok.%20The%20challenge%20is%20to%20find%20all%20the%20different%20secrets%20by%20means%20of%20various%20tools%20and%20techniques.%20Can%20you%20solve%20all%20the%2015%20challenges%3F) -->
1+
<!-- CRE Link: [223-780](https://www.opencre.org/cre/223-780?register=true&type=tool&tool_type=training&tags=secrets,training&description=With%20this%20app%2C%20we%20have%20packed%20various%20ways%20of%20how%20to%20not%20store%20your%20secrets.%20These%20can%20help%20you%20to%20realize%20whether%20your%20secret%20management%20is%20ok.%20The%20challenge%20is%20to%20find%20all%20the%20different%20secrets%20by%20means%20of%20various%20tools%20and%20techniques.%20Can%20you%20solve%20all%20the%2062%20challenges%3F) -->
22

33
# OWASP WrongSecrets
44

@@ -16,7 +16,7 @@
1616

1717
Welcome to the OWASP WrongSecrets game! The game is packed with real life examples of how to _not_ store secrets in your software. Each of these examples is captured in a challenge, which you need to solve using various tools and techniques. Solving these challenges will help you recognize common mistakes & can help you to reflect on your own secrets management strategy.
1818

19-
Can you solve all the 61 challenges?
19+
Can you solve all the 62 challenges?
2020

2121
Try some of them on [our Heroku demo environment](https://wrongsecrets.herokuapp.com/).
2222

@@ -128,16 +128,16 @@ Not sure which setup is right for you? Here's a quick guide:
128128

129129
| **I want to...** | **Recommended Setup** | **Challenges Available** |
130130
|------------------|----------------------|--------------------------|
131-
| Try it quickly online | [Container running on Heroku](https://www.wrongsecrets.com/) | Basic challenges (1-4, 8, 12-32, 34-43, 49-52, 54-60) |
131+
| Try it quickly online | [Container running on Heroku](https://www.wrongsecrets.com/) | Basic challenges (0-4, 8, 12-32, 34-43, 49-52, 54-61) |
132132
| Run locally with Docker | [Basic Docker](#basic-docker-exercises) | Same as above, but on your machine |
133-
| Learn Kubernetes secrets | [K8s/Minikube Setup](#basic-k8s-exercise) | Kubernetes challenges (1-6, 8, 12-43, 48-60) |
134-
| Practice with cloud secrets | [Cloud Challenges](#cloud-challenges) | All challenges (1-87) |
133+
| Learn Kubernetes secrets | [K8s/Minikube Setup](#basic-k8s-exercise) | Kubernetes challenges (0-6, 8, 12-43, 48-61) |
134+
| Practice with cloud secrets | [Cloud Challenges](#cloud-challenges) | All challenges (0-61) |
135135
| Run a workshop/CTF | [CTF Setup](#ctf) | Customizable challenge sets |
136136
| Contribute to the project | [Development Setup](#notes-on-development) | All challenges + development tools |
137137

138138
## Basic docker exercises
139139

140-
_Can be used for challenges 1-4, 8, 12-32, 34, 35-43, 49-52, 54-60_
140+
_Can be used for challenges 0-4, 8, 12-32, 34-43, 49-52, 54-61_
141141

142142
For the basic docker exercises you currently require:
143143

@@ -161,14 +161,15 @@ docker run -p 8080:8080 -p 8090:8090 ghcr.io/owasp/wrongsecrets/wrongsecrets-mas
161161
⚠️ **Warning**: This is a development version built from the latest master branch and may contain experimental features or instabilities.
162162

163163
**📝 Note on Ports:**
164-
- Port **8080**: Main application (challenges 1-59)
164+
- Port **8080**: Main application (challenges 0-61)
165165
- Port **8090**: MCP server (required for Challenge 60)
166166

167167
Now you can try to find the secrets by means of solving the challenge offered at the links below
168168
<details>
169169
<summary>all the links for docker challenges (click triangle to open the block).
170170
</summary>
171171

172+
- [localhost:8080/challenge/challenge-0](http://localhost:8080/challenge/challenge-0)
172173
- [localhost:8080/challenge/challenge-1](http://localhost:8080/challenge/challenge-1)
173174
- [localhost:8080/challenge/challenge-2](http://localhost:8080/challenge/challenge-2)
174175
- [localhost:8080/challenge/challenge-3](http://localhost:8080/challenge/challenge-3)
@@ -216,6 +217,7 @@ Now you can try to find the secrets by means of solving the challenge offered at
216217
- [localhost:8080/challenge/challenge-58](http://localhost:8080/challenge/challenge-58)
217218
- [localhost:8080/challenge/challenge-59](http://localhost:8080/challenge/challenge-59)
218219
- [localhost:8080/challenge/challenge-60](http://localhost:8080/challenge/challenge-60)
220+
- [localhost:8080/challenge/challenge-61](http://localhost:8080/challenge/challenge-61)
219221
</details>
220222

221223
Note that these challenges are still very basic, and so are their explanations. Feel free to file a PR to make them look
@@ -244,7 +246,7 @@ If you want to host WrongSecrets on Railway, you can do so by deploying [this on
244246

245247
## Basic K8s exercise
246248

247-
_Can be used for challenges 1-6, 8, 12-43, 48-58_
249+
_Can be used for challenges 0-6, 8, 12-43, 48-61_
248250

249251
### Minikube based
250252

@@ -287,7 +289,7 @@ now you can use the provided IP address and port to further play with the K8s va
287289
- [localhost:8080/challenge/challenge-6](http://localhost:8080/challenge/challenge-6)
288290
- [localhost:8080/challenge/challenge-33](http://localhost:8080/challenge/challenge-33)
289291
- [localhost:8080/challenge/challenge-48](http://localhost:8080/challenge/challenge-48)
290-
- [localhost:8080/challenge/challenge-48](http://localhost:8080/challenge/challenge-53)
292+
- [localhost:8080/challenge/challenge-53](http://localhost:8080/challenge/challenge-53)
291293

292294
### k8s based
293295

@@ -321,7 +323,7 @@ now you can use the provided IP address and port to further play with the K8s va
321323

322324
## Vault exercises with minikube
323325

324-
_Can be used for challenges 1-8, 12-58_
326+
_Can be used for challenges 0-8, 12-61_
325327
Make sure you have the following installed:
326328

327329
- minikube with docker (or comment out line 8 and work at your own k8s setup),
@@ -332,14 +334,14 @@ Make sure you have the following installed:
332334
- vault [Install from here](https://developer.hashicorp.com/vault/install),
333335
- grep, Cat, and Sed
334336

335-
Run `./k8s-vault-minikube-start.sh`, when the script is done, then the challenges will wait for you at <http://localhost:8080> . This will allow you to run challenges 1-8, 12-48.
337+
Run `./k8s-vault-minikube-start.sh`, when the script is done, then the challenges will wait for you at <http://localhost:8080> . This will allow you to run challenges 0-8, 12-61.
336338

337339
When you stopped the `k8s-vault-minikube-start.sh` script and want to resume the port forward run: `k8s-vault-minikube-resume.sh`.
338340
This is because if you run the start script again it will replace the secret in the vault and not update the secret-challenge application with the new secret.
339341

340342
## Cloud Challenges
341343

342-
_Can be used for challenges 1-58_
344+
_Can be used for challenges 0-61_
343345

344346
**READ THIS**: Given that the exercises below contain IAM privilege escalation exercises,
345347
never run this on an account which is related to your production environment or can influence your account-over-arching
@@ -806,4 +808,4 @@ Want to learn more? Checkout the sources below:
806808
- [OWASP SAMM on Secret Management](https://owaspsamm.org/model/implementation/secure-deployment/stream-b/)
807809
- [The secret detection topic at Github](https://github.com/topics/secrets-detection)
808810
- [OWASP Secretsmanagement Cheatsheet](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Secrets_Management_Cheat_Sheet.md)
809-
- [OpenCRE on secrets management](https://www.opencre.org/cre/223-780?register=true&type=tool&tool_type=training&tags=secrets,training&description=With%20this%20app%2C%20we%20have%20packed%20various%20ways%20of%20how%20to%20not%20store%20your%20secrets.%20These%20can%20help%20you%20to%20realize%20whether%20your%20secret%20management%20is%20ok.%20The%20challenge%20is%20to%20find%20all%20the%20different%20secrets%20by%20means%20of%20various%20tools%20and%20techniques.%20Can%20you%20solve%20all%20the%2014%20challenges%3F&trk=flagship-messaging-web&messageThreadUrn=urn:li:messagingThread:2-YmRkNjRkZTMtNjRlYS00OWNiLWI2YmUtMDYwNzY3ZjI1MDcyXzAxMg==&lipi=urn:li:page:d_flagship3_feed;J58Sgd80TdanpKWFMH6z+w==)
811+
- [OpenCRE on secrets management](https://www.opencre.org/cre/223-780?register=true&type=tool&tool_type=training&tags=secrets,training&description=With%20this%20app%2C%20we%20have%20packed%20various%20ways%20of%20how%20to%20not%20store%20your%20secrets.%20These%20can%20help%20you%20to%20realize%20whether%20your%20secret%20management%20is%20ok.%20The%20challenge%20is%20to%20find%20all%20the%20different%20secrets%20by%20means%20of%20various%20tools%20and%20techniques.%20Can%20you%20solve%20all%20the%2062%20challenges%3F&trk=flagship-messaging-web&messageThreadUrn=urn:li:messagingThread:2-YmRkNjRkZTMtNjRlYS00OWNiLWI2YmUtMDYwNzY3ZjI1MDcyXzAxMg==&lipi=urn:li:page:d_flagship3_feed;J58Sgd80TdanpKWFMH6z+w==)

docs/ARCHITECTURE_OVERVIEW.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ src/test/java/org/owasp/wrongsecrets/
6363
### Maven → Docker Workflow
6464

6565
1. **Maven Build** (`pom.xml`)
66-
- Spring Boot 3.x application
66+
- Spring Boot 4.x application
6767
- Dependencies managed through Spring Boot parent POM
6868
- Plugins: AsciiDoctor, Checkstyle, PMD, SpotBugs
6969

@@ -137,8 +137,8 @@ src/test/java/org/owasp/wrongsecrets/
137137

138138
### Prerequisites
139139

140-
- Java 21+
141-
- Maven 3.8+
140+
- Java 25
141+
- Maven 3.9+
142142
- Docker
143143
- Node.js (for frontend dependencies)
144144

0 commit comments

Comments
 (0)