
Security News
Re-Enabled GitHub Actions Expose Thousands of Repositories to Mini Shai-Hulud
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.
@mastra/memory
Advanced tools
Affected versions:
@mastra/memory gives Mastra agents persistent conversation history, semantic recall, working memory, and observational memory. Attach a Memory instance to an agent when it should retain context across messages and threads.
npm install @mastra/memory
Attach memory to an agent and pass a stable thread and resource ID when generating a response.
import { Agent } from '@mastra/core/agent';
import { Memory } from '@mastra/memory';
const agent = new Agent({
id: 'support-agent',
name: 'Support agent',
instructions: 'Answer support questions using the conversation history.',
model: 'openai/gpt-5.6-sol',
memory: new Memory(),
});
const response = await agent.generate('What did we discuss last time?', {
memory: { thread: 'conversation-123', resource: 'user-456' },
});
See the package changelog for version history and release notes.
We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.
FAQs
Unknown package
The npm package @mastra/memory receives a total of 425,517 weekly downloads. As such, @mastra/memory popularity was classified as popular.
We found that @mastra/memory demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.

Research
/Security News
The compromise affects MemTensor's MemOS, an open source memory framework for large language models (LLMs) and AI agents. Both npm package @memtensor/memos-cloud-openclaw-plugin and the PyPI package MemoryOS are compromised. They drop cross-platform Go binaries that exfiltrate developer secrets.