Skip to content

Commit eec24c5

Browse files
committed
chore(commerce): drop "malicious merchant" rationale from canonical-api comment
The _CANONICAL_AGENTSCORE_API note explained why the URL was hardcoded in threat-model terms ("Prevents a malicious merchant from emitting memory pointing agents at their own phishing endpoints"). Behavior-only language is enough; the canonical-URL choice stands without narrating the threat.
1 parent f71c22c commit eec24c5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

agentscore_commerce/identity/types.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,8 @@ class VerifyWalletSignerResult:
129129
agent_instructions: str | None = None
130130

131131

132-
# Canonical production AgentScore API — agent memory pointers are always hardcoded to this
133-
# value regardless of how a given merchant configured their gate. Prevents a malicious merchant
134-
# from emitting memory pointing agents at their own phishing endpoints.
132+
# Canonical production AgentScore API; agent memory pointers are always hardcoded to this
133+
# value regardless of how a given merchant configured their gate.
135134
_CANONICAL_AGENTSCORE_API = "https://api.agentscore.sh"
136135

137136

0 commit comments

Comments
 (0)