Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

Scan timing: clone 1.15s · analysis 0.2s · GitHub API rate-limit (preflight)

yeabsirateshale73-dot/realtime-sentiment-engine

https://github.com/yeabsirateshale73-dot/realtime-sentiment-engine.git · scanned 2026-05-28 23:49 UTC (1 week ago) · 10 languages

49 findings (19 legacy + 30 scanner) 39th percentile · Python · tiny (<2K LoC) Scanner says 87 (lower by 28)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 week ago · v2 · 34 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 55.0 0.15 8.25
security_score 100.0 0.25 25.00
testing_score 38.0 0.20 7.60
documentation_score 40.0 0.15 6.00
practices_score 30.0 0.15 4.50
code_quality 80.0 0.10 8.00
Overall 1.00 59.4
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Repository scanned at 86.9/100 with 88.9% coverage. It contains 93 nodes across 5 cross-layer flows, written primarily in mixed languages. Engine surfaced 15 findings — concentrated in software (5), api (4), security (3). Risk profile is high: 0 critical, 2 high, 2 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 29 of 34 findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Legacy quality quality conf 1.00 ✓ Repobility [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and SystemExit from working.
Review and fix per the pattern semantics. See CWE-705 / for context.
realtime-sentiment-engine/src/kafka_consumer.py:42 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._build_model` used but never assigned in __init__
Method `fit` of class `TopicExtractor` reads `self._build_model`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/topic_extractor.py:39 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._compute_metrics` used but never assigned in __init__
Method `train` of class `SentimentTrainer` reads `self._compute_metrics`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/sentiment_model.py:89 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._flush_topics` used but never assigned in __init__
Method `process_batch` of class `StreamProcessor` reads `self._flush_topics`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/processor.py:96 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._flush_topics` used but never assigned in __init__
Method `start` of class `StreamProcessor` reads `self._flush_topics`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/processor.py:86 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._flush_topics` used but never assigned in __init__
Method `process_message` of class `StreamProcessor` reads `self._flush_topics`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/processor.py:51 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._load_data` used but never assigned in __init__
Method `train` of class `SentimentTrainer` reads `self._load_data`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/sentiment_model.py:66 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self._tokenize` used but never assigned in __init__
Method `_load_data` of class `SentimentTrainer` reads `self._tokenize`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/sentiment_model.py:53 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self.predict` used but never assigned in __init__
Method `predict_single` of class `SentimentTrainer` reads `self.predict`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/sentiment_model.py:135 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self.process_message` used but never assigned in __init__
Method `process_batch` of class `StreamProcessor` reads `self.process_message`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/processor.py:93 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility `self.process_message` used but never assigned in __init__
Method `start` of class `StreamProcessor` reads `self.process_message`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
realtime-sentiment-engine/src/processor.py:85 qualitylegacy
high Legacy quality quality conf 0.80 ✓ Repobility FastAPI POST /analyze has no auth
Handler `analyze` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
realtime-sentiment-engine/app/main.py:65 qualitylegacy
high 9-layer security auth conf 1.00 FastAPI POST `analyze` without auth dependency — realtime-sentiment-engine/app/main.py:64
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
realtime-sentiment-engine/app/main.py:64 authowaspauth.fastapi.unauth_mutation
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in realtime-sentiment-engine/src/sentiment_model.py:106
Found a known-risky pattern (eval_used). Review and replace if possible.
realtime-sentiment-engine/src/sentiment_model.py:106 owaspeval_used
medium Legacy quality practices conf 1.00 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts.
Add a .gitignore appropriate for your language/framework.
practiceslegacy
medium 9-layer security coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
coverageauth
medium 9-layer cicd coverage conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
coverage
low Legacy quality documentation No LICENSE file
Add a LICENSE file to your repository. Use choosealicense.com to pick the right license (MIT for permissive, Apache 2.0 for patent protection, GPL for copyleft).
documentationlegacy
low 9-layer quality tests conf 1.00 Low test-to-source ratio
1 tests / 10 src (ratio 0.10).
tests
low 9-layer software dead-code conf 1.00 Possibly dead Python function: process_batch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
realtime-sentiment-engine/src/processor.py:89 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: send_batch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
realtime-sentiment-engine/src/kafka_producer.py:32 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: set_seed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
realtime-sentiment-engine/src/utils.py:22 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: setup_logging
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
realtime-sentiment-engine/src/utils.py:12 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: start
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
realtime-sentiment-engine/src/processor.py:79 dead-code
low 9-layer api wiring conf 1.00 Unused endpoint: GET /
`realtime-sentiment-engine/app/main.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
wiringunused-endpoint
low 9-layer api wiring conf 1.00 Unused endpoint: GET /dashboard
`realtime-sentiment-engine/app/main.py` declares `GET /dashboard` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
wiringunused-endpoint
low 9-layer api wiring conf 1.00 Unused endpoint: GET /topics
`realtime-sentiment-engine/app/main.py` declares `GET /topics` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
wiringunused-endpoint
low 9-layer api wiring conf 1.00 Unused endpoint: POST /analyze
`realtime-sentiment-engine/app/main.py` declares `POST /analyze` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
wiringunused-endpoint
low Legacy quality quality conf 1.00 ✓ Repobility [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model.
Review and fix per the pattern semantics.
realtime-sentiment-engine/src/config.py:10 qualitylegacy
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/c7800179-ed8f-4172-ab2e-014acbc0345c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/c7800179-ed8f-4172-ab2e-014acbc0345c/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.