SectoolBox is a privacy-first security analysis toolbox that runs entirely in your browser. This is a React-based client-side application with PWA capabilities.
- Node.js >= 16.0.0
- npm >= 8.0.0
SectoolBox/
├── frontend/ # React application
│ ├── build/ # Production build output
│ ├── public/ # Static assets
│ ├── src/ # Source code
│ ├── scripts/ # Build scripts
│ └── package.json # Dependencies and scripts
└── setup.md # This file
cd frontendnpm installExpected Output:
- Installs ~3507 packages
- May show some peer dependency warnings (safe to ignore)
- May show vulnerability warnings (can be addressed with
npm audit fix)
npm run buildThis command:
- Creates an optimized production build
- Runs post-build optimization scripts
- Copies service worker and manifest files
- Generates sitemap
- Creates build artifacts in
frontend/build/
Expected Output:
File sizes after gzip:
97.99 kB build\static\js\main.a10a5522.js
23.79 kB build\static\js\111.983b008b.chunk.js
10.24 kB build\static\css\main.fec9e860.css
[additional chunks...]
npm startExpected Output:
You can now view sectoolbox in the browser.
Local: http://localhost:3000
On Your Network: http://192.168.56.1:3000
npm start- Start development servernpm test- Run testsnpm run analyze- Analyze bundle size
npm run build- Production buildnpm run build:client- Client-only buildnpm run build:pwa- PWA optimized build
npm run serve- Serve production build locally
npm run deploy:netlify- Deploy to Netlifynpm run deploy:vercel- Deploy to Vercelnpm run deploy:github- Deploy to GitHub Pagesnpm run deploy:surge- Deploy to Surgenpm run deploy:firebase- Deploy to Firebase
npm run lighthouse- Run Lighthouse audit
Once the development server is running:
- Local Access: http://localhost:3000
- Network Access: http://192.168.56.1:3000
The development server supports hot reloading - changes to source files will automatically refresh the browser.
This security toolbox includes:
- Privacy-first design (runs entirely client-side)
- PWA capabilities for offline use
- Security analysis tools
- File analysis capabilities
- Cryptography utilities
- CTF analysis tools
- Port 3000 in use: The server will automatically try the next available port
- Build failures: Ensure all dependencies are installed with
npm install - Peer dependency warnings: Generally safe to ignore unless functionality is affected
The project uses:
- React 18.3.1
- React Router 6.26.1
- Crypto-js for cryptography
- Lucide React for icons
- Tailwind CSS for styling
- Various security analysis libraries
- The application is designed to work entirely offline after initial load
- No server-side processing - all analysis happens in the browser
- Supports modern browsers with Web Crypto API
- Built with security and privacy as primary concerns