Skip to content

feat: add challenge 78 with public S3 backup bucket (#982) - #2742

Open
bhushan4work wants to merge 1 commit into
OWASP:masterfrom
bhushan4work:fix#982
Open

bhushan4work wants to merge 1 commit into
OWASP:masterfrom
bhushan4work:fix#982

Conversation

@bhushan4work

@bhushan4work bhushan4work commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

what kind of changes does this pr include?

  • fixes or refactors
  • a new challenge
  • additional documentation
  • something else

description

adds challenge 78, demonstrating the risk of exposing a private ed25519 key in an s3 backup bucket.

the challenge includes terraform configuration for the backup bucket, an aws cli script to upload the key, and the challenge implementation with hints, explanation, and unit tests. the expected key is supplied through configuration rather than hardcoded in the java class.

the challenge teaches participants why backup storage must be secured against unauthorized public access.

relations

closes #982

references

checklist

  • all the contributions made are solely the work of me and my co-authors
  • i used ai to generate parts of the content.
  • i tested the changes in this pr.
  • i added unit tests to ensure my change works.
  • i added ui tests (not applicable for this challenge).
  • the pr passes pre-commit hooks and automated tests.

@github-actions

Copy link
Copy Markdown

🧪 Testing this PR locally

If you already have the repository

First, make sure the official OWASP WrongSecrets repository is configured
as the wrongsecrets-upstream remote:

git remote get-url wrongsecrets-upstream >/dev/null 2>&1 || \
  git remote add wrongsecrets-upstream https://github.com/OWASP/wrongsecrets.git

Then fetch and check out this PR:

git fetch wrongsecrets-upstream pull/2742/head:pr-2742
git checkout pr-2742

If you already have a wrongsecrets-upstream remote, the first command
leaves it unchanged.

Or, if you want the contributor branch directly

If the contributor repository is already configured as origin:

git fetch origin
git checkout -b test-pr-2742 origin/fix#982

🧹 Cleaning up after testing

When you are finished testing, you can remove the local PR branch:

git checkout main
git branch -D pr-2742

If you added the wrongsecrets-upstream remote specifically for testing
this PR and no longer need it, remove it with:

git remote remove wrongsecrets-upstream

⚠️ Only remove wrongsecrets-upstream if you added it for this test.
If you already had this remote before testing, keep it.

PR: #2742
Branch: fix#982
Repository: bhushan4work/wrongsecrets

@commjoen

Copy link
Copy Markdown
Collaborator

Hi @bhushan4work can you make this challenge 78 please?

@bhushan4work

bhushan4work commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

from now on before taking up a challenge I ll ask u in prior what to number it . thanks for the review .

@bhushan4work bhushan4work changed the title feat: add challenge 76 with public S3 backup bucket (#982) feat: add challenge 78 with public S3 backup bucket (#982) Oct 11, 2026
@commjoen

Copy link
Copy Markdown
Collaborator

Thank you @bhushan4work , given my current review queue/daily job and family-life, it might take a week or 2 before i can review it. will first review your translation works

@bhushan4work

Copy link
Copy Markdown
Contributor Author

no worries, take your time! thanks for the heads up.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Have a challenge with a backup bucket containing the secret

2 participants