Security review: 12 new findings in frontend packages and configuration - #1
Draft
cursor[bot] wants to merge 1 commit into
Draft
Security review: 12 new findings in frontend packages and configuration#1cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Thorough review of packages/webapp-prove, packages/dapp-verify, packages/common, packages/notary, and root configuration files. 12 new findings covering: - Plaintext HTTP/WS for notary connections (HIGH) - SSRF via URL-controlled faucet endpoint (HIGH) - Unvalidated world address/chain ID from URL params (HIGH) - Disabled Vite filesystem restrictions (MEDIUM) - Wildcard proxy rules (MEDIUM) - Production source maps enabled (MEDIUM) - Missing rel=noopener on target=_blank links (MEDIUM) - Burner wallet key in localStorage (MEDIUM) - No Content-Security-Policy configured (MEDIUM) - Committed build artifacts with source maps (MEDIUM) - DEBUG logging in notary production config (MEDIUM) - Unvalidated initialBlockNumber DoS vector (LOW)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Security Review Findings
Thorough security review of
packages/webapp-prove,packages/dapp-verify,packages/common,packages/notary, and root configuration files. Excludes the 7 already-known issues (committed private keys, SGX debug mode, notary auth disabled, missing Cargo.lock, unverified proof public key, curl|bash supply chain, SGX manifest key protection).Summary: 12 new findings
HIGH (3):
worldAddressandchainIdfrom URL params → victim interacts with attacker's contractMEDIUM (8):
fs.strict: falsedisables filesystem access restrictions on dev server/*proxy rule creates open proxy / recursive loopsourcemap: true) exposing full source codetarget="_blank"links missingrel="noopener noreferrer"→ reverse tabnabbingdapp-verify/build/andpublic/LOW (1):
initialBlockNumberURL param parsed without validation → client-side DoSFile added
security-findings.json— complete findings with severity, attack paths, evidence, and remediation for each issue