The latest version published to npm is the only one that gets fixes.
Please don't open a public issue for a security problem.
Use GitHub's private vulnerability reporting instead. Expect a first response within a week.
Please include what you found, how to reproduce it, and what an attacker gets out of it.
Calls xAI's compaction endpoint with your key and folds the result back into your loop. Transcripts pass through it and are not stored.
- Your
XAI_API_KEYand your transcripts are sent to xAI's compaction endpoint over HTTPS. Nothing is written to disk and nothing goes anywhere else. - Compacted output is model output. It is folded back into your loop as context. If your loop grants tools on the strength of context, treat a compacted record with the same suspicion as any other model text.
In scope: anything that leaks a credential, reads data belonging to someone else, or lets untrusted input reach code execution.
Out of scope: findings that require an attacker to already control the machine it runs on.