How caueb/chimas works
Chimas is a client-side Snaffler and Group3r output analysis application. Users load scan files, then inspect Snaffler file/share findings or Group3r GPO settings and security misconfigurations; optional BloodHound exports add affected-asset and precedence context. The graph emphasizes the App-owned upload, view selection, scoring, and export actions, with parsers and analysis utilities as an internal layer. Relationships are based on the supplied excerpts, SOURCE INDEX references, and README; unsampled implementations are represented only where documented or indexed.
Main entry points: App.tsx View coordinator · Misconfigurations.tsx Security baseline · GPODetails.tsx GPO settings · Dashboard.tsx Findings dashboard
Components 25
Application shell
- View coordinator
src/App.tsx - File upload
src/components/FileUpload.tsx - Results table
src/components/shared/Table.tsx - Pagination
src/components/shared/Pagination.tsx - Panel layout
src/components/shared/PanelLayout.tsx - Browser storage
src/hooks/useLocalStorage.ts
Snaffler analysis
- Findings dashboard
src/components/Dashboard.tsx - File findings
src/components/FileResultsView.tsx - Share findings
src/components/ShareResults.tsx - Attack opportunities
src/components/AttackOpportunities.tsx
Group3r analysis
- GPO inventory
src/components/GPODashboard.tsx - GPO settings
src/components/GPODetails.tsx - GPO findings
src/components/GPOResults.tsx - Security baseline
src/components/Misconfigurations.tsx - BloodHound import
src/components/BloodHoundModal.tsx
Parsing and analysis
- Upload processor
src/utils/fileProcessor.ts - Snaffler parser
src/utils/parser.ts - Risk scoring
src/utils/riskScoring.ts - Report export
src/utils/exporter.ts - GPO parser
src/utils/GPOParser.ts - Misconfiguration detection
src/utils/misconfigDetection.ts - Security value definitions
src/utils/valueDefinitions.ts - BloodHound resolver
src/utils/bloodhoundParser.ts
Other components
- Analyst
- BloodHound exports
Connections 31
- Analyst → File upload: selects files
- View coordinator → File upload: renders
src/App.tsx - View coordinator → Upload processor: processes upload
src/App.tsx - Upload processor → Snaffler parser: parses Snaffler
src/utils/fileProcessor.ts - View coordinator → Risk scoring: scores findings
src/App.tsx - View coordinator → Findings dashboard: selects view
src/App.tsx - View coordinator → File findings: selects view
src/App.tsx - View coordinator → Share findings: selects view
src/App.tsx - Findings dashboard → Snaffler parser: uses parsed data
src/components/Dashboard.tsx - Findings dashboard → Attack opportunities: renders
src/components/Dashboard.tsx - File findings → Results table: renders
src/components/FileResultsView.tsx - Share findings → Snaffler parser: uses parsed data
src/components/ShareResults.tsx - View coordinator → Report export: exports selected view
src/App.tsx - View coordinator → GPO inventory: selects view
src/App.tsx - View coordinator → GPO settings: selects view
src/App.tsx - View coordinator → GPO findings: selects view
src/App.tsx - View coordinator → Security baseline: selects view
src/App.tsx - GPO inventory → GPO parser: uses GPO data
src/components/GPODashboard.tsx - GPO settings → GPO parser: uses GPO data
src/components/GPODetails.tsx - GPO findings → GPO parser: uses GPO data
src/components/GPOResults.tsx - Security baseline → Misconfiguration detection: detects issues
src/components/Misconfigurations.tsx - Security baseline → Security value definitions: uses definitions
src/components/Misconfigurations.tsx - Analyst → BloodHound import: loads exports
- BloodHound import → BloodHound resolver: parses exports
src/components/BloodHoundModal.tsx - BloodHound exports → BloodHound import: provides JSON
- GPO settings → BloodHound resolver: resolves GPO assets
src/components/GPODetails.tsx - Security baseline → BloodHound resolver: uses asset mapping
src/components/Misconfigurations.tsx - Security baseline → Results table: renders results
src/components/Misconfigurations.tsx - Security baseline → Pagination: pages results
src/components/Misconfigurations.tsx - GPO settings → Pagination: pages GPOs
src/components/GPODetails.tsx - Panel layout → Browser storage: persists panel sizes