UNPKG

aimless-sdk

Version:

Enhanced Runtime Application Self-Protection (RASP) and API Fuzzing Engine with advanced threat detection, behavioral analysis, and intelligent response scoring for Node.js applications

64 lines (47 loc) 1.23 kB
# Quick Installation Test Test that aimless-sdk installs correctly from GitHub. ## Test in a new project: ```bash # Create test directory mkdir test-aimless-sdk cd test-aimless-sdk npm init -y # Install from GitHub npm install CamozDevelopment/Aimless-Security # Or install specific version npm install CamozDevelopment/Aimless-Security#v1.3.1 ``` ## Test the installation: Create `test.js`: ```javascript const { Aimless } = require('aimless-sdk'); const aimless = new Aimless({ rasp: { blockMode: true, injectionProtection: true, xssProtection: true } }); console.log('✅ Aimless SDK loaded successfully!'); // Test SQL injection detection const result = aimless.validate("' OR '1'='1") .against(['sql']) .result(); console.log('SQL Injection Test:', result.safe ? '❌ Failed' : '✅ Detected'); console.log('Confidence:', result.threats[0]?.confidence); ``` Run: ```bash node test.js ``` Expected output: ``` ✅ Aimless SDK loaded successfully! SQL Injection Test: ✅ Detected Confidence: 60% ``` ## Users can now install with: ```bash npm install CamozDevelopment/Aimless-Security ``` **No NPM publishing required!** ✅