-
Notifications
You must be signed in to change notification settings - Fork 0
feat(scanner): bind marketplace catalog identity onto plugin receipts #1141
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
Draft
seonghobae
wants to merge
12
commits into
feat/claude-plugin-scan-cli-1099
Choose a base branch
from
feat/claude-plugin-catalog-bind-1099
base: feat/claude-plugin-scan-cli-1099
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
80f56b0
feat(scanner): bind marketplace catalog identity onto plugin receipts
seonghobae 1c4aa3e
test(scanner): cover canonical marketplace entry selection
seonghobae e9852bd
fix(scanner): bind canonical marketplace entry by plugin name
seonghobae 434fd10
test(scanner): require receipt API catalog selection
seonghobae 76387a9
Harden Claude plugin marketplace validation and receipt binding
coderabbitai[bot] f690b97
test(scanner): preserve relative marketplace source contract
seonghobae d727e57
Validate relative plugin sources and enforce marketplace identity mat…
coderabbitai[bot] 6879379
test(scanner): pin marketplace pluginRoot contract
seonghobae 0484372
Resolve bare marketplace plugin sources against validated pluginRoot …
coderabbitai[bot] 76bf0fc
test(scanner): isolate target entry validation
seonghobae b5373d5
Normalize only the selected Claude marketplace plugin entry
coderabbitai[bot] a1bff47
merge(scanner): restack catalog binding on network precision
seonghobae 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
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 | 🏗️ Heavy lift
Other (CWE-494): Download of Code Without Integrity Check
Reachability: External · Exploitability: Moderate
catalog_payload와catalog_bytes의 일치를 강제하십시오.build_claude_plugin_scan_receipt()는catalog_payload에서 identity를 읽고catalog_bytes에서 별도로marketplace_blob_sha를 계산합니다. 두 입력을 비교하지 않으므로 영수증이 해시된 blob에 없는 플러그인 identity를 주장할 수 있습니다.verify_plugin_scan_receipt()도 동일한 두 입력을 다시 사용하므로 이 불일치를 탐지하지 못합니다.catalog_bytes를 중복 키 거부 방식으로 파싱하십시오. 선택과 identity 추출은 파싱 결과에서 수행하십시오.catalog_payload를 계속 받으면 파싱 결과와 일치하는지도 검사하십시오.🤖 Prompt for AI Agents