
Research
/Security News
TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.
@tekmemo/upstash-vector
Advanced tools
@tekmemo/upstash-vectorProduction-ready Upstash Vector adapter for TekMemo recall.
This package implements the provider-neutral RecallStore contract from @tekmemo/recall.
It is intentionally not the owner of TekMemo recall contracts. The contract lives in:
@tekmemo/recall
This package only translates that contract into Upstash Vector operations.
The production target is the official @upstash/vector SDK. The adapter also accepts a minimal compatible index shape so tests and dependency-injected hosts can use fakes.
pnpm add @tekmemo/upstash-vector @tekmemo/recall @upstash/vector
import { Index } from "@upstash/vector";
import { createUpstashRecallStore } from "@tekmemo/upstash-vector";
const index = new Index({
url: process.env.UPSTASH_VECTOR_REST_URL!,
token: process.env.UPSTASH_VECTOR_REST_TOKEN!
});
const recall = createUpstashRecallStore(index, {
environment: "prod",
tenantId: "ten_123",
projectId: "proj_123",
dimension: 1024
});
await recall.upsert([
{
id: "chunk_123",
text: "TekMemo uses file-first memory.",
embedding: [0.1, 0.2, 0.3],
metadata: {
tenantId: "ten_123",
projectId: "proj_123",
sourceType: "document",
sourceId: "core",
memoryType: "core",
sourcePath: ".tekmemo/memory/core.md"
}
}
]);
const results = await recall.query({
embedding: [0.1, 0.2, 0.3],
topK: 5,
filter: {
memoryType: "core"
}
});
By default, namespaces are generated as:
tekmemo-<environment>-<tenantId>-<projectId>
Examples:
createUpstashRecallStore(index, {
environment: "prod",
tenantId: "ten_123",
projectId: "proj_123"
});
produces:
tekmemo-prod-ten_123-proj_123
You can also pass an explicit namespace:
createUpstashRecallStore(index, {
namespace: "tenant/proj"
});
This package is BYOK-ready.
The host app supplies the Upstash client or credentials. This package never stores secrets.
In TekMemo Cloud:
Upstash Vector does not expose a universal provider-neutral “delete all vectors by metadata” contract in this package.
So deleteBySource requires a source-to-chunk resolver:
const recall = createUpstashRecallStore(index, {
environment: "prod",
resolveChunkIdsBySource: async ({ projectId, sourceType, sourceId }) => {
return chunkRegistry.findIdsBySource({ projectId, sourceType, sourceId });
}
});
This matches TekMemo’s architecture: the chunk registry should know which chunks came from each .tekmemo/ source.
@tekmemo/recalldeleteBySource without resolverpnpm --filter @tekmemo/upstash-vector typecheck
pnpm --filter @tekmemo/upstash-vector test:run
pnpm --filter @tekmemo/upstash-vector build
FAQs
Upstash Vector recall adapter for TekMemo.
The npm package @tekmemo/upstash-vector receives a total of 1 weekly downloads. As such, @tekmemo/upstash-vector popularity was classified as not popular.
We found that @tekmemo/upstash-vector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.

Research
/Security News
Socket found 16 malicious Firefox extensions designed to steal crypto wallet recovery phrases and private keys using cloned Rabby and OKX interfaces.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.