AI Slop Code RIsk Monitor

openziti/zrok

Secure internet sharing made simple.

15.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for openziti/zrok, a Go project with 4,771 GitHub stars. SynthScan examined 316,224 lines of code across 2155 source files, recording 2223 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 15.4 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

15.4
Adjusted Signal
15.4
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
4.8K
Stars
Go
Language
316.2K
Lines of Code
2.2K
Files
2.2K
Pattern Hits
2026-10-12
Scan Date
0.28
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 15.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 941 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.8/100 · LOW

Are imports declared and package/API names verified? 437 finding(s).

Agent Over-Engineering Ratio 48.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1578 finding(s).

PR Review Velocity Impact 58.0/100 · HIGH

Which changes need focused human review? 2223 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 601MEDIUM 133LOW 1489

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2223 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition582 hits · 2910 pts
SeverityFileLineSnippetContext
HIGHsdk/python/src/zrok_api/configuration.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/rest.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/__init__.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/exceptions.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/api_client.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…rok_api/models/regenerate_account_token200_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/access201_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…hon/src/zrok_api/models/create_frontend201_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…python/src/zrok_api/models/remote_share200_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/principal.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/configuration.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/unaccess_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/metrics.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…src/zrok_api/models/create_organization201_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/enroll200_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…/list_frontend_namespace_mappings200_response_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/name_selection.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/access_summary.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…hon/src/zrok_api/models/create_identity201_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/ping200_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/environment_summary.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…on/src/zrok_api/models/create_namespace201_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/share_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…thon/src/zrok_api/models/list_limit_classes_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/update_share_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…rc/zrok_api/models/list_frontends200_response_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/remote_access_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…dels/list_memberships200_response_memberships_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/invite_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/unshare_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…list_organization_members200_response_members_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…/list_organizations200_response_organizations_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…/python/src/zrok_api/models/change_password_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…pi/models/remove_namespace_frontend_mapping_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…k/python/src/zrok_api/models/get_sparklines_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/get_name200_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/verify_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…/src/zrok_api/models/share_http_healthcheck_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/disable_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…n/src/zrok_api/models/invite_token_generate_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…hon/src/zrok_api/models/apply_limit_classes_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/metrics_sample.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/login_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/frontend.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/__init__.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…ython/src/zrok_api/models/remote_status200_response.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/overview_names_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/auth_user.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/share_summary.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…dels/remote_status200_response_shares_inner_failure.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…k_api/models/remote_status200_response_shares_inner.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/share_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/overview.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…/zrok_api/models/remove_organization_member_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…ython/src/zrok_api/models/environment_and_resources.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…ython/src/zrok_api/models/create_share_name_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/register_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/shares_list.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGHsdk/python/src/zrok_api/models/share.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
HIGH…/python/src/zrok_api/models/remote_unaccess_request.py0zrok zrok client access the version of the openapi document: 2.0.0 generated by openapi generator (https://openapi-generSTRING
522 more matches not shown…
Hyper-Verbose Identifiers722 hits · 788 pts
SeverityFileLineSnippetContext
LOW⚡ui/src/api/models/GetSparklinesRequest.ts45export function instanceOfGetSparklinesRequest(value: object): value is GetSparklinesRequest {CODE
LOW⚡ui/src/api/models/GetSparklinesRequest.ts49export function GetSparklinesRequestFromJSON(json: any): GetSparklinesRequest {CODE
LOW⚡ui/src/api/models/GetSparklinesRequest.ts53export function GetSparklinesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSparklinesRequest {CODE
LOWui/src/api/models/GetSparklinesRequest.ts65export function GetSparklinesRequestToJSON(json: any): GetSparklinesRequest {CODE
LOWui/src/api/models/GetSparklinesRequest.ts69export function GetSparklinesRequestToJSONTyped(value?: GetSparklinesRequest | null, ignoreDiscriminator: boolean = falsCODE
LOWui/src/api/models/ShareSummary.ts95export function ShareSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShareSummary {CODE
LOW⚡ui/src/api/models/CreateOrganizationRequest.ts33export function instanceOfCreateOrganizationRequest(value: object): value is CreateOrganizationRequest {CODE
LOW⚡ui/src/api/models/CreateOrganizationRequest.ts37export function CreateOrganizationRequestFromJSON(json: any): CreateOrganizationRequest {CODE
LOW⚡ui/src/api/models/CreateOrganizationRequest.ts41export function CreateOrganizationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrganizationRequeCODE
LOW⚡ui/src/api/models/CreateOrganizationRequest.ts51export function CreateOrganizationRequestToJSON(json: any): CreateOrganizationRequest {CODE
LOW⚡ui/src/api/models/CreateOrganizationRequest.ts55export function CreateOrganizationRequestToJSONTyped(value?: CreateOrganizationRequest | null, ignoreDiscriminator: boolCODE
LOW⚡ui/src/api/models/RemoteAccessRequest.ts75export function instanceOfRemoteAccessRequest(value: object): value is RemoteAccessRequest {CODE
LOW⚡ui/src/api/models/RemoteAccessRequest.ts79export function RemoteAccessRequestFromJSON(json: any): RemoteAccessRequest {CODE
LOW⚡ui/src/api/models/RemoteAccessRequest.ts83export function RemoteAccessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoteAccessRequest {CODE
LOWui/src/api/models/RemoteAccessRequest.ts100export function RemoteAccessRequestToJSON(json: any): RemoteAccessRequest {CODE
LOWui/src/api/models/RemoteAccessRequest.ts104export function RemoteAccessRequestToJSONTyped(value?: RemoteAccessRequest | null, ignoreDiscriminator: boolean = false)CODE
LOWui/src/api/models/MetricsSample.ts53export function MetricsSampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsSample {CODE
LOW⚡ui/src/api/models/InviteTokenGenerateRequest.ts33export function instanceOfInviteTokenGenerateRequest(value: object): value is InviteTokenGenerateRequest {CODE
LOW⚡ui/src/api/models/InviteTokenGenerateRequest.ts37export function InviteTokenGenerateRequestFromJSON(json: any): InviteTokenGenerateRequest {CODE
LOW⚡ui/src/api/models/InviteTokenGenerateRequest.ts41export function InviteTokenGenerateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteTokenGenerateReqCODE
LOW⚡ui/src/api/models/InviteTokenGenerateRequest.ts51export function InviteTokenGenerateRequestToJSON(json: any): InviteTokenGenerateRequest {CODE
LOW⚡ui/src/api/models/InviteTokenGenerateRequest.ts55export function InviteTokenGenerateRequestToJSONTyped(value?: InviteTokenGenerateRequest | null, ignoreDiscriminator: boCODE
LOW⚡ui/src/api/models/ListLimitClassesRequest.ts33export function instanceOfListLimitClassesRequest(value: object): value is ListLimitClassesRequest {CODE
LOW⚡ui/src/api/models/ListLimitClassesRequest.ts37export function ListLimitClassesRequestFromJSON(json: any): ListLimitClassesRequest {CODE
LOW⚡ui/src/api/models/ListLimitClassesRequest.ts41export function ListLimitClassesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListLimitClassesRequest {CODE
LOW⚡ui/src/api/models/ListLimitClassesRequest.ts51export function ListLimitClassesRequestToJSON(json: any): ListLimitClassesRequest {CODE
LOW⚡ui/src/api/models/ListLimitClassesRequest.ts55export function ListLimitClassesRequestToJSONTyped(value?: ListLimitClassesRequest | null, ignoreDiscriminator: boolean CODE
LOW⚡ui/src/api/models/RemoteShareRequest.ts144export function instanceOfRemoteShareRequest(value: object): value is RemoteShareRequest {CODE
LOW⚡ui/src/api/models/RemoteShareRequest.ts148export function RemoteShareRequestFromJSON(json: any): RemoteShareRequest {CODE
LOW⚡ui/src/api/models/RemoteShareRequest.ts152export function RemoteShareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoteShareRequest {CODE
LOWui/src/api/models/RemoteShareRequest.ts179export function RemoteShareRequestToJSONTyped(value?: RemoteShareRequest | null, ignoreDiscriminator: boolean = false): CODE
LOW⚡ui/src/api/models/AddNamespaceFrontendMappingRequest.ts45export function instanceOfAddNamespaceFrontendMappingRequest(value: object): value is AddNamespaceFrontendMappingRequestCODE
LOW⚡ui/src/api/models/AddNamespaceFrontendMappingRequest.ts49export function AddNamespaceFrontendMappingRequestFromJSON(json: any): AddNamespaceFrontendMappingRequest {CODE
LOW⚡ui/src/api/models/AddNamespaceFrontendMappingRequest.ts53export function AddNamespaceFrontendMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddNamespaceFrCODE
LOWui/src/api/models/AddNamespaceFrontendMappingRequest.ts65export function AddNamespaceFrontendMappingRequestToJSON(json: any): AddNamespaceFrontendMappingRequest {CODE
LOWui/src/api/models/AddNamespaceFrontendMappingRequest.ts69export function AddNamespaceFrontendMappingRequestToJSONTyped(value?: AddNamespaceFrontendMappingRequest | null, ignoreDCODE
LOWui/src/api/models/AccessSummary.ts95export function AccessSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessSummary {CODE
LOW⚡ui/src/api/models/EnvironmentSummary.ts87export function instanceOfEnvironmentSummary(value: object): value is EnvironmentSummary {CODE
LOW⚡ui/src/api/models/EnvironmentSummary.ts91export function EnvironmentSummaryFromJSON(json: any): EnvironmentSummary {CODE
LOW⚡ui/src/api/models/EnvironmentSummary.ts95export function EnvironmentSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentSummary {CODE
LOWui/src/api/models/EnvironmentSummary.ts118export function EnvironmentSummaryToJSONTyped(value?: EnvironmentSummary | null, ignoreDiscriminator: boolean = false): CODE
LOW⚡ui/src/api/models/UpdateShareNameRequest.ts45export function instanceOfUpdateShareNameRequest(value: object): value is UpdateShareNameRequest {CODE
LOW⚡ui/src/api/models/UpdateShareNameRequest.ts49export function UpdateShareNameRequestFromJSON(json: any): UpdateShareNameRequest {CODE
LOW⚡ui/src/api/models/UpdateShareNameRequest.ts53export function UpdateShareNameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateShareNameRequest {CODE
LOWui/src/api/models/UpdateShareNameRequest.ts65export function UpdateShareNameRequestToJSON(json: any): UpdateShareNameRequest {CODE
LOWui/src/api/models/UpdateShareNameRequest.ts69export function UpdateShareNameRequestToJSONTyped(value?: UpdateShareNameRequest | null, ignoreDiscriminator: boolean = CODE
LOW⚡ui/src/api/models/UpdateNamespaceRequest.ts57export function instanceOfUpdateNamespaceRequest(value: object): value is UpdateNamespaceRequest {CODE
LOW⚡ui/src/api/models/UpdateNamespaceRequest.ts61export function UpdateNamespaceRequestFromJSON(json: any): UpdateNamespaceRequest {CODE
LOW⚡ui/src/api/models/UpdateNamespaceRequest.ts65export function UpdateNamespaceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNamespaceRequest {CODE
LOWui/src/api/models/UpdateNamespaceRequest.ts79export function UpdateNamespaceRequestToJSON(json: any): UpdateNamespaceRequest {CODE
LOWui/src/api/models/UpdateNamespaceRequest.ts83export function UpdateNamespaceRequestToJSONTyped(value?: UpdateNamespaceRequest | null, ignoreDiscriminator: boolean = CODE
LOWui/src/api/models/AccessesList.ts49export function AccessesListFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessesList {CODE
LOW⚡ui/src/api/models/AddNamespaceGrantRequest.ts39export function instanceOfAddNamespaceGrantRequest(value: object): value is AddNamespaceGrantRequest {CODE
LOW⚡ui/src/api/models/AddNamespaceGrantRequest.ts43export function AddNamespaceGrantRequestFromJSON(json: any): AddNamespaceGrantRequest {CODE
LOW⚡ui/src/api/models/AddNamespaceGrantRequest.ts47export function AddNamespaceGrantRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddNamespaceGrantRequestCODE
LOWui/src/api/models/AddNamespaceGrantRequest.ts58export function AddNamespaceGrantRequestToJSON(json: any): AddNamespaceGrantRequest {CODE
LOWui/src/api/models/AddNamespaceGrantRequest.ts62export function AddNamespaceGrantRequestToJSONTyped(value?: AddNamespaceGrantRequest | null, ignoreDiscriminator: booleaCODE
LOW⚡ui/src/api/models/ApplyLimitClassesRequest.ts39export function instanceOfApplyLimitClassesRequest(value: object): value is ApplyLimitClassesRequest {CODE
LOW⚡ui/src/api/models/ApplyLimitClassesRequest.ts43export function ApplyLimitClassesRequestFromJSON(json: any): ApplyLimitClassesRequest {CODE
LOW⚡ui/src/api/models/ApplyLimitClassesRequest.ts47export function ApplyLimitClassesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplyLimitClassesRequestCODE
662 more matches not shown…
Unused Imports419 hits · 338 pts
SeverityFileLineSnippetContext
LOWsdk/python/tests/integration/test_listing.py3CODE
LOWsdk/python/tests/integration/test_name_lifecycle.py3CODE
LOWsdk/python/tests/integration/test_enable_disable.py4CODE
LOWsdk/python/tests/integration/test_enable_disable.py5CODE
LOWsdk/python/tests/integration/test_access_lifecycle.py3CODE
LOWsdk/python/tests/integration/test_share_lifecycle.py3CODE
LOWsdk/python/src/zrok_api/__init__.py131CODE
LOWsdk/python/src/zrok_api/__init__.py132CODE
LOWsdk/python/src/zrok_api/__init__.py133CODE
LOWsdk/python/src/zrok_api/__init__.py134CODE
LOWsdk/python/src/zrok_api/__init__.py135CODE
LOWsdk/python/src/zrok_api/__init__.py136CODE
LOWsdk/python/src/zrok_api/__init__.py139CODE
LOWsdk/python/src/zrok_api/__init__.py140CODE
LOWsdk/python/src/zrok_api/__init__.py141CODE
LOWsdk/python/src/zrok_api/__init__.py142CODE
LOWsdk/python/src/zrok_api/__init__.py143CODE
LOWsdk/python/src/zrok_api/__init__.py144CODE
LOWsdk/python/src/zrok_api/__init__.py145CODE
LOWsdk/python/src/zrok_api/__init__.py146CODE
LOWsdk/python/src/zrok_api/__init__.py147CODE
LOWsdk/python/src/zrok_api/__init__.py150CODE
LOWsdk/python/src/zrok_api/__init__.py151CODE
LOWsdk/python/src/zrok_api/__init__.py152CODE
LOWsdk/python/src/zrok_api/__init__.py153CODE
LOWsdk/python/src/zrok_api/__init__.py154CODE
LOWsdk/python/src/zrok_api/__init__.py155CODE
LOWsdk/python/src/zrok_api/__init__.py156CODE
LOWsdk/python/src/zrok_api/__init__.py157CODE
LOWsdk/python/src/zrok_api/__init__.py158CODE
LOWsdk/python/src/zrok_api/__init__.py159CODE
LOWsdk/python/src/zrok_api/__init__.py160CODE
LOWsdk/python/src/zrok_api/__init__.py161CODE
LOWsdk/python/src/zrok_api/__init__.py162CODE
LOWsdk/python/src/zrok_api/__init__.py163CODE
LOWsdk/python/src/zrok_api/__init__.py164CODE
LOWsdk/python/src/zrok_api/__init__.py165CODE
LOWsdk/python/src/zrok_api/__init__.py166CODE
LOWsdk/python/src/zrok_api/__init__.py167CODE
LOWsdk/python/src/zrok_api/__init__.py168CODE
LOWsdk/python/src/zrok_api/__init__.py169CODE
LOWsdk/python/src/zrok_api/__init__.py170CODE
LOWsdk/python/src/zrok_api/__init__.py171CODE
LOWsdk/python/src/zrok_api/__init__.py172CODE
LOWsdk/python/src/zrok_api/__init__.py173CODE
LOWsdk/python/src/zrok_api/__init__.py174CODE
LOWsdk/python/src/zrok_api/__init__.py175CODE
LOWsdk/python/src/zrok_api/__init__.py176CODE
LOWsdk/python/src/zrok_api/__init__.py177CODE
LOWsdk/python/src/zrok_api/__init__.py178CODE
LOWsdk/python/src/zrok_api/__init__.py179CODE
LOWsdk/python/src/zrok_api/__init__.py180CODE
LOWsdk/python/src/zrok_api/__init__.py181CODE
LOWsdk/python/src/zrok_api/__init__.py182CODE
LOWsdk/python/src/zrok_api/__init__.py183CODE
LOWsdk/python/src/zrok_api/__init__.py184CODE
LOWsdk/python/src/zrok_api/__init__.py185CODE
LOWsdk/python/src/zrok_api/__init__.py186CODE
LOWsdk/python/src/zrok_api/__init__.py187CODE
LOWsdk/python/src/zrok_api/__init__.py188CODE
359 more matches not shown…
Decorative Section Separators109 hits · 318 pts
SeverityFileLineSnippetContext
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash27# ── Map Docker env vars to bootstrap env vars ────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash38# ── Docker-specific configuration ────────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash58# ── Helper: commands wrapped for retry/wait_for ──────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash81# ── Step 1: Generate controller config ────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash156# ── Step 2: Generate frontend config ─────────────────────────────────────────COMMENT
MEDIUM⚡docker/compose/zrok2-instance/entrypoint-init.bash172# ── Step 3: Wait for Ziti controller ─────────────────────────────────────────COMMENT
MEDIUM⚡docker/compose/zrok2-instance/entrypoint-init.bash178# ── Step 4: Run zrok2 admin bootstrap ────────────────────────────────────────COMMENT
MEDIUM⚡docker/compose/zrok2-instance/entrypoint-init.bash184# ── Step 5: Start temporary controller for admin commands ────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash202# ── Step 6: Create frontend, namespace, and mapping ──────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash218# ── Step 6b: Create dynamicProxyController identity and Ziti resources ───────COMMENT
MEDIUM⚡docker/compose/zrok2-instance/entrypoint-init.bash232# ── Step 7: Save frontend identity ───────────────────────────────────────────COMMENT
MEDIUM⚡docker/compose/zrok2-instance/entrypoint-init.bash239# ── Step 8: Stop temporary controller ────────────────────────────────────────COMMENT
MEDIUM⚡docker/compose/zrok2-instance/entrypoint-init.bash247# ── Step 8b: Generate full frontend config (AMQP-backed dynamic proxy) ────────COMMENT
MEDIUMdocker/compose/zrok2-instance/entrypoint-init.bash274# ── Step 9: Fix ownership for non-root zrok2 containers ─────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.canary.yml34 # ── Test 1: Canary looper (random share token) ──────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.canary.yml46 # ── Test 2: Named share via --name-selection ────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.yml17 # ── Ziti Overlay Network ──────────────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.yml151 # ── Database ──────────────────────────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.yml170 # ── zrok2 Bootstrap (one-shot) ────────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.yml210 # ── zrok2 Controller ──────────────────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.yml238 # ── zrok2 Frontend ────────────────────────────────────────────────────────COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.yml257 # ── Metrics Pipeline (optional) ──────────────────────────────────────────COMMENT
MEDIUM⚡…cker/compose/zrok2-instance/dangerous.docker.test.bash54# ============================================================COMMENT
MEDIUM⚡…cker/compose/zrok2-instance/dangerous.docker.test.bash56# ============================================================COMMENT
MEDIUM⚡…cker/compose/zrok2-instance/dangerous.docker.test.bash63# ============================================================COMMENT
MEDIUM⚡…cker/compose/zrok2-instance/dangerous.docker.test.bash65# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash114# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash116# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash165# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash167# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash217# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash219# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash242# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash244# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash286# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash288# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash374# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash376# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash391# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash393# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash404# ============================================================COMMENT
MEDIUM…cker/compose/zrok2-instance/dangerous.docker.test.bash406# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash79# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash81# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash89# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash91# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash546# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash548# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash609# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash611# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash679# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash681# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash723# ============================================================COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash725# ============================================================COMMENT
MEDIUMnfpm/dangerous.linux.test.bash167# ============================================================COMMENT
MEDIUMnfpm/dangerous.linux.test.bash169# ============================================================COMMENT
MEDIUMnfpm/dangerous.linux.test.bash191# ============================================================COMMENT
MEDIUMnfpm/dangerous.linux.test.bash193# ============================================================COMMENT
MEDIUMnfpm/dangerous.linux.test.bash326# ============================================================COMMENT
MEDIUMnfpm/dangerous.linux.test.bash328# ============================================================COMMENT
49 more matches not shown…
Over-Commented Block140 hits · 134 pts
SeverityFileLineSnippetContext
LOW.markdownlint.yaml41MD009: falseCOMMENT
LOW.markdownlint.yaml61# MD012/no-multiple-blanks - Multiple consecutive blank linesCOMMENT
LOW.markdownlint.yaml81# # Include headingsCOMMENT
LOW.markdownlint.yaml201COMMENT
LOWdocker/compose/zrok2-instance/entrypoint-init.bash1#!/usr/bin/env bashCOMMENT
LOWdocker/compose/zrok2-instance/fetch.bash1#!/usr/bin/env bashCOMMENT
LOWdocker/compose/zrok2-instance/compose.yml1# zrok2 Docker Compose — self-hosting stackCOMMENT
LOW…cker/compose/zrok2-instance/dangerous.docker.test.bash1#!/usr/bin/env bashCOMMENT
LOW…cker/compose/zrok2-instance/dangerous.docker.test.bash301# Patch the Ziti controller config with fabric.usage event logging, thenCOMMENT
LOWnfpm/dangerous.linux.test.bash1#!/usr/bin/env bashCOMMENT
LOWnfpm/dangerous.linux.test.bash21#COMMENT
LOWnfpm/zrok2-bootstrap.bash1#!/usr/bin/env bashCOMMENT
LOWnfpm/zrok2-bootstrap.bash21# Idempotent: safe to re-run. Skips steps that are already complete.COMMENT
LOWnfpm/zrok2-bootstrap.bash41# ZROK2_TLS_KEY - Path to TLS privkey.pem (enables HTTPS)COMMENT
LOWnfpm/zrok2-bootstrap.bash201 export ZROK2_API_ENDPOINTCOMMENT
LOWendpoints/socks/socks5.go1// Copyright (c) Tailscale Inc & AUTHORSCOMMENT
LOWdrives/davServer/xml.go21 // were encoded. Such changes were introduced in the Go 1.5 cycle, but wereCOMMENT
LOWdrives/davServer/xml.go301// multistatus response.COMMENT
LOWdrives/davServer/prop.go21// Proppatch describes a property update instruction as defined in RFC 4918.COMMENT
LOWdrives/davServer/prop.go81// There is a whitelist of the names of live properties. This package handlesCOMMENT
LOWdrives/davServer/prop.go381COMMENT
LOWdrives/davServer/lock.go41 // gives exclusive access to all of the named resources. Up to two resourcesCOMMENT
LOWdrives/davServer/lock.go61 // write a "500 Internal Server Error" HTTP status.COMMENT
LOWdrives/davServer/lock.go81COMMENT
LOWdrives/davServer/webdav_test.go81 srv := httptest.NewServer(mux)COMMENT
LOWdrives/davServer/file.go21)COMMENT
LOWdrives/davServer/file.go361// Concurrent access is permitted. The tree structure is protected by a mutex,COMMENT
LOWdrives/davServer/litmus_test_server.go61 //COMMENT
LOWdrives/davServer/xml_test.go821 // omitWhitespace instructs to ignore whitespace between element tags.COMMENT
LOWdrives/davServer/internal/xml/example_test.go81 // <name>COMMENT
LOWdrives/davServer/internal/xml/example_test.go141 fmt.Printf("Email: %v\n", v.Email)COMMENT
LOWdrives/davServer/internal/xml/marshal.go21 // it is provided as a convenience.COMMENT
LOWdrives/davServer/internal/xml/marshal.go41// The XML element for a struct contains marshalled elements for each of theCOMMENT
LOWdrives/davServer/internal/xml/marshal.go61// value were part of the outer struct.COMMENT
LOWdrives/davServer/internal/xml/marshal.go81// MarshalXML encodes the receiver as zero or more XML elements.COMMENT
LOWdrives/davServer/internal/xml/marshal.go101// MarshalXMLAttr returns an XML attribute with the encoded value of the receiver.COMMENT
LOWdrives/davServer/internal/xml/marshal.go181COMMENT
LOWdrives/davServer/internal/xml/marshal.go381 // probably because the element has an emptyCOMMENT
LOWdrives/davServer/internal/xml/xml.go161 return v.Copy()COMMENT
LOWdrives/davServer/internal/xml/xml.go181 // d.Strict = false;COMMENT
LOWdrives/davServer/internal/xml/xml.go201 // "lt": "<",COMMENT
LOWdrives/davServer/internal/xml/xml.go241 ns: make(map[string]string),COMMENT
LOWdrives/davServer/internal/xml/xml.go261// Token guarantees that the StartElement and EndElementCOMMENT
LOWdrives/davServer/internal/xml/read.go21// See package json for a textual representation more suitableCOMMENT
LOWdrives/davServer/internal/xml/read.go41//COMMENT
LOWdrives/davServer/internal/xml/read.go61// the first struct field that has tag ",comment". The structCOMMENT
LOWdrives/davServer/internal/xml/read.go81// - If the XML element contains a sub-element that hasn't matched anyCOMMENT
LOWdrives/davServer/internal/xml/read.go101// setting it to the boolean value represented by the string.COMMENT
LOWdrives/davServer/internal/xml/read.go141// an XML element description of themselves.COMMENT
LOW…s/version-1.0/guides/self-hosting/interstitial-page.md41# them to the fact that they're visiting a zrok share.COMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml21# the network.COMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml41 # Sets router minimum cost. Defaults to 10COMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml61 # Defines the hard upper limit of underperforming circuits that are candidates to be re-routed. If smart COMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml81mgmt:COMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml101# delay: 5sCOMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml121 # sessionTimeout - optional, default 30mCOMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml141 # duration - optional, default 180mCOMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml161 # One or more bind points are required. A bind point specifies an interface (interface:port string) that definesCOMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml181 # Allows the specification of webListener level options - mainly dealing with HTTP/TLS settings. These options areCOMMENT
LOW…ned_docs/version-1.0/_attic/network/prod/ziti-ctrl.yml201 minTLSVersion: TLS1.2COMMENT
80 more matches not shown…
Excessive Try-Catch Wrapping134 hits · 130 pts
SeverityFileLineSnippetContext
LOWsdk/python/tests/integration/conftest.py63 except Exception as e:CODE
LOWsdk/python/tests/integration/conftest.py121 except Exception:CODE
LOWsdk/python/examples/common.py62 except Exception:CODE
LOWsdk/python/examples/common.py99 except Exception:CODE
MEDIUMsdk/python/examples/common.py95def _cleanup():CODE
LOWsdk/python/examples/http-server/server.py46 except Exception as e:CODE
LOWsdk/python/examples/http-server/README.md28except Exception as e:CODE
LOWsdk/python/examples/pastebin/pastebin.py34 except Exception as e:CODE
LOWsdk/python/examples/pastebin/pastebin.py41 except Exception as e:CODE
LOWsdk/python/examples/pastebin/pastebin.py71 except Exception as e:CODE
LOWsdk/python/examples/pastebin/pastebin.py78 except Exception as e:CODE
MEDIUMsdk/python/examples/pastebin/pastebin.py38def removeShare():CODE
MEDIUMsdk/python/examples/pastebin/pastebin.py75def removeAccess():CODE
LOWsdk/python/src/zrok_api/exceptions.py129 except Exception:CODE
LOWsdk/python/src/zrok2/proxy.py155 except Exception as e:CODE
MEDIUMsdk/python/src/zrok2/proxy.py151def cleanup():CODE
LOWsdk/python/src/zrok2/access.py34 except Exception as e:CODE
LOWsdk/python/src/zrok2/access.py38 except Exception as e:CODE
LOWsdk/python/src/zrok2/access.py52 except Exception as e:CODE
LOWsdk/python/src/zrok2/access.py57 except Exception as e:CODE
LOWsdk/python/src/zrok2/listing.py26 except Exception as e:CODE
LOWsdk/python/src/zrok2/listing.py32 except Exception as e:CODE
LOWsdk/python/src/zrok2/listing.py72 except Exception as e:CODE
LOWsdk/python/src/zrok2/listing.py78 except Exception as e:CODE
LOWsdk/python/src/zrok2/overview.py30 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py56 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py99 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py163 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py185 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py196 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py218 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py243 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py257 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py276 except Exception as e:CODE
LOWsdk/python/src/zrok2/share.py282 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py31 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py47 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py71 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py87 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py108 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py122 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py154 except Exception as e:CODE
LOWsdk/python/src/zrok2/name.py160 except Exception as e:CODE
LOWsdk/python/src/zrok2/environment/root.py146 except Exception as e:CODE
LOWsdk/python/src/zrok2/environment/enable.py41 except Exception as e:CODE
LOWsdk/python/src/zrok2/environment/enable.py77 except Exception as e:CODE
LOWsdk/python/src/zrok2/environment/enable.py106 except Exception as e:CODE
LOWsdk/python/src/zrok2/environment/enable.py121 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md83 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md158 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md233 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md308 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md383 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md461 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md538 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md617 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md694 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md772 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md846 except Exception as e:CODE
LOWsdk/python/src/docs/AdminApi.md921 except Exception as e:CODE
74 more matches not shown…
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHsdk/python/tests/integration/conftest.py121except Exception:CODE
HIGHsdk/python/examples/common.py62except Exception:CODE
HIGHsdk/python/examples/common.py99except Exception:CODE
HIGHsdk/python/src/versioneer.py389except NameError:CODE
HIGHsdk/python/src/versioneer.py1217except OSError:CODE
HIGHsdk/python/src/versioneer.py1457except OSError:CODE
HIGHsdk/python/src/versioneer.py1838except NotThisMethod:CODE
HIGHsdk/python/src/versioneer.py1858except NotThisMethod:CODE
HIGHsdk/python/src/versioneer.py1830except NotThisMethod:CODE
HIGHsdk/python/src/versioneer.py1849except NotThisMethod:CODE
HIGHsdk/python/src/zrok_api/exceptions.py129except Exception:CODE
HIGHsdk/python/src/zrok2/_version.py179except OSError:CODE
HIGHsdk/python/src/zrok2/_version.py653except NotThisMethod:CODE
HIGHsdk/python/src/zrok2/_version.py672except NotThisMethod:CODE
HIGHsdk/python/src/zrok2/_version.py678except NotThisMethod:CODE
HIGHsdk/python/src/zrok2/__init__.py5except ImportError:CODE
Self-Referential Comments19 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMdocker/compose/zrok2-instance/compose.canary.yml26 # Create a throwaway canary account and enable an environment.COMMENT
MEDIUMdocker/compose/zrok2-instance/compose.canary.yml59 # Create the named share in the background (long-running).COMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash555# Create the router and get its enrollment tokenCOMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash621# Create a fresh XDG_CONFIG_HOME for this run so the ziti CLI session andCOMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash690# Create the test account via admin CLICOMMENT
MEDIUM⚡nfpm/dangerous.linux.test.bash728# Create a fresh canary account and enable an environment. Use an isolatedCOMMENT
MEDIUMnfpm/dangerous.linux.test.bash753# Create a share with an explicit name (--name-selection) and verify theCOMMENT
MEDIUMnfpm/dangerous.linux.test.bash768# Create the named share in the background (long-running). Keep stderrCOMMENT
MEDIUMnfpm/zrok2-bootstrap.bash328 # Create the database user if it doesn't existCOMMENT
MEDIUMnfpm/zrok2-bootstrap.bash338 # Create the database if it doesn't existCOMMENT
MEDIUMnfpm/zrok2-bootstrap.bash830 # Create the zrok identity if not already presentCOMMENT
MEDIUMnfpm/zrok2-bootstrap.bash1071 # Create a shared group for cert accessCOMMENT
MEDIUMsdk/python/examples/pastebin/pastebin.py103 # Create a separate thread to run the server so we can respond to ctrl-c when in 'accept'COMMENT
MEDIUMsdk/python/src/versioneer.py515# This file is released into the public domain.COMMENT
MEDIUMsdk/python/src/zrok2/_version.py8# This file is released into the public domain.COMMENT
MEDIUMsdk/python/src/zrok2/proxy.py118 # Create the shareCOMMENT
MEDIUMsdk/python/src/zrok2/proxy.py188 # Create the responseCOMMENT
MEDIUMsdk/python/src/zrok2/share.py84 # Create a response object with the expected fieldsCOMMENT
MEDIUMsdk/python/src/zrok2/environment/root.py58 # Create the API client with the configured authenticationCOMMENT
Cross-Language Confusion (JS/TS)3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHui/src/api/runtime.ts125 * @return True if the given MIME is JSON, false otherwise.COMMENT
HIGHagent/agentUi/src/api/runtime.ts125 * @return True if the given MIME is JSON, false otherwise.COMMENT
HIGHsdk/nodejs/sdk/src/api/runtime.ts125 * @return True if the given MIME is JSON, false otherwise.COMMENT
Structural Annotation Overuse13 hits · 20 pts
SeverityFileLineSnippetContext
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md130### Step 1: Create dynamicProxyController identityCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md142### Step 2: Create Ziti service and policiesCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md175### Step 3: Configure zrok controllerCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md208### Step 4: Create a namespaceCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md227### Step 5: Create a dynamic frontendCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md245### Step 6: Map namespace to frontendCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md267### Step 7: Configure dynamicProxy frontendCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md338### Step 8: Start dynamicProxy frontendCOMMENT
LOWwebsite/docs/self-hosting/frontends/dynamic-proxy.md381### Step 9: Test with a shareCOMMENT
LOWwebsite/docs/get-started/get-token.md6# Step 1: Get an account tokenCOMMENT
LOWwebsite/docs/get-started/enable-env.md6# Step 3: Enable your environmentCOMMENT
LOWwebsite/docs/get-started/set-up-agent.md6# Step 5: Set up the agentCOMMENT
LOWwebsite/docs/get-started/create-share.md6# Step 4: Create your first shareCOMMENT
Fake / Example Data15 hits · 15 pts
SeverityFileLineSnippetContext
LOWdrives/davServer/internal/xml/atom_test.go14 Author: Person{Name: "John Doe"},CODE
LOWdrives/davServer/internal/xml/marshal_test.go404 contentsAttr = "lorem ipsum"CODE
LOWdrives/davServer/internal/xml/marshal_test.go878 ExpectXML: `<dummy name="Sarah" age="12">lorem ipsum</dummy>`,CODE
LOW…-1.0/guides/docker-share/docker_private_share_guide.md117ZROK_ACCESS_GRANTS="bob@example.com alice@example.org"CODE
LOW…-1.1/guides/docker-share/docker_private_share_guide.md117ZROK_ACCESS_GRANTS="bob@example.com alice@example.org"CODE
LOW…-1.1/guides/docker-share/docker_private_share_guide.md117ZROK_ACCESS_GRANTS="bob@example.com alice@example.org"CODE
LOWcontroller/getName_test.go18 id, err := str.CreateAccount(&store.Account{Email: "admin@example.com", Salt: "salt", Password: "password", Token: "admCODE
LOWcontroller/getName_test.go21 return &rest_model_zrok.Principal{ID: int64(id), Email: "admin@example.com", Admin: true}CODE
LOWcontroller/limits/warningAction_simple_test.go16 Username: "user@example.com",CODE
LOWcontroller/store/environment_test.go44 Email: "test@test.com",CODE
LOWcontroller/store/environment_test.go78 Email: "test@test.com",CODE
LOWcontroller/store/frontend_test.go18 Email: "test@test.com",CODE
LOWcontroller/store/account_test.go33 Email: "test@test.com",CODE
LOWcontroller/store/account_test.go43 require.Equal(t, "test@test.com", account.Email)CODE
LOWsdk/nodejs/sdk/test/share.test.ts71 req.accessGrants = ["user@example.com"];CODE
Deep Nesting14 hits · 14 pts
SeverityFileLineSnippetContext
LOWsdk/python/src/versioneer.py1195CODE
LOWsdk/python/src/versioneer.py1428CODE
LOWsdk/python/src/versioneer.py1753CODE
LOWsdk/python/src/versioneer.py2173CODE
LOWsdk/python/src/zrok_api/rest.py115CODE
LOWsdk/python/src/zrok_api/api_client.py285CODE
LOWsdk/python/src/zrok_api/api_client.py335CODE
LOWsdk/python/src/zrok_api/api_client.py426CODE
LOWsdk/python/src/zrok_api/api_client.py473CODE
LOWsdk/python/src/zrok_api/api_client.py503CODE
LOWsdk/python/src/zrok_api/api_client.py542CODE
LOWsdk/python/src/zrok2/_version.py157CODE
LOWsdk/python/src/zrok2/_version.py604CODE
LOWsdk/python/src/zrok2/proxy.py138CODE
Redundant / Tautological Comments12 hits · 14 pts
SeverityFileLineSnippetContext
LOWdocker/images/cross-build/linux-build.sh10# Set HOME to a writable location when running as non-root user (--user flag)COMMENT
LOWnfpm/zrok2-bootstrap.bash423 # Check if InfluxDB has been set up by testing the /api/v2/setup endpointCOMMENT
LOWnfpm/zrok2-bootstrap.bash643 # Check if events section already existsCOMMENT
LOWnfpm/zrok2-bootstrap.bash670 # Check if network metrics interval is already tunedCOMMENT
LOWnfpm/zrok2-bootstrap.bash674 # Check if there's an existing network: section we can add toCOMMENT
LOWnfpm/zrok2-bootstrap.bash717 # Check if already bootstrapped by looking for the zrok databaseCOMMENT
LOWnfpm/zrok2-bootstrap.bash777 # Check if a frontend already existsCOMMENT
LOWbin/build.bash88# Check if Docker is availableCOMMENT
LOWbin/build.bash94# Check if the builder image exists and if it's staleCOMMENT
LOWbin/build.bash106 # Check if Dockerfile or linux-build.sh are newer than the imageCOMMENT
LOWsdk/python/src/zrok2/environment/root.py139 # Check if the response status code is 200 OKCOMMENT
LOW.github/workflows/node-sdk.yml94 # Check if this is the official repositoryCOMMENT
Example Usage Blocks6 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocker/compose/zrok2-instance/compose.caddy.yml3# Usage:COMMENT
LOWdocker/compose/zrok2-instance/fetch.bash5# Usage:COMMENT
LOWdocker/compose/zrok2-instance/compose.yml3# Usage:COMMENT
LOW…cker/compose/zrok2-instance/dangerous.docker.test.bash7# Usage:COMMENT
LOWnfpm/dangerous.linux.test.bash12# Usage:COMMENT
LOWsdk/python/examples/test-examples.bash13# Usage:COMMENT
AI Structural Patterns11 hits · 6 pts
SeverityFileLineSnippetContext
LOWsdk/python/src/zrok_api/configuration.py191CODE
LOWsdk/python/src/zrok_api/api_client.py141CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py2731CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py2828CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py2925CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py3119CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py3244CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py3369CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py4136CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py4253CODE
LOWsdk/python/src/zrok_api/api/metadata_api.py4370CODE
AI Slop Vocabulary3 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMui/package-lock.json4420 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
LOWsdk/python/src/versioneer.py534 # each be defined on a line of their own. _version.py will just callCOMMENT
LOWsdk/python/src/zrok2/_version.py27 # each be defined on a line of their own. _version.py will just callCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsdk/python/examples/proxy/proxy.py26logger = logging.getLogger(__name__)CODE
LOWsdk/python/src/zrok_api/configuration.py355 def set_default(cls, default: Optional[Self]) -> None:CODE
LOWsdk/python/src/zrok_api/__init__.py20__all__ = [CODE
LOWsdk/python/src/zrok2/proxy.py22logger = logging.getLogger(__name__)CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcontroller/store/environment_test.go363 // TODO: implement proper date range testing with controlled timestampsCOMMENT