Repository navigation
SolanaVrf v1.0.0 #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
SolanaVrf v1.0.0 #69
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
b3f5a89
fix: purge expired requests in a single O(n) pass
GabrielePicco 3e96d45
feat: cap oracle queue account size at initialization
GabrielePicco a760c30
fix: lower queue size cap to 512 KiB
GabrielePicco 674910c
feat: let an oracle pause its queue
GabrielePicco 670445d
chore: fmt
GabrielePicco aab2647
feat: only allow delegating a queue that has never been used
GabrielePicco 49949fb
refactor: remove the queue undelegation path
GabrielePicco 86c53df
fix: expire requests by wall-clock time instead of a fixed slot count
GabrielePicco 4c6463b
refactor: remove unreachable next <= cursor guards in queue scans
GabrielePicco 0c1ae8f
fix: remove 200-slot cooldown on oracle queue registration
GabrielePicco 434ed0e
fix: detect callback program accounts by loader owner, not just execu…
GabrielePicco 319786e
fix: remove unreachable defensive guards in queue callback readers
GabrielePicco d0b3e79
refactor: centralize queue traversal in a single scan_items helper
GabrielePicco f662260
fix: replace hand-written unsafe casts with bytemuck safe helpers
GabrielePicco d43a08e
refactor: derive request id in a single insertion scan
GabrielePicco 0f4f81f
refactor: clarify misleading names and formatting
GabrielePicco 731356e
refactor: remove always-constant function arguments
GabrielePicco 12ce2c7
docs: correct erroneous comments across program handlers
GabrielePicco 5d46054
refactor: handle the queue discriminator inside QueueAccount::load
GabrielePicco 7035c2e
chore: remove dead and unused code
GabrielePicco 2b225ae
Merge C11: detect callback program accounts by loader owner (GHSA-r6f…
GabrielePicco 9fd4564
Merge C4: only allow delegating a never-used queue (GHSA-8643-55r3-896v)
GabrielePicco a2ea108
Merge C3: let an oracle pause its queue (GHSA-h7pm-qcgr-3cjr)
GabrielePicco 2f67207
Merge C10: remove the oracle queue registration cooldown (GHSA-q465-g…
GabrielePicco 649ac4e
Merge C18: remove always-constant function arguments (GHSA-g47v-hmp9-…
GabrielePicco bb7eae0
Merge C20: correct erroneous comments (GHSA-p22g-w8xh-6f7v)
GabrielePicco bd941ce
Merge C7: expire requests by wall-clock time instead of a fixed slot …
GabrielePicco 4f53dee
Merge C5: remove the queue undelegation path (GHSA-hrg2-wxgj-cm2j)
GabrielePicco c091807
Merge C13: centralize queue traversal in a single scan_items helper (…
GabrielePicco 010f9ca
Merge C8: remove unreachable next<=cursor guards in queue scans (GHSA…
GabrielePicco 74e2ada
Merge C12: remove unreachable defensive guards in queue callback read…
GabrielePicco e36e8ba
Merge C1 & C2: single-pass O(n) purge and queue size cap (GHSA-88jr-6…
GabrielePicco cd55a18
Merge C15: derive request id in a single insertion scan (GHSA-ch66-w5…
GabrielePicco dfc24e4
Merge C16: replace hand-written unsafe casts with bytemuck helpers (G…
GabrielePicco ab47599
Merge C19: handle the queue discriminator inside QueueAccount::load (…
GabrielePicco 0e8c3a3
Merge C17: clarify misleading names and formatting (GHSA-85mh-69p7-m3xp)
GabrielePicco 6a82ce8
Merge C21: remove dead and unused code (GHSA-q4xj-qcqq-w68m)
GabrielePicco 9b27e0f
chore: reconcile integration points across the merged findings
GabrielePicco d23a1a1
fix: address second-round audit review feedback
GabrielePicco a07a5c9
fix: bring the program IDL up to date with the on-chain instruction set
GabrielePicco a15492c
chore: remove the unused OracleNotAuthorized error variant
GabrielePicco c91fa5c
release: v1.0.0
GabrielePicco 1d9fe7b
chore: renaming from ephemeral-vrf to solana-vrf
GabrielePicco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Publish ephemeral vrf packages | ||
| name: Publish SolanaVrf packages | ||
|
|
||
| on: | ||
| release: | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: magicblock-labs/solana-vrf
Length of output: 7696
Security Misconfiguration
Reachability: External
Exploitability: Moderate
CWE: CWE-732 — Incorrect Permission Assignment for Critical Resource
Declare least-privilege permissions for the publishing workflow.
The workflow passes
GITHUB_TOKENto third-party actions but declares no explicit permissions. Define the minimum required permissions at job level, including only the scopes needed for checkout and GitHub release uploads.🧰 Tools
🪛 zizmor (1.29.0)
[warning] 1-205: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
🤖 Prompt for AI Agents
Source: Linters/SAST tools