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.

Seanachan/FlexHook-CF

https://github.com/Seanachan/FlexHook-CF · scanned 2026-06-16 00:05 UTC (2 months, 3 weeks ago)

66 raw signals (0 security + 66 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 3 weeks ago · v1 · 47 actionable findings from 1 signal source. 19 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 86.3/100 with 77.8% coverage. It contains 1034 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 66 findings — concentrated in quality (42), software (19), security (3). Risk profile is high: 0 critical, 2 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 36 of 47 actionable findings. 66 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.py:209
Found a known-risky pattern (eval_used). Review and replace if possible.
config.py:209 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in SwinTransformer/config.py:291
Found a known-risky pattern (eval_used). Review and replace if possible.
SwinTransformer/config.py:291 Eval used
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 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 Integrity conf 1.00 Network/subprocess call without timeout or try/except — CLIP_my/clip/clip.py:59
`urllib.request.urlopen(...)` 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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
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
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 127 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 quality Tests conf 1.00 Low test-to-source ratio
11 tests / 105 src (ratio 0.10).
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: logger.py:create_logger, SwinTransformer/logger.py:create_logger 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.
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: loss.py:forward, loss.py:forward, loss.py:forward 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.
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: lr_scheduler.py:get_epoch_values, lr_scheduler.py:get_epoch_values, SwinTransformer/lr_scheduler.py:get_epoch_values, SwinTransformer/lr_scheduler.py:get_epoch_values This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see …
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `21k_v1` in deit/models_v2.py:360
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 quality Integrity conf 1.00 Old/deprecated-named symbol `annotations_v1` in test_utils_mix.py:28
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 quality Integrity conf 1.00 Old/deprecated-named symbol `models_v2` in deit/main.py:26
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 quality Integrity conf 1.00 Old/deprecated-named symbol `models_v2` in deit/models_v2_rope.py:13
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 quality Integrity conf 1.00 Old/deprecated-named symbol `models_v2` in models/vit_rope.py:13
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 quality Integrity conf 1.00 Old/deprecated-named symbol `swin_transformer_v2` in SwinTransformer/models/build.py:3
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 quality Integrity conf 1.00 Old/deprecated-named symbol `swin_transformer_v2` in SwinTransformer/models/simmim.py:10
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: box_cxcywh_to_xyxy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils.py:428
low System graph software Dead code conf 1.00 Possibly dead Python function: box_xyxy_to_cxcywh
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils.py:435
low System graph software Dead code conf 1.00 Possibly dead Python function: build_dataset
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
deit/datasets.py:55
low System graph software Dead code conf 1.00 Possibly dead Python function: build_frame_pe
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/utils.py:590
low System graph software Dead code conf 1.00 Possibly dead Python function: build_xy_pe
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/utils.py:585
low System graph software Dead code conf 1.00 Possibly dead Python function: compute_axial_cis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/vit_rope.py:42
low System graph software Dead code conf 1.00 Possibly dead Python function: compute_axial_cis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
deit/models_v2_rope.py:42
low System graph software Dead code conf 1.00 Possibly dead Python function: compute_mixed_cis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/vit_rope.py:30
low System graph software Dead code conf 1.00 Possibly dead Python function: compute_mixed_cis
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
deit/models_v2_rope.py:30
low System graph software Dead code conf 1.00 Possibly dead Python function: entrypoint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
CLIP_my/hubconf.py:11
low System graph software Dead code conf 1.00 Possibly dead Python function: generalized_box_iou
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils.py:459
low System graph software Dead code conf 1.00 Possibly dead Python function: init_distributed_mode
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
deit/utils.py:215
low System graph software Dead code conf 1.00 Possibly dead Python function: masks_to_boxes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
utils.py:482
low System graph software Dead code conf 1.00 Possibly dead Python function: new_data_aug_generator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
deit/augment.py:83
low System graph software Dead code conf 1.00 3 occurrences Possibly dead Python function: reset_classifier
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
3 files, 3 locations
deit/models_v2.py:229
deit/patchconvnet_models.py:377
deit/resmlp_models.py:89
low System graph software Dead code conf 1.00 Possibly dead Python function: save_on_master
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
deit/utils.py:210
low System graph software Dead code conf 1.00 Possibly dead Python function: swin_rope_axial_tiny_patch4_window7_224
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/swin_transformer_rope.py:394
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
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/f6c5ec89-5463-44ba-a47b-0cd60647c13c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f6c5ec89-5463-44ba-a47b-0cd60647c13c/

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.