Repository navigation
Update mppx-stake to 0.7.0 - #22
Conversation
Bond No Longer RequiredThis PR was closed without a bond being activated. No bond is required. |
mppx-stake 0.6.1 removed the configurable method name — stake is always 'evm/stake'. Remove the name arg from serverStake/clientStake, the options arg from parseStakeChallenge, and methodName from config.json and both app config loaders. Update README/AGENTS/skill docs to match. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
@claude can you review this PR for bugs and security issues? |
|
Claude finished @navFooh's task in 3m 8s —— View job PR Review: Update mppx-stake to 0.7.0
Overall this PR is a clean simplification: hardcoding Moderate1. Host Header Injection in challenge URL construction (pre-existing, not worsened)File: const host =
typeof hostHeader === 'string' && hostHeader.length > 0
? hostHeader
: `${server.host}:${server.port}`
return `${req.protocol}://${host}`
Low2.
|
Set prettier's endOfLine to auto so CRLF checkouts on Windows don't trigger thousands of prettier/prettier lint errors, and add a .prettierignore for lib/ submodules and the generated ABI file so prettier doesn't trip on the vendored solidity plugin config. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Reject mismatched Host headers in mpp-server's getOrigin so an attacker can't steer the challenge realm at an attacker-controlled domain. - Warn at serverStake() construction when consumeChallenge is unset, so demo deployments don't silently ship without replay protection. - Document the CredentialChallenge cast in the CLI respond command, matching the explanation already in the client tests. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Updates
packages/mppx-stakefrom mppx-stake@0.7.0.