SecureNow

السجل الرسمي المالية والمدفوعات

Production security for Node.js apps: investigate live attacks, block IPs, tune detections.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http securenow 'https://api.securenow.ai/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "securenow": {
            "type": "http",
            "url": "https://api.securenow.ai/mcp"
        }
    }
}
NPM package securenow
Claude Code
claude mcp add securenow -- npx -y securenow@8.12.4 mcp
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "securenow": {
            "command": "npx",
            "args": [
                "-y",
                "securenow@8.12.4",
                "mcp"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. SecureNow
  2. 🚀 Quick Start
  3. 📦 Installation
  4. ⚙️ Configuration
  5. 🎯 Supported Frameworks & Libraries
  6. 📚 Documentation
  7. 🆘 Support
  8. 📄 License

SecureNow

OpenTelemetry instrumentation for Node.js and Next.js applications - send traces and logs to SigNoz or any OTLP-compatible backend.

Official npm package: securenow


🚀 Quick Start

For Next.js Applications

The easiest way to add observability to Next.js!

# Just install - setup is automatic!
npm install securenow

🎉 The installer will automatically:

  • Detect your Next.js project
  • Create instrumentation.ts (or .js)
  • Create .env.local template

Just answer "Y" when prompted!

Then configure your .env.local:

SECURENOW_APPID=my-nextjs-app
SECURENOW_INSTANCE=http://your-signoz-server:4318

Alternative: Use the CLI command

npx securenow init

Done! 🎉 See Next.js Complete Guide for details.


For Node.js Applications (Express, Fastify, NestJS, etc.)
Tracing Only
# 1. Install
npm install securenow

# 2. Set environment variables
export SECURENOW_APPID=my-app
export SECURENOW_INSTANCE=http://your-signoz-server:4318

# 3. Run with preload
NODE_OPTIONS="-r securenow/register" node app.js
# or
NODE_OPTIONS="-r securenow/register" npm start
# 1. Install
npm install securenow

# 2. Set environment variables
export SECURENOW_APPID=my-app
export SECURENOW_INSTANCE=http://your-signoz-server:4318
export SECURENOW_LOGGING_ENABLED=1

# 3. Run with preload (adds logging)
NODE_OPTIONS="-r securenow/register -r securenow/console-instrumentation" node app.js

# Now all console.log/info/warn/error automatically go to SigNoz!

📦 Installation

npm install securenow
# or
yarn add securenow
# or
pnpm add securenow

⚙️ Configuration

Environment Variables
# Required: Your application identifier
SECURENOW_APPID=my-app-name

# Optional: Your SigNoz/OTLP collector endpoint
# Default: https://freetrial.securenow.ai:4318
SECURENOW_INSTANCE=http://your-signoz-server:4318

# Optional: Enable Logging
SECURENOW_LOGGING_ENABLED=1                 # Enable automatic log collection

# Optional: Additional configuration
SECURENOW_NO_UUID=1                         # Don't append UUID to service name
OTEL_LOG_LEVEL=info                         # debug|info|warn|error
SECURENOW_DISABLE_INSTRUMENTATIONS=fs,dns   # Disable specific instrumentations
OTEL_EXPORTER_OTLP_HEADERS="x-api-key=..."  # Authentication headers

# Optional: Request body capture (for debugging)
SECURENOW_CAPTURE_BODY=1                    # Capture request bodies in traces
SECURENOW_MAX_BODY_SIZE=10240               # Max body size in bytes
SECURENOW_SENSITIVE_FIELDS="field1,field2"  # Additional fields to redact
Legacy Environment Variables (still supported)
export securenow=<API-KEY>
export securenow_instance='http://<dedicated_instance>:4318'

🎯 Supported Frameworks & Libraries

SecureNow automatically instruments:

Web Frameworks
  • ✅ Next.js (App Router & Pages Router)
  • ✅ Express.js
  • ✅ Fastify
  • ✅ NestJS
  • ✅ Koa
  • ✅ Hapi
Databases
  • ✅ PostgreSQL
  • ✅ MySQL / MySQL2
  • ✅ MongoDB
  • ✅ Redis
Logging
  • ✅ Automatic console logging (console.log, info, warn, error)
  • ✅ Structured logging with OpenTelemetry
  • ✅ Automatic trace-log correlation
  • ✅ Works with all frameworks
Other
  • ✅ HTTP/HTTPS requests
  • ✅ GraphQL
  • ✅ gRPC
  • ✅ And many more via OpenTelemetry auto-instrumentation

📚 Documentation

Quick Starts
Complete Guides
Examples

🆘 Support

  • Website: securenow.ai
  • Issues: Report bugs and request features
  • Documentation: Full documentation and guides

📄 License

ISC

الأسئلة الشائعة

ما هو SecureNow؟

Production security for Node.js apps: investigate live attacks, block IPs, tune detections.

كيف أثبّت SecureNow؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http securenow 'https://api.securenow.ai/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج SecureNow إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل SecureNow مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص ISC.

من يصون SecureNow؟

ينشره securenow-ai. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.