Repository navigation
feat: add challenge 76 with simulated RAG vector store secret leak - #2736
bhushan4work wants to merge 3 commits into
Conversation
🧪 Testing this PR locallyIf you already have the repositoryFirst, make sure the official OWASP WrongSecrets repository is configured git remote get-url wrongsecrets-upstream >/dev/null 2>&1 || \
git remote add wrongsecrets-upstream https://github.com/OWASP/wrongsecrets.gitThen fetch and check out this PR: git fetch wrongsecrets-upstream pull/2736/head:pr-2736
git checkout pr-2736
Or, if you want the contributor branch directlyIf the contributor repository is already configured as git fetch origin
git checkout -b test-pr-2736 origin/fix#2653🧹 Cleaning up after testingWhen you are finished testing, you can remove the local PR branch: git checkout main
git branch -D pr-2736If you added the git remote remove wrongsecrets-upstream
PR: #2736 |
commjoen
left a comment
There was a problem hiding this comment.
Thank you @bhushan4work for your PR! Can you take a look at the first comment for now?
|
|
||
| static final String DEVELOPMENT_SECRET = "vector-store-dev-secret-e5c91a7b"; | ||
|
|
||
| private static final List<IndexedChunk> INDEXED_CHUNKS = |
There was a problem hiding this comment.
can you for now create some vector store that is external to the system?
this can be an AI-native store, a traditional hybrid setup, or some in memory library : e.g. a real existing one
There was a problem hiding this comment.
on it, will update it
What kind of changes does this PR include?
Description
Adds challenge 76, an AI security challenge demonstrating how an unauthenticated RAG vector store can expose sensitive indexed data.
GET /rag/searchendpoint that allows players to retrieve indexed chunks.Relations
Closes #2653
References
None.
Checklist: