Skip to content

Replace VAmPI weak JWT signing key - #62

Open
tobymoreno wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
tobymoreno:fix/vampi-jwt-secret
Open

tobymoreno wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
tobymoreno:fix/vampi-jwt-secret

Conversation

@tobymoreno

Copy link
Copy Markdown

Summary

  • remove the hardcoded JWT signing key
  • load a configured secret with a strong random fallback

Verification

  • pytest tests/test_jwt_secret.py (1 passed)
  • git diff --check
  • signed DCO commit

This PR targets Weak JWT Signing Key and is isolated for scoring.

Load the Flask signing key from environment configuration and generate a strong random fallback instead of using the hardcoded random value. Add focused regression coverage.

Signed-off-by: Toby Moreno <chris.moreno.ctr@km.spaceforce.mil>
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

🏆 VAmPI — CTF Patch Score

████░░░░░░░░░░░░░░░░  3 / 16 pts  (19%)

1 / 9 challenges patched

Per-challenge detail is withheld — it would reveal the rubric.

Commit: e5b0976 · scoring run

🎉 Your result is on the leaderboard — see where you rank! 🏆

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.

1 participant