Catalog npm
PACKAGE EXPLORERView in registry

@0x2e8/phantom-ai-crawler

npm

Adaptive AI-powered web crawler with behavioral mutation engine

adaptiveaianthropicclaudecrawlerpentestscraperstealth
Versions collected29
Direct dependencies21From release 1.5.2
Last observed20 Oct, 22:34 UTC

README

Current package documentation

🎭 Phantom AI

Adaptive AI-powered web crawler with behavioral mutation engine.

Powered by Claude Sonnet 4.5+ - the crawler evolves its behavior to match what targets expect.

✨ Features

  • 🧠 AI-Driven: Uses Claude Sonnet 4.5 for behavioral analysis
  • 🔄 Self-Mutating: DNA evolves based on target responses
  • 🚦 Green Light System: Trust-based progression from RED → GREEN
  • 📊 Real-time Dashboard: Web UI for monitoring and control
  • 🎯 Multi-target: Crawl multiple sites simultaneously
  • 🔒 Stealth: Adapts to avoid detection

🚀 Quick Start

Installation

# Via npx (no install)
npx phantom-ai-crawler

# Or install globally
npm install -g phantom-ai-crawler
phantom-ai

# Or local install
npm install phantom-ai-crawler
npx phantom-ai

First Run

# 1. Setup (configure API key)
phantom-ai setup

# 2. Start server
phantom-ai start

# 3. Open dashboard
# http://localhost:8081

🛠️ Commands

phantom-ai               # Start server (default)
phantom-ai start         # Start backend + dashboard
phantom-ai setup         # Run configuration wizard
phantom-ai status        # Check configuration

Options

phantom-ai start -p 3000      # Backend on port 3000
phantom-ai start -u 8080      # Dashboard on port 8080
phantom-ai start --setup      # Force reconfiguration

🔧 Configuration

The setup wizard will ask for:

  1. Anthropic API Key - Get from https://console.anthropic.com
  2. Claude Model - Recommended: claude-4-5-sonnet-20250929
  3. Backend Port - Default: 4000
  4. Dashboard Port - Default: 8081

Config is saved to .env in your working directory.

📁 Project Structure

phantom-ai/
├── .env                 # Your configuration
├── phantom.db          # SQLite database
├── src/
│   ├── cli.ts          # CLI entry point
│   └── server/         # Backend API
├── dashboard/          # Web UI
└── prisma/            # Database schema

🔌 API Endpoints

EndpointMethodDescription
/healthGETServer status
/api/targetsGETList targets
/api/targetsPOSTCreate target
/api/targets/:idGETTarget details
/api/dna/:id/currentGETCurrent DNA
/api/mcp/analyze/:idPOSTRun MCP analysis

🧬 How It Works

  1. Discovery (🔴 RED): Initial reconnaissance phase
  2. Learning (🟡 YELLOW): Testing behavioral patterns
  3. Established (🟢 GREEN): Trusted access achieved
  4. Maintenance: Continuous adaptation

The MCP (Model Context Protocol) analyzes each interaction and suggests DNA mutations to improve trust scores.

📝 Requirements

  • Node.js 18+
  • Anthropic API key
  • Claude Sonnet 4.5+ access

🐛 Troubleshooting

Port already in use:

phantom-ai start -p 3000 -u 8080  # Use different ports

Database issues:

rm phantom.db  # Reset database
phantom-ai setup

API key not working:

phantom-ai status  # Check configuration
phantom-ai setup   # Reconfigure

🏗️ Development

git clone https://github.com/0x2e8-gc/phantom-ai-crawler.git
cd phantom-ai
npm install
npm run dev          # Development mode
npm run build        # Build for production

📦 Publishing to NPM

# 1. Update version
npm version patch

# 2. Build
npm run build

# 3. Publish
npm publish

# Or dry run first
npm publish --dry-run

📄 License

MIT


Built with 🎭 by 0x2e8

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 29

Collected releases
VersionPublishedDirect dependenciesOpen version
1.5.2Registry latest10 Feb 202621
1.5.110 Feb 202621
1.5.010 Feb 202621
1.4.010 Feb 202621
1.3.110 Feb 202621
1.3.010 Feb 202621
1.2.19 Feb 202621
1.2.09 Feb 202621
1.1.189 Feb 202620
1.1.179 Feb 202620
1.1.169 Feb 202620
1.1.159 Feb 202620
1.1.149 Feb 202620
1.1.139 Feb 202620
1.1.129 Feb 202620
1.1.119 Feb 202620
1.1.109 Feb 202620
1.1.99 Feb 202620
1.1.89 Feb 202620
1.1.79 Feb 202620

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0x2e8-gc/phantom-ai-crawler

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0x2e8/phantom-ai

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e25c490ca91b2b68465b5d74d4e1357f39bc6b1036fe48d103c6431c35b04c43