
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.
@memberjunction/ai-cohere
Advanced tools
MemberJunction: Cohere AI Provider - Semantic reranking using Cohere's Rerank API
MemberJunction AI provider for Cohere. It implements BaseReranker for semantic document reranking (Cohere Rerank API) and BaseEmbeddings for text and multimodal embeddings (Cohere Embed v4), useful for improving relevance and powering retrieval in RAG (Retrieval-Augmented Generation) pipelines.
graph TD
A["CohereReranker<br/>(Provider)"] -->|extends| B["BaseReranker<br/>(@memberjunction/ai)"]
A -->|wraps| C["CohereClient<br/>(cohere-ai SDK)"]
C -->|calls| D["Cohere Rerank API"]
D -->|returns| E["Ranked Documents<br/>with Relevance Scores"]
B -->|registered via| F["@RegisterClass"]
style A fill:#7c5295,stroke:#563a6b,color:#fff
style B fill:#2d6a9f,stroke:#1a4971,color:#fff
style C fill:#2d8659,stroke:#1a5c3a,color:#fff
style D fill:#2d8659,stroke:#1a5c3a,color:#fff
style E fill:#b8762f,stroke:#8a5722,color:#fff
style F fill:#b8762f,stroke:#8a5722,color:#fff
rerank-v3.5 (English) and rerank-multilingual-v3.0 (100+ languages)npm install @memberjunction/ai-cohere
import { CohereReranker } from '@memberjunction/ai-cohere';
const reranker = new CohereReranker('your-cohere-api-key', 'rerank-v3.5');
const results = await reranker.Rerank({
query: 'What is the capital of France?',
documents: [
{ id: '1', text: 'Paris is the capital of France.' },
{ id: '2', text: 'London is the capital of England.' },
{ id: '3', text: 'France is a country in Europe.' }
],
topK: 5
});
// Results sorted by relevance score (0-1)
for (const result of results) {
console.log(`${result.documentId}: ${result.relevanceScore}`);
}
import { CohereEmbedding } from '@memberjunction/ai-cohere';
const embedding = new CohereEmbedding('your-cohere-api-key');
// Text (1536-dim vector)
const text = await embedding.EmbedText({ text: 'a golden retriever in the snow' });
// Multimodal: text + image fused into ONE vector
const multimodal = await embedding.EmbedContent({
content: [
{ type: 'text', content: 'product photo:' },
{ type: 'image_url', content: '<base64-image>', mimeType: 'image/png' },
],
});
console.log(multimodal.vector.length); // 1536
| Model | Description |
|---|---|
rerank-v3.5 | Latest English reranker with best accuracy (default) |
rerank-multilingual-v3.0 | Supports 100+ languages |
CohereReranker -- Registered as CohereLLM via @RegisterClass(BaseReranker, 'CohereLLM').CohereEmbedding -- Registered via @RegisterClass(BaseEmbeddings, 'CohereEmbedding').@memberjunction/ai - Core AI abstractions (BaseReranker)@memberjunction/global - Class registrationcohere-ai - Official Cohere SDKFAQs
MemberJunction: Cohere AI Provider - Semantic reranking using Cohere's Rerank API
The npm package @memberjunction/ai-cohere receives a total of 0 weekly downloads. As such, @memberjunction/ai-cohere popularity was classified as not popular.
We found that @memberjunction/ai-cohere demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.