Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@tanmaysangam018/crossagent

Latest version: v0.4.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: tanmaysangam018
3 Versions
623 Downloads

Scan summary

@tanmaysangam018/crossagent was last scanned on 27 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest 2 were published within 3 days (25–27 Nov 2026).
  • Findings: No rules fired in version 0.4.0.
  • Downloads: 623 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.0 LATEST 27 Nov 2026 No rules fired
0.3.0 25 Nov 2026 No rules fired
0.2.0 19 Nov 2026 No rules fired

No rules fired in 0.4.0

Findings

Findings for v0.4.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.4.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@tanmaysangam018/crossagent (Engram SDK)

Persistent memory + cognitive security layer for AI applications.

Store what your users tell any AI. Search it semantically. Scan every AI response for prompt injection before you act on it.

npm install @tanmaysangam018/crossagent

Quick start

import { Crossagent } from 'crossagent'

const ca = new Crossagent()

// Store a memory after any AI conversation
await ca.memory.add({
  userId: 'user_123',
  message: 'I prefer TypeScript over Python for backend work.',
  response: "Got it, I'll keep that in mind.",
})

// Semantic search over everything the user has ever said
const memories = await ca.memory.search('user_123', 'programming preferences')
// → [{ content: 'User prefers TypeScript over Python for backend.', score: 0.91 }]

// Ask a natural language question over stored memories
const answer = await ca.memory.ask('user_123', 'What languages does this user like?')
// → "Based on your memories, you prefer TypeScript for backend work."

Cognitive security: scan before you trust

import Crossagent from '@tanmaysangam018/crossagent'

const engram = new Crossagent({ apiKey: 'your-key' })

// Scan any AI response for injection attacks before acting on it
const scan = await engram.memory.scan(aiResponse)

if (scan.verdict !== 'clean') {
  console.warn('Injection detected:', scan.flags)
  // → { type: 'instruction_override', severity: 'critical', match: 'Ignore all previous instructions', position: 0 }
}

// score: 0–100  |  verdict: clean / suspicious / likely_injection / definite_injection
// Detects: instruction_override, role_hijacking, context_extraction, data_exfiltration,
//          encoded_payload, urgency_manipulation, chain_injection, indirect_injection

Try it live (no account needed): crossagentsi.vercel.app/demo


API

new Crossagent(options?)
Option Type Default Description
apiKey string — Your Crossagent API key (optional on free tier)
baseUrl string https://backend-wine-phi-85.vercel.app Self-host override

ca.memory.add(opts)

Stores a conversation turn as one or more atomic memories. Facts are extracted automatically via LLM and embedded with pgvector.

await ca.memory.add({
  userId: 'user_123',
  message: 'I live in New York and work in fintech.',
  response: 'Noted!',
  sourceAgent: 'my-app',   // optional — where the message came from
  targetAgent: 'claude',   // optional — which AI responded
})

ca.memory.search(userId, query, limit?)

Semantic search over a user's memories. Returns matches sorted by relevance.

const results = await ca.memory.search('user_123', 'where does the user live', 5)
// → [{ id, content, mem_type, score }, ...]

ca.memory.ask(userId, question)

Natural language Q&A over stored memories. Uses an LLM to synthesize an answer from the user's memory.

const answer = await ca.memory.ask('user_123', 'What industry does this user work in?')
// → "Based on your memories, you work in fintech in New York."

ca.memory.list(userId)

Returns all memories for a user, ordered by recency.

const all = await ca.memory.list('user_123')

ca.memory.profile(userId)

Returns a pre-built profile: permanent facts and recent activity context.

const { static_facts, dynamic_ctx } = await ca.memory.profile('user_123')
// static_facts: ['User works in fintech', 'User prefers TypeScript']
// dynamic_ctx:  ['User is building a payments API']

ca.memory.delete(userId, memoryId)

Soft-deletes a memory (marks it superseded).

await ca.memory.delete('user_123', 'mem_id_here')

MCP server

Connect any MCP-compatible AI agent directly to Crossagent memory:

https://backend-wine-phi-85.vercel.app/mcp

Tools exposed: remember, recall, get_profile, list_memories


Memory types

Type What it means Expires
fact Permanent info — name, location, job, stack Never
preference What the user likes or wants Never
episode Current activity — "working on X" 21 days

Self-hosting

The backend is open source. Deploy your own in one command:

git clone https://github.com/TanmaySangam18/crossagent-backend
vercel deploy

Requires: GEMINI_API_KEY, SUPABASE_URL, SUPABASE_SERVICE_KEY


License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @tanmaysangam018/crossagent

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229