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.

WillBanasik/socai

https://github.com/WillBanasik/socai · scanned 2026-06-16 00:58 UTC (2 months, 1 week ago)

98 raw signals (0 security + 98 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 94 actionable findings from 1 signal source. 4 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 63.8/100 with 100.0% coverage. It contains 2368 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 98 findings — concentrated in quality (48), software (30), security (8). Risk profile is high: 0 critical, 1 high, 18 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 68 of 94 actionable findings. 98 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph security security conf 1.00 Insecure pattern 'eval_used' in config/ngsiem/cql_grammar.json:411
Found a known-risky pattern (eval_used). Review and replace if possible.
config/ngsiem/cql_grammar.json:411 Eval used
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .mcp.json
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.mcp.json VerificationMcp config
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license, ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph hardware Security conf 1.00 Dockerfile runs as root: docker/browser/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: docker/sandbox/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in config/ngsiem/cql_grammar.json:1045
Found a known-risky pattern (weak_hash). Review and replace if possible.
config/ngsiem/cql_grammar.json:1045 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in config/ngsiem/ngsiem_columns.yaml:1666
Found a known-risky pattern (weak_hash). Review and replace if possible.
config/ngsiem/ngsiem_columns.yaml:1666 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in config/sentinel_schema.py:54
Found a known-risky pattern (weak_hash). Review and replace if possible.
config/sentinel_schema.py:54 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in tools/generate_capabilities_pptx.py:433
Found a known-risky pattern (weak_hash). Review and replace if possible.
tools/generate_capabilities_pptx.py:433 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in tools/generate_queries.py:156
Found a known-risky pattern (weak_hash). Review and replace if possible.
tools/generate_queries.py:156 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in tools/opencti_publish.py:49
Found a known-risky pattern (weak_hash). Review and replace if possible.
tools/opencti_publish.py:49 Weak hash
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in tools/velociraptor_ingest.py:226
Found a known-risky pattern (weak_hash). Review and replace if possible.
tools/velociraptor_ingest.py:226 Weak hash
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/browser_session.py:206
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph cicd CI/CD security 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.
CI/CD securityCoverage
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 30 placeholder/mock markers across 13 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph network Security conf 1.00 Privileged port 11 in use
Port 11 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
tail-usage.sh Ports
medium System graph network Security conf 1.00 Privileged port 19 in use
Port 19 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
tail-usage.sh Ports
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 597 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: debian:bookworm-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
docker/sandbox/Dockerfile:3 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: debian:bookworm-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
docker/browser/Dockerfile:7 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.12-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:11 containersPinned dependencies
low System graph quality Tests conf 1.00 Low test-to-source ratio
27 tests / 127 src (ratio 0.21).
low System graph quality Integrity conf 1.00 5 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: api/actions.py:memory_dump_guide, mcp_server/tools.py:memory_dump_guide This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
5 occurrences
repo-level (5 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `mock_copy` in tests/test_sandbox_session.py:318
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_anomalies
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:338
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_campaigns
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:216
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_client_query
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:149
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_close
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:115
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_closure_comment
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:421
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_coverage
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:292
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_create_case
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:80
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_cve_context
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:391
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_email_analyse
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:196
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_enrich
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:139
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_errors
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:223
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_evtx
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:379
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_exec_summary
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:402
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_exposure
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:254
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_fp_tuning
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:461
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_landscape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:204
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_list
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:123
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_mcp_usage
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:234
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_mdr_report
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:154
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_pe_analysis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:356
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_pup_report
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:160
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_queries
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:172
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_report
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:97
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_response_actions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:408
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_sandbox
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:247
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_secarch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:166
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_timeline
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:345
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_triage
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:189
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_weekly
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:105
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_yara
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
socai.py:368
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph quality Complexity conf 1.00 Very large file: mcp_server/prompts.py (2695 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: mcp_server/resources.py (1533 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: mcp_server/tools.py (5696 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: socai.py (1827 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/browser_session.py (1727 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/enrich.py (3170 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/eql.py (1600 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/generate_capabilities_pptx.py (1167 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
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/8f9e10b2-cd93-48ee-9b10-7b6256dacfeb/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/8f9e10b2-cd93-48ee-9b10-7b6256dacfeb/

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.