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
16 lines • 833 B
TypeScript
import { Request, Response, NextFunction } from 'express';
import { AimlessConfig, SecurityThreat } from '../types';
export interface AimlessRequest extends Request {
aimless?: {
threats: SecurityThreat[];
blocked: boolean;
};
}
export declare function createMiddleware(config?: AimlessConfig): (req: AimlessRequest, res: Response, next: NextFunction) => Response<any, Record<string, any>> | undefined;
export declare function csrfProtection(config?: AimlessConfig): (req: Request, res: Response, next: NextFunction) => void;
/**
* Loading screen middleware - shows "Checking security..." screen
* Place this BEFORE the main Aimless middleware
*/
export declare function loadingScreen(config?: AimlessConfig): (req: Request, res: Response, next: NextFunction) => void;
//# sourceMappingURL=express.d.ts.map