The flagged code supports AgentSky’s CLI features: the package has no install hook, trace sync is explicitly enabled and disabled by default, and local recording requires an explicit command. The token flow uses the AgentSky token with the AgentSky API; no unrelated credential exfiltration or automatic malicious behavior was identified.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
CLI commands; trace sync requires prior explicit enablement, and local recording requires `sky trace record --enable`.
Impact
No malicious impact identified. Enabled sync uploads sessions to the selected workspace; optional recording stores them in a local vault.
Mechanism
The AgentSky token is read from AgentSky config or `SKY_API_TOKEN` and used with the AgentSky API. Trace uploads are described as redacted and require enabled sync; recording stores data locally.
Evidence
~/.config/sky/config.json~/.config/sky/trace-sync.json~/.trace-vault
Network endpoints2
api.agentsky.devagentsky.dev