UNPKG

trojanhorse-js

Version:

A comprehensive JavaScript library for fetching, managing, and analyzing global threat intelligence from multiple open-source feeds and security news sources. Unlike its mythological namesake, this Trojan protects your digital fortress.

169 lines (168 loc) 5.93 kB
{ "name": "trojanhorse-js", "version": "1.0.1", "type": "module", "description": "A comprehensive JavaScript library for fetching, managing, and analyzing global threat intelligence from multiple open-source feeds and security news sources. Unlike its mythological namesake, this Trojan protects your digital fortress.", "main": "dist/trojanhorse.js", "module": "dist/trojanhorse.esm.js", "browser": "dist/trojanhorse.browser.min.js", "types": "dist/types/index.d.ts", "unpkg": "dist/trojanhorse.browser.min.js", "jsdelivr": "dist/trojanhorse.browser.min.js", "files": [ "dist", "src", "README.md", "SECURITY.md" ], "scripts": { "build": "npm run build:node && npm run build:browser", "build:node": "rollup -c rollup.config.js", "build:browser": "rollup -c rollup.config.browser.js", "build:all": "npm run build:node && npm run build:browser", "build:enterprise": "npm run build:all && npm run build:workers && npm run build:dashboard", "build:workers": "rollup -c rollup.config.workers.js", "build:dashboard": "rollup -c rollup.config.dashboard.js", "build:docker": "docker build -t trojanhorse/enterprise:latest .", "dev": "nodemon src/index.ts", "dev:browser": "npx http-server . -p 8080 -c-1 --cors", "dev:enterprise": "nodemon src/enterprise/TrojanHorseEnterprise.ts", "dev:workers": "nodemon src/workers/threat-analysis-worker.ts", "start": "node dist/trojanhorse.js", "start:enterprise": "node dist/enterprise/TrojanHorseEnterprise.js", "start:api": "nodemon server/api.js", "start:workers": "node dist/workers/worker-manager.js", "start:dashboard": "node dist/dashboard/server.js", "test": "jest", "test:enterprise": "jest --testPathPattern=enterprise", "test:integration": "jest --testPathPattern=integration", "test:security": "jest --testPathPattern=security --verbose", "test:performance": "jest --testPathPattern=performance --runInBand", "lint": "eslint src/ --ext .ts", "lint:fix": "eslint src/ --ext .ts --fix", "security-audit": "npm audit && npm audit signatures", "serve": "npx http-server . -p 8080 -c-1 --cors", "cli": "node bin/trojanhorse-cli.js", "setup": "node setup.js", "deploy:k8s": "kubectl apply -f k8s/", "deploy:docker": "docker-compose up -d", "deploy:helm": "helm install trojanhorse ./helm/trojanhorse", "monitor": "node scripts/monitor.js", "backup": "node scripts/backup.js", "migrate": "node scripts/migrate.js", "compliance:report": "node scripts/compliance-report.js", "performance:benchmark": "node scripts/benchmark.js", "ml:train": "node scripts/train-models.js", "siem:test": "node scripts/test-siem-connections.js" }, "bin": { "trojanhorse": "./bin/trojanhorse-cli.js" }, "keywords": [ "threat-intelligence", "security", "cybersecurity", "threat-feeds", "ioc", "malware", "phishing", "security-analysis", "vulnerability-assessment", "cyber-defense" ], "author": "sc4rfurry <https://github.com/sc4rfurry>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sc4rfurry/TrojanHorse.js.git" }, "bugs": { "url": "https://github.com/sc4rfurry/TrojanHorse.js/issues" }, "homepage": "https://github.com/sc4rfurry/TrojanHorse.js#readme", "engines": { "node": ">=18.0.0" }, "dependencies": { "@elastic/elasticsearch": "^8.11.0", "@types/joi": "^17.2.2", "argon2": "^0.43.1", "axios": "^1.6.2", "bcryptjs": "^2.4.3", "chalk": "^4.1.2", "commander": "^11.1.0", "compression": "^1.7.4", "cors": "^2.8.5", "crypto-js": "^4.2.0", "dexie": "^3.2.4", "express": "^4.19.2", "express-rate-limit": "^7.1.5", "express-session": "^1.17.3", "express-validator": "^7.0.1", "helmet": "^7.1.0", "inquirer": "^8.2.6", "joi": "^17.13.3", "jsonwebtoken": "^9.0.2", "multer": "^1.4.5-lts.1", "node-cron": "^3.0.2", "node-forge": "^1.3.1", "nodemailer": "^6.9.7", "ora": "^5.4.1", "otplib": "^12.0.1", "qrcode": "^1.5.3", "redis": "^4.6.7", "sanitize-html": "^2.11.0", "swagger-jsdoc": "^6.2.8", "swagger-ui-express": "^5.0.0", "validator": "^13.11.0", "winston": "^3.11.0", "ws": "^8.14.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.8", "@rollup/plugin-json": "^6.0.1", "@rollup/plugin-node-resolve": "^15.3.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.5", "@types/bcryptjs": "^2.4.6", "@types/crypto-js": "^4.2.1", "@types/express": "^4.17.21", "@types/express-session": "^1.17.10", "@types/jest": "^29.5.8", "@types/jsonwebtoken": "^9.0.5", "@types/multer": "^1.4.11", "@types/node": "^20.9.0", "@types/nodemailer": "^6.4.14", "@types/qrcode": "^1.5.5", "@types/sanitize-html": "^2.9.4", "@types/validator": "^13.11.6", "@types/ws": "^8.5.8", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "eslint": "^8.54.0", "eslint-plugin-security": "^1.7.1", "http-server": "^14.1.1", "jest": "^29.7.0", "nodemon": "^3.0.2", "prettier": "^3.1.0", "rollup": "^4.5.0", "rollup-plugin-polyfill-node": "^0.13.0", "ts-jest": "^29.1.1", "tslib": "^2.6.2", "typescript": "^5.2.2" }, "funding": { "type": "github", "url": "https://github.com/sponsors/sc4rfurry" }, "security": { "url": "https://github.com/sc4rfurry/TrojanHorse.js/security/policy" }, "browserslist": [ "> 1%", "last 2 versions", "not dead", "not ie <= 11" ] }