
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@synap-core/cli
Advanced tools
Connect OpenClaw to your Synap pod — sovereign knowledge infrastructure for AI agents.
npx @synap-core/cli init
synap init walks you through three paths depending on your setup:
| Path | When to use |
|---|---|
| A — Existing OpenClaw | OpenClaw is already running, just connect it to Synap |
| B — Fresh install | No OpenClaw yet — generates config, you run openclaw --config synap.json |
| C — Managed pod | Point to your Synap cloud pod, CLI handles everything |
After init, your AI agent gets structured memory (entities, relationships, full-text search, knowledge graph) via the synap OpenClaw skill.
# Run once (no install needed)
npx @synap-core/cli init
# Or install globally
npm install -g @synap-core/cli
synap init
Requirements: Node.js 20+
Detailed setup for Linux servers, Docker, SSH environments, and permission issues: docs/INSTALL.md
synap initFull setup wizard. Detects OpenClaw, connects to a pod, installs the skill, seeds the Agent OS workspace.
synap init
If OpenClaw is being provisioned on a managed server, setup may take a few minutes. Run synap finish once it's ready.
synap finishComplete the setup after OpenClaw has started (managed pod path). Installs the skill, seeds entities, configures the intelligence service.
synap finish
Run this after synap init if prompted — it's the second half of the managed pod flow.
synap statusShow the health of your entire stack at a glance.
synap status
Output covers:
synap loginSign in to your Synap account. Required for managed pod flows.
synap login # Opens browser
synap login --token <token> # Headless / server environments
For servers without a browser, generate a token at synap.live/account/tokens and use --token.
Your session is kept alive automatically — as long as synap status or synap init succeeds at least once every 7 days, you won't need to re-login.
synap logoutRemove stored credentials.
synap logout
synap connectConnect to a pod that was already provisioned (skip the full init wizard).
synap connect
synap security-auditCheck your OpenClaw + Synap config for common security issues (API key exposure, outdated versions, HTTPS enforcement, etc.).
synap security-audit
synap security-audit --fix # Auto-fix what's fixable
Example output:
✓ Gateway bound to loopback
✓ Token authentication enabled
✗ OpenClaw version 2026.2.x — CRITICAL (9.9 CVSS)
✓ No plaintext credentials
✗ ~/.openclaw world-readable
✓ WebSocket origin validation
✓ Dangerous skill scanner
✓ Workspace filesystem access
✓ Exec approval gates
Score: B (2 issues, 1 critical)
synap updateUpdate the Synap skill in your OpenClaw installation to the latest version.
synap update
The CLI stores config in ~/.synap/ (user-only, chmod 600):
| File | Contents |
|---|---|
credentials.json | CP auth token |
pod-config.json | Pod URL, workspace ID, agent user ID, Hub API key |
Never commit these files.
| Variable | Default | Description |
|---|---|---|
SYNAP_CP_URL | https://api.synap.live | Control plane API URL |
SYNAP_LANDING_URL | https://synap.live | Landing page URL (for OAuth callback) |
The synap OpenClaw skill gives your AI agents access to Synap's Hub Protocol:
| What | How the agent uses it |
|---|---|
| Store a memory | Save a fact — keyword or semantic search |
| Search memories | Find relevant facts across everything stored |
| Create an entity | Structured object (person, task, note, project, …) |
| Search entities | Find by name, type, or content |
| Send a message | Post to any channel |
| Create a proposal | Propose a change for human review |
Agents self-discover available entity types and views at runtime — no hardcoding.
git clone https://github.com/synap-core/synap-backend
cd synap-backend
docker compose --profile openclaw up -d
# then:
synap init # → "Connect to existing pod" → http://localhost:4000
synap init → "Connect to my Synap cloud pod""Could not reach pod" Check that your pod URL is reachable. For self-hosted, make sure Docker Compose is up and port 4000 is accessible.
"No workspace found on this pod"
The CLI auto-creates an Agent OS workspace on first connect. Re-run synap init — it's idempotent.
"OpenClaw provisioning error" (managed pod, serverIp null)
Your managed pod doesn't have a registered server IP (trial pods). Install OpenClaw locally instead:
npm i -g openclaw
synap init # → Path A
Login on a remote server (no browser)
synap login --token <your-token>
# Generate token at: https://synap.live/account/tokens
"Session expired" in synap status
Run synap login again. In normal use the session auto-refreshes and you should only need to login once.
MEMORY.md is flat files. Synap gives you PostgreSQL + pgvector + Typesense — entities, relationships, full-text + semantic search.MIT
FAQs
Synap CLI — connect OpenClaw to sovereign knowledge infrastructure
The npm package @synap-core/cli receives a total of 89 weekly downloads. As such, @synap-core/cli popularity was classified as not popular.
We found that @synap-core/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.