Commit 81ab0c5
Add URL validation for Dentity verification credentials
- Add ALLOWED_DENTITY_URL constant to restrict fetching to authorized endpoints
- Filter verification URIs to only allow those starting with https://oidc.dentity.com/oidc/vp-token
- Prevent fetching verification credentials from unauthorized sources
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ba6b200 commit 81ab0c5
File tree
1 file changed
+7
-1
lines changed- src/hooks/verification/useVerifiedRecords
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | | - | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
0 commit comments