
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@mastra/vectorize
Advanced tools
Affected versions:
Vector store implementation for Vectorize, a managed vector database service optimized for AI applications.
npm install @mastra/vectorize
import { VectorizeStore } from '@mastra/vectorize';
const vectorStore = new VectorizeStore({
apiKey: process.env.VECTORIZE_API_KEY,
projectId: process.env.VECTORIZE_PROJECT_ID
});
// Create a new index
await vectorStore.createIndex({
indexName: 'my-index',
dimension: 1536,
metric: 'cosine'
});
// Add vectors
const vectors = [[0.1, 0.2, ...], [0.3, 0.4, ...]];
const metadata = [{ text: 'doc1' }, { text: 'doc2' }];
const ids = await vectorStore.upsert({
indexName: 'my-index',
vectors,
metadata
});
// Query vectors
const results = await vectorStore.query({
indexName: 'my-index',
queryVector: [0.1, 0.2, ...],
topK: 10,
filter: { text: { $eq: 'doc1' } },
includeVector: false
});
The Vectorize vector store requires the following configuration:
VECTORIZE_API_KEY: Your Vectorize API keyVECTORIZE_INDEX_NAME: Name of the index to useVECTORIZE_PROJECT_ID: Your Vectorize project IDcreateIndex({ indexName, dimension, metric? }): Create a new indexupsert({ indexName, vectors, metadata?, ids? }): Add or update vectorsquery({ indexName, queryVector, topK?, filter?, includeVector? }): Search for similar vectorslistIndexes(): List all indexesdescribeIndex(indexName): Get index statisticsdeleteIndex(indexName): Delete an indexFAQs
Cloudflare Vectorize store provider for Mastra
The npm package @mastra/vectorize receives a total of 3,577 weekly downloads. As such, @mastra/vectorize popularity was classified as popular.
We found that @mastra/vectorize demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.