The flagged credential routing sends explicitly configured Zhipu keys only to Zhipu's named Anthropic-compatible endpoints. The persistence behavior is behind an explicit service install command, so the reviewed source does not show malicious or unauthorized behavior.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
GLM credential routing occurs when the user configures a Zhipu key and uses the GLM agent. Background persistence requires the explicit service install command.
Impact
No unauthorized credential disclosure or automatic persistence was identified.
Mechanism
The GLM adapter selects a Zhipu endpoint based on ZHIPU_API_KEY or ZAI_API_KEY and passes that key to the corresponding service. The service installer writes a macOS LaunchAgent only for the install command.
Evidence
~/Library/LaunchAgents/local.papilot.plist