A lightweight, cryptography-powered, open-source toolkit built to enforce Zero Trust security for infrastructure, applications, and data in the AI-driven world.
This report summarizes scanner evidence for OpenNHP/opennhp, a Go project with 13,939 GitHub stars. SynthScan examined 124,519 lines of code across 570 source files, recording 543 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 6.0 (Moderate 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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 442 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 98 finding(s).
Which changes need focused human review? 543 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
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.
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.
The scanner identified 543 distinct pattern matches across 11 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | terraform/demo/ssh-key.tf | 1 | # SSH keypair management. | COMMENT |
| LOW | terraform/demo/security-groups.tf | 1 | # --- nhp-relay Security Group --- | COMMENT |
| LOW | terraform/demo/security-groups.tf | 81 | # (/plugins/example?action=login&resid=demo) via an nginx vhost on 443, | COMMENT |
| LOW | terraform/demo/RUNBOOK.md | 761 | COMMENT | |
| LOW | terraform/demo/tls.tf | 1 | # ============================================================================= | COMMENT |
| LOW | terraform/demo/variables.tf | 41 | COMMENT | |
| LOW | terraform/demo/ses.tf | 61 | type = "TXT" | COMMENT |
| LOW | terraform/demo/userdata/ac.sh | 21 | # boot. | COMMENT |
| LOW | terraform/demo/userdata/ac.sh | 81 | # accept/deny audit logs. Missing this does NOT stop the | COMMENT |
| LOW | terraform/demo/userdata/server.sh | 21 | # that narrows this host down to the NHP knock port plus SSH from the relay. | COMMENT |
| LOW | terraform/demo/userdata/server.sh | 41 | # reload path still has a map to write. Since these three are the whole grant | COMMENT |
| LOW | terraform/demo/userdata/server.sh | 81 | COMMENT | |
| LOW | docker/docker-compose.multicluster.yaml | 1 | # Local multi-cluster validation stack. | COMMENT |
| LOW | docker/nhp-agent/etc/dhp.toml | 1 | # Configuration that is related to data content hiding protocol in agent side. | COMMENT |
| LOW | docker/nhp-agent/etc/resource.toml | 1 | # Resources the agent should knock on automatically after launch. | COMMENT |
| LOW | docker/nhp-agent/etc/server.toml | 1 | # nhp-agent server-peer configuration. | COMMENT |
| LOW | docker/nhp-agent/etc/server.toml | 21 | # Per-instance fields: | COMMENT |
| LOW | docker/nhp-agent/etc/server.toml | 61 | # Port = 62206 | COMMENT |
| LOW | docker/nhp-agent/etc/config.toml | 1 | # NHP-Agent base config | COMMENT |
| LOW | docker/demoapp/entrypoint.sh | 1 | #!/bin/sh | COMMENT |
| LOW | docker/demoapp/etc/config.toml | 1 | # Docker demoapp config. The container runs the binary against this file | COMMENT |
| LOW | docker/demoapp/etc/config.toml | 21 | # Path to the SQLite database file (created on first run). | COMMENT |
| LOW | docker/demoapp/etc/config.toml | 41 | CipherScheme = "gmsm" | COMMENT |
| LOW | docker/nhp-server/plugins/example/etc/resource.toml | 1 | # List resources id and their sub-fields here | COMMENT |
| LOW | docker/nhp-server/etc/relay.toml | 1 | # NHP Server relay peers configuration | COMMENT |
| LOW | docker/nhp-server/etc/config.toml | 1 | # NHP-Server base config | COMMENT |
| LOW | docker/nhp-server/etc/config.toml | 21 | # Accept RFC1918 / loopback / CGNAT addresses as the SourceAddr field of | COMMENT |
| LOW | docker/nhp-server/etc/config.toml | 41 | # on, every agent goes through the cookie-stamped handshake | COMMENT |
| LOW | docker/nhp-server/etc/config.toml | 61 | ForceOverload = false | COMMENT |
| LOW | docker/nhp-server/etc/config.toml | 81 | # means anyone with a checkout of this repo can mint valid cookies for | COMMENT |
| LOW | docker/nhp-server/etc/config.toml | 101 | # csv verifier would reject it. Setting AttestationScheme = "test" | COMMENT |
| LOW | docker/nhp-server/etc2/relay.toml | 1 | # NHP Server relay peers configuration | COMMENT |
| LOW | docker/nhp-server/etc2/config.toml | 1 | # NHP-Server base config | COMMENT |
| LOW | docker/nhp-server/etc2/config.toml | 21 | # Accept RFC1918 / loopback / CGNAT addresses as the SourceAddr field of | COMMENT |
| LOW | docker/nhp-server/etc2/config.toml | 41 | # on, every agent goes through the cookie-stamped handshake | COMMENT |
| LOW | docker/nhp-server/etc2/config.toml | 61 | ForceOverload = false | COMMENT |
| LOW | docker/nhp-server/etc2/config.toml | 81 | # means anyone with a checkout of this repo can mint valid cookies for | COMMENT |
| LOW | docker/multicluster/nhp-server-c2/etc/relay.toml | 1 | # NHP Server relay peers configuration | COMMENT |
| LOW | docker/multicluster/nhp-relay/etc/config.toml | 1 | # NHP Relay Service Configuration | COMMENT |
| LOW | docker/multicluster/nhp-relay/etc/config.toml | 41 | writeTimeoutMs = 10000 | COMMENT |
| LOW | docker/nhp-relay/etc/config.toml | 1 | # NHP Relay Service Configuration | COMMENT |
| LOW | docker/nhp-relay/etc/config.toml | 41 | writeTimeoutMs = 10000 | COMMENT |
| LOW | docker/nhp-relay/etc/config.toml | 81 | COMMENT | |
| LOW | endpoints/ac/config.go | 81 | // loaded but ignored: AOL fan-out broadcasts to every instance for | COMMENT |
| LOW | endpoints/ac/main/etc/remote.toml | 1 | # NHP-AC remote config | COMMENT |
| LOW | endpoints/ac/main/etc/server.toml | 1 | # list the server peers for the AC under [[Servers]] table | COMMENT |
| LOW | endpoints/ac/main/etc/server.toml | 21 | # on nhp-ac; see LoadBalance above) | COMMENT |
| LOW | endpoints/ac/main/etc/config.toml | 1 | # NHP-AC base config | COMMENT |
| LOW | endpoints/ac/main/etc/config.toml | 21 | # 0: iptables (default) | COMMENT |
| LOW | endpoints/js-agent/examples/reg.html | 161 | #seq-phase-otp .seq-msg { stroke: #58a6ff; } | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1441 | COMMENT | |
| LOW | endpoints/server/config.go | 21 | "github.com/OpenNHP/opennhp/nhp/plugins" | COMMENT |
| LOW | endpoints/server/config.go | 101 | // the threat model assumes a relay peer might be compromised and trying | COMMENT |
| LOW | endpoints/server/config.go | 121 | // cookie issued by the first, and the handshake stalls. Sharing this | COMMENT |
| LOW | endpoints/server/config.go | 141 | DatabasePath string `json:"databasePath"` | COMMENT |
| LOW | endpoints/server/config.go | 161 | // connection-teardown path in udpserver.go honors ForceOverload to | COMMENT |
| LOW | endpoints/server/config.go | 181 | COMMENT | |
| LOW | endpoints/server/config.go | 201 | // | COMMENT |
| LOW | endpoints/server/config.go | 221 | // ("10.0.1.4") or prefixes ("10.0.1.0/24"). Empty refuses to attach: it | COMMENT |
| LOW | endpoints/server/config.go | 241 | type MetricsConfig struct { | COMMENT |
| 338 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | terraform/demo/tls.tf | 1 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/demo/tls.tf | 3 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | terraform/demo/tls.tf | 13 | # ============================================================================= | COMMENT |
| MEDIUM | terraform/demo/ses.tf | 1 | # ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | terraform/demo/ses.tf | 5 | # ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | terraform/demo/ses.tf | 72 | # ── SMTP credentials ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/docker-compose.multicluster.yaml | 20 | # ── Cluster 1 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/docker-compose.multicluster.yaml | 67 | # ── Cluster 2 (independent identity + AC) ──────────────────────────────── | COMMENT |
| MEDIUM | docker/docker-compose.multicluster.yaml | 114 | # ── Browser entrypoint (nginx reverse proxy) ───────────────────────────── | COMMENT |
| MEDIUM | docker/docker-compose.multicluster.yaml | 140 | # ── Shared relay (declares BOTH clusters) ──────────────────────────────── | COMMENT |
| MEDIUM | docker/docker-compose.multicluster.yaml | 161 | # ── Protected web target for cluster 1 ─────────────────────────────────── | COMMENT |
| MEDIUM | docker/docker-compose.multicluster.yaml | 178 | # ── Protected web target for cluster 2 ─────────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-agent/etc/server.toml | 27 | # ─── Cluster form (recommended) ────────────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-agent/etc/server.toml | 52 | # ─── Legacy flat form (auto-upgraded, deprecated) ──────────────────── | COMMENT |
| MEDIUM | docker/nhp-server/etc/config.toml | 20 | # ─── Demo-only ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-server/etc/config.toml | 63 | # ─── Cookie (stateless, multi-instance-safe) ────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-server/etc2/config.toml | 20 | # ─── Demo-only ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-server/etc2/config.toml | 63 | # ─── Cookie (stateless, multi-instance-safe) ────────────────────────────── | COMMENT |
| MEDIUM | docker/multicluster/nhp-relay/etc/config.toml | 48 | # ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/multicluster/nhp-relay/etc/config.toml | 50 | # ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-relay/etc/config.toml | 48 | # ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docker/nhp-relay/etc/config.toml | 50 | # ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/ac/main/etc/server.toml | 23 | # ─── Cluster form (recommended) ────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/ac/main/etc/server.toml | 36 | # ─── Legacy single-server form (auto-upgraded, deprecated) ─────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 17 | // ─── Mock transport factory ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 59 | // ─── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 124 | // ─── Static metadata ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 132 | // ─── Initialization ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 190 | // ─── Server management ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | endpoints/js-agent/test/NHPAgent.test.ts | 222 | // ─── Identity ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | endpoints/js-agent/test/NHPAgent.test.ts | 244 | // ─── knockResource error cases (no transport needed) ───────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 285 | // ─── knockResource success path (mocked transport) ─────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 427 | // ─── Knock body authenticates the HeaderType (on-path flip protection) ─────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 511 | // ─── Event emitter ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 608 | // ─── exitResource ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 637 | // ─── close ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/NHPAgent.test.ts | 706 | // ─── listServices ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/header.test.ts | 14 | // ─── NHPHeader (curve25519, 240 bytes) ─────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/header.test.ts | 147 | // ─── NHPHeaderEx (gmsm, 304 bytes) ─────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 18 | // ─── helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 37 | // ─── CURVE25519 ACK round-trip ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 140 | // ─── COK / RNK cookie flow ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 176 | // ─── Error cases ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 254 | // ─── Anti-replay ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 279 | // ─── clearServerCookie ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/test/protocol/packet.test.ts | 316 | // ─── GMSM (SM2/SM3/SM4) round-trip ─────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/examples/reg.html | 475 | <span class="c-comment">// ── Step 1: generate key pair ─────────────────</span> | CODE |
| MEDIUM | endpoints/js-agent/examples/reg.html | 489 | <span class="c-comment">// ── Step 2: request OTP (NHP-OTP) ─────────────</span> | CODE |
| MEDIUM | endpoints/js-agent/examples/reg.html | 496 | <span class="c-comment">// ── Step 3: register key (NHP-REG) ────────────</span> | CODE |
| MEDIUM | endpoints/js-agent/examples/reg.html | 650 | // ── i18n ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/src/transport/relay.ts | 98 | // ─── Transport interface ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/js-agent/src/transport/relay.ts | 152 | // ─── Internal ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/server/keystore_test.go | 254 | // ── OTP tests ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/server/keystore_test.go | 467 | // ── OTP sweep tests ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/server/keystore.go | 130 | // ── OTP operations ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/server/keystore.go | 344 | // ── Agent key operations ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/server/keystore.go | 571 | // ── Helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/agent/main/etc/server.toml | 38 | # ─── Local docker environment (default) ─────────────────────────────── | COMMENT |
| MEDIUM | endpoints/db/main/etc/server.toml | 28 | # ─── Cluster form (recommended) ────────────────────────────────────── | COMMENT |
| MEDIUM | endpoints/db/main/etc/server.toml | 37 | # ─── Legacy single-server form (auto-upgraded, deprecated) ─────────── | COMMENT |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | endpoints/js-agent/examples/relay-test.html | 1802 | // Step 1: Init | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1822 | // Step 2: Identity + Server | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1837 | // Step 3: Listen for events | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1875 | // Step 4: Knock — also do a manual fetch to capture raw HTTP response details | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1893 | // Step 5: Result | COMMENT |
| LOW | endpoints/agent/main/main.go | 475 | // Step 0: generate a fresh key pair — let the user choose the cipher | COMMENT |
| LOW | endpoints/agent/main/main.go | 681 | // Step 1: OTP request (skipped when --otp is provided). | COMMENT |
| LOW | endpoints/agent/main/main.go | 713 | // Step 2: Register public key with OTP. | COMMENT |
| LOW | docs/capture-diagrams.md | 40 | ### Step 1: Start the VitePress Dev Server | COMMENT |
| LOW | docs/capture-diagrams.md | 49 | ### Step 2: Run the Capture Script | COMMENT |
| LOW | demoapp/auth_oidc.go | 231 | // Step 2: an existing row with the same verified email is left | COMMENT |
| LOW⚡ | examples/server_plugin/basic/main.go | 431 | // Step 1: validate OTP. | COMMENT |
| LOW⚡ | examples/server_plugin/basic/main.go | 439 | // Step 2: register the agent's public key. | COMMENT |
| LOW⚡ | examples/server_plugin/basic/main.go | 447 | // Step 3: echo the stored expiry back to the agent so the SDK can | COMMENT |
| LOW⚡ | nhp/test/ipv6_support_test.go | 109 | // Step 1: Detect IP type | COMMENT |
| LOW⚡ | nhp/test/ipv6_support_test.go | 118 | // Step 2: Get appropriate CIDR mask | COMMENT |
| LOW⚡ | nhp/test/ipv6_support_test.go | 121 | // Step 3: Parse CIDR | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | endpoints/js-agent/examples/relay-test.html | 1802 | // Step 1: Init | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1822 | // Step 2: Identity + Server | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1837 | // Step 3: Listen for events | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1875 | // Step 4: Knock — also do a manual fetch to capture raw HTTP response details | COMMENT |
| LOW | endpoints/js-agent/examples/relay-test.html | 1893 | // Step 5: Result | COMMENT |
| LOW | endpoints/agent/main/main.go | 475 | // Step 0: generate a fresh key pair — let the user choose the cipher | COMMENT |
| LOW | endpoints/agent/main/main.go | 681 | // Step 1: OTP request (skipped when --otp is provided). | COMMENT |
| LOW | endpoints/agent/main/main.go | 713 | // Step 2: Register public key with OTP. | COMMENT |
| LOW | demoapp/auth_oidc.go | 231 | // Step 2: an existing row with the same verified email is left | COMMENT |
| LOW⚡ | examples/server_plugin/basic/main.go | 431 | // Step 1: validate OTP. | COMMENT |
| LOW⚡ | examples/server_plugin/basic/main.go | 439 | // Step 2: register the agent's public key. | COMMENT |
| LOW⚡ | examples/server_plugin/basic/main.go | 447 | // Step 3: echo the stored expiry back to the agent so the SDK can | COMMENT |
| LOW⚡ | nhp/test/ipv6_support_test.go | 109 | // Step 1: Detect IP type | COMMENT |
| LOW⚡ | nhp/test/ipv6_support_test.go | 118 | // Step 2: Get appropriate CIDR mask | COMMENT |
| LOW⚡ | nhp/test/ipv6_support_test.go | 121 | // Step 3: Parse CIDR | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | terraform/demo/tls.tf | 34 | # Create a certificate signing request | COMMENT |
| MEDIUM | deploy/config-templates/server/xdp.toml | 3 | # This file is what opts the host into being filtered. Without it — or with | COMMENT |
| MEDIUM | .github/workflows/build-binaries.yml | 565 | # Create the release using gh CLI (more reliable than action) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | endpoints/js-agent/test/NHPAgent.test.ts | 229 | userId: 'user@example.com', | CODE |
| LOW⚡ | endpoints/js-agent/test/NHPAgent.test.ts | 239 | expect(() => agent.setUser('user@example.com', 'example.org')).not.toThrow(); | CODE |
| LOW | endpoints/js-agent/test/NHPAgent.test.ts | 299 | agent.setIdentity({ userId: 'user@example.com', deviceId: 'device-001' }); | CODE |
| LOW | endpoints/js-agent/test/NHPAgent.test.ts | 672 | agent.setIdentity({ userId: 'user@example.com', deviceId: 'device-001' }); | CODE |
| LOW | endpoints/js-agent/test/NHPAgent.test.ts | 694 | agent.setIdentity({ userId: 'user@example.com', deviceId: 'device-001' }); | CODE |
| LOW | endpoints/js-agent/test/NHPAgent.test.ts | 720 | agent.setIdentity({ userId: 'user@example.com', deviceId: 'device-001' }); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/agent_sdk.md | 1771 | print("Error: Failed to read Documents directory") | CODE |
| MEDIUM | docs/zh-cn/agent_sdk.zh-cn.md | 1785 | print("Error: Failed to read Documents directory") | CODE |
| MEDIUM | examples/client_sdk/ios/swift/ViewController.swift | 19 | print("Error: Failed to read Documents directory") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | terraform/demo/tls.tf | 16 | # Check if stealth CA is configured. If either cert or key is missing/empty, | COMMENT |
| LOW | docker/quick_start.sh | 245 | # Check if image exists | COMMENT |
| LOW | .github/workflows/infra-demo.yml | 136 | # Check if already synced (compare BOTH cert and key to catch partial updates) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/test_harden_nhp_server_udp.py | 10 | def test_rules_and_input_validation(self): | CODE |
| LOW | endpoints/js-agent/examples/reg.html | 1123 | function populateTomlClusterSelect() { | CODE |
| LOW | demoapp/web/src/views/complete-registration.ts | 27 | export function renderCompleteRegistration(root: HTMLElement, props: CompleteRegistrationViewProps): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/upload-stealth-ca.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/generate-nhp-keys.sh | 7 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deploy/scripts/nhp-ac-backstop.sh | 605 | # The flush just set the IPv4 INPUT policy to ACCEPT, so the backstop | COMMENT |