1.0.0 • Published 8 months ago

advanced-xss-protection-lib v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

advanced-xss-protection-lib/ ├── src/ │ ├── core/ │ │ ├── policyManager.js # Manages user-defined security policies │ │ └── threatDetection.js # Heuristic-based XSS pattern detection │ ├── sanitizers/ │ │ ├── basicSanitizer.js # General-purpose HTML sanitization │ │ ├── strictSanitizer.js # Strict sanitization with no inline scripts/styles │ │ └── customSanitizer.js # Custom sanitization with user-defined policies │ ├── logger.js # Logs detected threats and monitors real-time alerts │ ├── config.js # Config file to manage settings for sanitization and alerts │ ├── index.js # Main entry point, exposes all functions ├── demo/ │ └── vite-app/ # Frontend app for showcasing the library │ ├── src/ │ │ ├── App.jsx │ │ └── main.js

1.0.0

8 months ago