Skip to content

Commit c8b5d91

Browse files
committed
modify prompt
1 parent 8aec1f1 commit c8b5d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MCP-Security/MCPResponseDataLeakCheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ execute:
5050
validate:
5151
response_payload:
5252
contains_either: |-
53-
$magic Analyze the response for signs of sensitive or internal data leakage. Flag values that meet any of the following: - Credentials or secrets (e.g., tokens, API keys, passwords, base64 or JWT-like blobs) - Internal service references (e.g., internal URLs, IPs like 10.x.x.x, *.internal domains, localhost, local domains) - Debug traces, error dumps, or stack traces. - User data (emails, phone numbers, names) ONLY IF: - It's unrelated to the current authenticated user, or - Appears inside debug, tool, or error responses unexpectedly
54-
Do not flag business response fields unless they contain sensitive-looking values. Focus on the content of the values, not field names. Return only red-flag values. Return an empty list if nothing suspicious is found.
53+
$magic Analyze the response for signs of sensitive or internal data leakage. Flag values that meet any of the following: - Credentials or secrets (e.g., tokens, API keys, passwords, base64 or JWT-like blobs) - User data (emails, phone numbers, names) ONLY IF: - It's unrelated to the current authenticated user, or - Appears inside debug, tool, or error responses unexpectedly
54+
Do not flag business response fields unless they contain sensitive-looking values. Focus on the content of the values, not field names. Return only red-flag values. Return an empty list if nothing suspicious is found.

0 commit comments

Comments
 (0)