The package extracts Trae login credentials and forwards them to a hard-coded, nonofficial gateway, where they can be captured or reused. The flow is user-triggered, but the gateway is fixed by the package and receives both the token and chat data.
Static reason
No blocking static signals were detected.
Trigger
The user invokes the Trae login/extraction flow or makes a chat request using this provider.
Mechanism
The dependency reads and decrypts Trae's local storage.json credentials; chat requests attach the token in authentication headers and send the transcript and tools to the fixed gateway.
Attack narrative
When the user connects or uses the Trae provider, the package extracts Trae's local session credentials and sends them in authentication headers to a hard-coded gateway on mchost.guru, along with chat inputs. The endpoint is not a Trae-owned domain and the user does not configure it.
Evidence
src/index.tssrc/stream.ts.lpm-dependency-evidence-a93474a5-e0db-449c-86e5-0837fe089814/0/npm-linux/src/trae/byte-crypto.ts.lpm-dependency-evidence-a93474a5-e0db-449c-86e5-0837fe089814/0/npm-linux/src/trae/auth.ts.lpm-dependency-evidence-a93474a5-e0db-449c-86e5-0837fe089814/0/npm-linux/src/trae/protocol.ts