
Research
/Security News
Malicious Chrome and Firefox Extensions Steal Crypto Traders’ Session and Wallet Data
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.
@nanomind/router
Advanced tools
Intent classification and command mapping for CLI security tools. Classifies natural language into 17 intent types including 6 security scanning intents.
npm install @nanomind/router
import { classifyIntent, mapToCommand, isScanIntent } from '@nanomind/router';
const result = classifyIntent('scan this project for vulnerabilities');
// { intent: 'SCAN', confidence: 0.85, entities: {} }
const cmd = mapToCommand(result, 'hma');
// { command: 'hma secure', args: ['.'], description: 'Run security scan' }
// Check if an intent is a security scan (needs full model inference)
isScanIntent('SCAN_SKILL'); // true
isScanIntent('EXPLAIN'); // false
| Intent | Example | Maps To |
|---|---|---|
| SCAN | "scan this project" | hma secure |
| FIX | "fix the credential issue" | hma secure --fix |
| EXPLAIN | "what does CRED-001 mean" | hma explain CRED-001 |
| TRUST_QUERY | "what's the trust level" | hma trust |
| ATC_STATUS | "why is my agent level 2" | opena2a identity status |
| ATTEST | "add trust to my CI" | opena2a identity attest |
| PROTECT | "protect my credentials" | secretless-ai init |
| REVIEW | "review my project security" | opena2a review |
| HELP | "how do I use this" | --help |
| CONFIG | "set my API key" | opena2a config |
| UNKNOWN | (low confidence) | Show suggestions |
These intents require full NanoMind model inference via the daemon. Used by HackMyAgent's Semantic Compiler.
| Intent | Purpose | Used By |
|---|---|---|
| SCAN_SKILL | Classify skill artifacts for attack patterns | SemanticCompiler |
| SCAN_MCP | Analyze MCP server configurations | SemanticCompiler |
| SCAN_SOUL | Evaluate governance document completeness | SemanticCompiler |
| SCAN_CREDENTIAL | Detect credential exposure in context | SemanticCompiler |
| SCAN_CODE | Identify code injection patterns | SemanticCompiler |
| COMPILE_AST | Full AST compilation (all analyzers) | SemanticCompiler |
The classifier returns a confidence score between 0 and 1:
| Range | Meaning |
|---|---|
| 0.8-1.0 | High confidence, route directly |
| 0.5-0.8 | Medium confidence, may prompt for clarification |
| 0.0-0.5 | Low confidence, show suggestions |
MIT
FAQs
Intent classification and command mapping for CLI tools
We found that @nanomind/router 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
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.