Skip to content

Commit 82fbfa3

Browse files
committed
fix: address password security review for x402_fetch
1 parent 885d9dc commit 82fbfa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mcp/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ server.tool(
997997
'and retrying the request. IMPORTANT: Real on-chain payment with real funds.',
998998
{
999999
address: injAddress.describe('The inj1... address of your trading wallet.'),
1000-
password: z.string().describe('Keystore password to decrypt the private key for signing.'),
1000+
password: z.string().describe('Keystore password to decrypt the private key for signing. SECURITY: Never log, store, or echo this. Use secret inputs only.'),
10011001
url: z.string().url().describe('The URL of the x402-gated API endpoint.'),
10021002
},
10031003
async ({ address, password, url }) => {

0 commit comments

Comments
 (0)