AI-safe .env files: Schemas for agents, Secrets for humans.
This report presents the forensic synthetic code analysis of dmno-dev/varlock, a TypeScript project with 3,774 GitHub stars. SynthScan v2.0 examined 104,185 lines of code across 767 source files, recording 265 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 4.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 265 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/encryption-binary-swift/scripts/build-swift.ts | 26 | // ── CLI args ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-swift/scripts/build-swift.ts | 46 | // ── Paths ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-swift/scripts/build-swift.ts | 53 | // ── Build mode config ─────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-swift/scripts/build-swift.ts | 89 | // ── Phase 1: Compile ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-swift/scripts/build-swift.ts | 112 | // ── Phase 2: Bundle ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-swift/scripts/build-swift.ts | 184 | // ── Codesign ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/dashlane/test/dashlane.test.ts | 33 | // ── Test helper ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/dashlane/test/dashlane.test.ts | 99 | // ── Tests ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/passbolt/test/passbolt.test.ts | 18 | // ── Crypto fixtures ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/passbolt/test/passbolt.test.ts | 112 | // ── MSW Server ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/passbolt/test/passbolt.test.ts | 337 | // ── Test helper ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/passbolt/test/passbolt.test.ts | 372 | // ── Tests ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/bitwarden/src/plugin.ts | 548 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/bitwarden/src/plugin.ts | 560 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/keeper/test/keeper.test.ts | 12 | // ── Helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/keeper/test/keeper.test.ts | 68 | // ── Tests ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/keeper/src/plugin.ts | 18 | // ════ PLUGIN CONFIGURATION ═══════════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/plugins/keeper/src/plugin.ts | 38 | // ════ PLUGIN INSTANCE CLASS ═══════════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/plugins/keeper/src/plugin.ts | 313 | // ════ ROOT DECORATOR: @initKeeper ════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/plugins/keeper/src/plugin.ts | 364 | // ════ DATA TYPE: keeperSmToken ═══════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/plugins/keeper/src/plugin.ts | 401 | // ════ RESOLVER FUNCTION: keeper() ═══════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 22 | // ── SDK mock setup ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 115 | // ── Test helper ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 198 | // ── Tests ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 201 | // ── Service account CLI path ────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 272 | // ── App auth CLI path ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 312 | // ── opLoadEnvironment ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 338 | // ── Named instances ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 357 | // ── Data types ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/test/1password.test.ts | 519 | // ── Schema errors ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/src/plugin.ts | 201 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/src/plugin.ts | 203 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/src/plugin.ts | 353 | // ── Connect REST API helpers ────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/src/plugin.ts | 355 | // ── CLI helpers (per-instance, for service account path only) ────── | COMMENT |
| MEDIUM | packages/plugins/1password/src/plugin.ts | 504 | // ── Connect REST API helpers ────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/1password/src/plugin.ts | 634 | // ── Core read methods ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/scripts/build-rust.ts | 18 | // ── CLI args ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/scripts/build-rust.ts | 29 | // ── Paths ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/scripts/build-rust.ts | 68 | // ── Build ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/scripts/build-rust.ts | 77 | // ── Copy to native-bins ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/daemon_client.rs | 468 | // ── Stub for non-Windows platforms ────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/secure_mem.rs | 67 | // ── Platform-specific memory locking ──────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 268 | // ── Client handling ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 347 | // ── Unix client process verification ───────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 401 | // ── Peer session identity (Linux) ─────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 644 | // ── Windows pipe security ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 736 | // ── Windows client process verification ───────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 804 | // ── Windows named pipe client handling ─────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/ipc.rs | 913 | // ── Tests ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/daemon.rs | 180 | // ── Message handlers ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/daemon.rs | 293 | // ── Biometric verification ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/daemon.rs | 316 | // ── Signal handling ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/main.rs | 42 | // ── CLI arg helpers ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/main.rs | 54 | // ── JSON output helpers ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/main.rs | 76 | // ── Commands ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/key_store/mod.rs | 106 | // ── Path helpers ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/key_store/mod.rs | 148 | // ── Platform-specific key protection ───────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/key_store/mod.rs | 326 | // ── Public API ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/encryption-binary-rust/src/key_store/linux.rs | 208 | // ── Helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/varlock/src/env-graph/lib/resolver.ts | 707 | // ── Random value generators ──────────────────────────────────────────── | COMMENT |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework-tests/deploy/vercel-helpers.ts | 227 | export async function disableDeploymentProtection(): Promise<void> { | CODE |
| LOW | framework-tests/harness/test-fixture.ts | 25 | function addEdgeRuntimeToTemplateFiles(templateFiles?: TemplateFileMap): TemplateFileMap | undefined { | CODE |
| LOW | packages/plugins/proton-pass/src/plugin.ts | 48 | function getSecretFieldNameFromRef(secretRef: string): string | undefined { | CODE |
| LOW | packages/plugins/kubernetes/src/plugin.ts | 57 | async function readServiceAccountNamespace(): Promise<string | undefined> { | CODE |
| LOW | packages/varlock/scripts/test-local-binary.ts | 52 | function ensureWindowsHelperForWSL() { | CODE |
| LOW | packages/varlock/scripts/test-local-binary.ts | 68 | function copyWindowsHelperIfPresent() { | CODE |
| LOW | packages/varlock/src/runtime/patch-server-response.ts | 38 | export function patchGlobalServerResponse(opts?: { | CODE |
| LOW | packages/varlock/src/runtime/patch-server-response.ts | 57 | ServerResponse.prototype.write = function varlockPatchedServerResponseWrite(...args) { | CODE |
| LOW | packages/varlock/src/runtime/init-edge.ts | 28 | function gateEdgeEntriesUntilReady(ready: Promise<void>) { | CODE |
| LOW | packages/varlock/src/runtime/env.ts | 96 | export function getRedactionHoldbackLength(str: string): number { | CODE |
| LOW | packages/varlock/src/runtime/lib/redact-stream.ts | 16 | export function createRedactedStreamWriter(stream: { write(str: string): any }) { | CODE |
| LOW | …/varlock/src/env-graph/test/internal-decorator.test.ts | 15 | async function loadSchemaWithInternalType(contents: string) { | CODE |
| LOW | packages/varlock/src/env-graph/lib/resolver.ts | 1045 | export function convertParsedValueToResolvers( | CODE |
| LOW | packages/varlock/src/env-graph/lib/plugins.ts | 654 | export async function processPluginInstallDecorators(dataSource: EnvGraphDataSource) { | CODE |
| LOW | …es/varlock/src/env-graph/lib/type-generation/shared.ts | 106 | export function partitionRepresentableKeys( | CODE |
| LOW | …es/varlock/src/env-graph/lib/type-generation/shared.ts | 133 | export function assertNoFieldNameCollisions( | CODE |
| LOW | …k/src/env-graph/lib/type-generation/emitters/python.ts | 54 | function getPythonCoercedTypeString(coerced: CoercedType): string { | CODE |
| LOW | packages/varlock/src/cli/commands/keychain.command.ts | 58 | export function isKeychainItemNotFoundError(error: unknown): boolean { | CODE |
| LOW | packages/varlock/src/cli/commands/keychain.command.ts | 62 | export function extractKeychainRefFromCall(key: string, call: ParsedEnvSpecFunctionCall): KeychainRef | undefined { | CODE |
| LOW | packages/varlock/src/cli/commands/keychain.command.ts | 99 | export function extractKeychainRefsFromFile(filePath: string): Array<KeychainRef> { | CODE |
| LOW | packages/varlock/src/cli/commands/keychain.command.ts | 127 | export function getSensitivePlaintextImportValue( | CODE |
| LOW | packages/varlock/src/cli/commands/keychain.command.ts | 147 | export function collectSensitivePlaintextImports( | CODE |
| LOW | packages/varlock/src/cli/commands/keychain.command.ts | 179 | export function assertKeychainImportSchemaPresent(envGraph: { | CODE |
| LOW | packages/varlock/src/cli/commands/audit.command.ts | 87 | function getInternallyReferencedKeys(envGraph: any): Set<string> { | CODE |
| LOW | packages/varlock/src/cli/commands/audit.command.ts | 112 | async function getCustomAuditIgnorePaths(envGraph: any): Promise<Array<string>> { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 82 | function isOfficialVarlockPackageName(name: string) { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 91 | export function classifyGraphTelemetryErrorCode(graph: EnvGraph): TelemetryErrorCode | null { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 124 | export function classifyThrownTelemetryErrorCode(err: unknown): TelemetryErrorCode { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 137 | export function sanitizeIntegrationIdentity( | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 155 | export function sanitizeFeatureIdentifier(name: string): string | null { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 163 | function sanitizePluginAttributeValue(value: unknown): boolean | number | string | null | typeof DROP_ATTR { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 207 | export function sanitizePluginForTelemetry(plugin: { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 267 | export function captureUsageContextFromEnvGraph(graph: EnvGraph) { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 300 | export function captureTelemetryGraphLoadFailure(err: unknown) { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 307 | function resolveTelemetryErrorCode(): TelemetryErrorCode | null { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 328 | export function getTelemetryUsageContextPayload(): Record<string, unknown> { | CODE |
| LOW | …ges/varlock/src/cli/helpers/telemetry-usage-context.ts | 346 | export function resetTelemetryUsageContextForTests() { | CODE |
| LOW | packages/varlock/src/cli/helpers/env-var-scanner.ts | 375 | function skipAndMaskTemplateLiteral(chars: Array<string>, startIndex: number): number { | CODE |
| LOW | packages/varlock/src/cli/helpers/env-var-scanner.ts | 474 | function maskCommentsPreserveLayout(content: string, language: ScannerLanguage): string { | CODE |
| LOW | packages/varlock/src/cli/helpers/env-var-scanner.ts | 551 | async function scanFileForEnvVarReferences( | CODE |
| LOW | packages/varlock/src/cli/helpers/telemetry.ts | 450 | export function getJsPackageManagerForTelemetry(): JsPackageManager | null { | CODE |
| LOW | packages/varlock/src/lib/injected-env-provenance.ts | 26 | export function buildOverrideProvenanceMetadata( | CODE |
| LOW | packages/varlock/src/lib/injected-env-provenance.ts | 36 | export function parseOverrideProvenanceMetadata(blob?: string): OverrideProvenanceMetadata | undefined { | CODE |
| LOW | packages/varlock/src/lib/injected-env-provenance.ts | 62 | export function selectOverrideValuesFromEnv( | CODE |
| LOW | packages/varlock/src/lib/load-graph.ts | 15 | function getGraphEnvOverridesFromRuntimeEnv() { | CODE |
| LOW | packages/varlock/src/lib/check-local-version.ts | 13 | export function checkLocalVersionMismatch(currentVersion: string): string | undefined { | CODE |
| LOW | packages/varlock/src/lib/package-json-config.ts | 13 | export function readVarlockPackageJsonConfig(opts?: { cwd?: string }): VarlockPackageJsonConfig | undefined { | CODE |
| LOW | packages/varlock/src/lib/local-encrypt/index.ts | 61 | function processCommandLineLaunchesVarlock(pid: number): boolean { | CODE |
| LOW | packages/varlock/src/lib/local-encrypt/index.ts | 183 | function tryPrestartWindowsDaemonFromWsl(binaryPath: string): boolean { | CODE |
| LOW | packages/varlock/src/lib/local-encrypt/index.ts | 242 | function waitForWindowsDaemonFromWsl(binaryPath: string, timeoutMs: number = 12_000): boolean { | CODE |
| LOW | packages/utils/src/ast-replacer.ts | 51 | export function createReplacerTransformFn(opts: { | CODE |
| LOW | packages/utils/src/oidc-tokens.ts | 26 | export async function getGitHubActionsOidcToken( | CODE |
| LOW | …s/integrations/cloudflare/src/shared-ssr-entry-code.ts | 68 | export function disableWranglerDotEnvAutoload() { | CODE |
| LOW | …s/integrations/cloudflare/src/shared-ssr-entry-code.ts | 75 | export function logVarlockEnvInjectionNotice() { | CODE |
| LOW | packages/integrations/cloudflare/src/index.ts | 188 | export function varlockCloudflareVitePlugin( | CODE |
| LOW | packages/integrations/cloudflare/src/sveltekit.ts | 28 | export function varlockSvelteKitCloudflarePlugin(): Array<any> { | CODE |
| LOW | packages/integrations/vite/src/index.ts | 275 | async function detectSvelteKitCloudflareTarget(config: { plugins?: ReadonlyArray<any> }) { | CODE |
| LOW | packages/integrations/nextjs/tsup.config.ts | 5 | function defineIntegrationIdentity(options: { define?: Record<string, string> }) { | CODE |
| LOW | …es/integrations/nextjs/src/turbopack-runtime-inject.ts | 21 | export function injectVarlockInitIntoTurbopackRuntime(nextDirPath: string) { | CODE |
| LOW | …es/integrations/nextjs/src/turbopack-runtime-inject.ts | 111 | export function isInjectedTurbopackRuntime() { | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | socket.yml | 1 | # Socket (socket.dev) configuration — read by the Socket GitHub App. | COMMENT |
| LOW | …rk-tests/frameworks/sveltekit/files/pages/prerender.ts | 1 | // Make the route fully static — exercises the Cloudflare adapter + varlock's | COMMENT |
| LOW | framework-tests/frameworks/nextjs/nextjs-canary.test.ts | 1 | import { describe } from 'vitest'; | COMMENT |
| LOW | .claude/hooks/worktree-deps.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | smoke-tests/smoke-test-nextjs/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | packages/env-spec-parser/README.md | 101 | - Decorator values will be parsed using the common value-handling rules (see below) | COMMENT |
| LOW | …swift/swift/Sources/SessionScoping/SessionScoper.swift | 1 | import Foundation | COMMENT |
| LOW | …swift/swift/Sources/SessionScoping/SessionScoper.swift | 41 | /// Varlock CLI launchers are also one-shot; scope to the host that invoked them. | COMMENT |
| LOW | …swift/swift/Sources/SessionScoping/SessionScoper.swift | 181 | // stay distinct even if a TTY device name happens to collide. | COMMENT |
| LOW | …wift/Sources/VarlockEnclave/SecureEnclaveManager.swift | 1 | import Foundation | COMMENT |
| LOW | …wift/Sources/VarlockEnclave/SecureEnclaveManager.swift | 141 | throw EnclaveError.keyNotFound("\(keyId) - \(error.localizedDescription)") | COMMENT |
| LOW | …ary-swift/swift/Sources/VarlockEnclave/IPCServer.swift | 101 | // Acquire an exclusive lock to prevent race conditions during socket setup. | COMMENT |
| LOW | …wift/swift/Sources/VarlockEnclave/SessionManager.swift | 1 | import Foundation | COMMENT |
| LOW | packages/plugins/azure-key-vault/README.md | 61 | ```env-spec | COMMENT |
| LOW | packages/plugins/doppler/README.md | 41 | # @initDoppler( | COMMENT |
| LOW | packages/plugins/infisical/README.md | 61 | # ) | COMMENT |
| LOW | packages/plugins/infisical/README.md | 201 | COMMENT | |
| LOW | packages/plugins/infisical/README.md | 321 | # @plugin(@varlock/infisical-plugin) | COMMENT |
| LOW | packages/plugins/bitwarden/test/bwp.test.ts | 201 | # @initBwp(id=work, sessionToken=$BWP_SESSION) | COMMENT |
| LOW | packages/plugins/bitwarden/src/plugin.ts | 541 | ); | COMMENT |
| LOW | packages/encryption-binary-rust/src/daemon_client.rs | 1 | //! Daemon client for one-shot commands that need biometric verification. | COMMENT |
| LOW | packages/encryption-binary-rust/src/daemon_client.rs | 21 | /// Returns the decrypted plaintext. | COMMENT |
| LOW | packages/encryption-binary-rust/src/daemon_client.rs | 221 | .status(); | COMMENT |
| LOW | …encryption-binary-rust/src/key_store/secret_service.rs | 1 | //! Linux Secret Service (libsecret / GNOME Keyring / KWallet) backend. | COMMENT |
| LOW | packages/encryption-binary-rust/src/key_store/mod.rs | 1 | //! Key storage abstraction. | COMMENT |
| LOW | packages/encryption-binary-rust/src/key_store/mod.rs | 21 | //! } | COMMENT |
| LOW | packages/encryption-binary-rust/src/key_store/polkit.rs | 1 | //! Linux biometric / user-presence verification via polkit. | COMMENT |
| LOW | …ckages/encryption-binary-rust/src/key_store/windows.rs | 1 | //! Windows key protection using DPAPI (CryptProtectData / CryptUnprotectData). | COMMENT |
| LOW | packages/encryption-binary-rust/src/key_store/linux.rs | 1 | //! Linux key protection using TPM2 seal/unseal via tpm2-tools. | COMMENT |
| LOW | …varlock/src/env-graph/test/required-decorators.test.ts | 141 | `, | COMMENT |
| LOW | packages/varlock/src/env-graph/lib/plugins.ts | 61 | } catch { | COMMENT |
| LOW | packages/varlock/src/cli/commands/run.command.ts | 261 | 'Redaction is applied automatically whenever output is piped or redirected, so you can likely just drop the --re | COMMENT |
| LOW | packages/varlock/src/cli/commands/run.command.ts | 281 | // never has a downside: | COMMENT |
| LOW | packages/varlock/src/lib/native-app-client.ts | 161 | COMMENT | |
| LOW | packages/integrations/cloudflare/src/init.ts | 1 | // Cloudflare Workers init module for varlock. | COMMENT |
| LOW | …s/integrations/cloudflare/src/shared-ssr-entry-code.ts | 1 | // Code injected at the top of the SSR entry module so varlock can load its | COMMENT |
| LOW | packages/integrations/vite/src/index.ts | 261 | COMMENT | |
| LOW | packages/integrations/nextjs/src/loader.ts | 201 | if (isEdgeFile) { | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 1 | # SYNTAX TEST "source.env-spec" "Comprehensive grammar tests" | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 21 | # ^ keyword.operator.assignment.env-spec | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 41 | # ====================== | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 61 | # <- comment.line.env-spec | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 81 | # ) | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 101 | COMMENT | |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 141 | # ^^^^^ variable.function.env-spec | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 181 | # @dec=[a, b] | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 201 | # ^ punctuation.definition.array.begin.env-spec | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 221 | #^^^^^^^^^ entity.name.tag.env-spec | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 241 | COMMENT | |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 261 | # @import(pick=[ | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 281 | # ^ string.unquoted.env-spec | COMMENT |
| LOW | packages/vscode-plugin/test/grammar.test.txt | 301 | # at end of line, so the next line is still a normal env entry. | COMMENT |
| LOW | packages/vscode-plugin/scripts/install-local.ts | 1 | // Local dev installer for the @env-spec VSCode extension. | COMMENT |
| LOW | .github/workflows/deploy-tests.yaml | 1 | name: Real Deployment Tests | COMMENT |
| LOW | .github/workflows/bumpy-comment.yaml | 1 | name: Bumpy comment | COMMENT |
| LOW | .github/workflows/bumpy-check.yaml | 1 | name: Bumpy check | COMMENT |
| LOW | .github/workflows/build-native-rust.yaml | 1 | name: Build Rust native binaries | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/plugins/bitwarden/src/plugin.ts | 178 | // Step 1: Exchange access token for JWT | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/plugin.ts | 199 | // Step 2: Derive key from encryption key (produces 64 bytes: 32 for enc, 32 for mac) | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/plugin.ts | 204 | // Step 3: Decrypt the organization key | COMMENT |
| LOW | packages/plugins/bitwarden/src/crypto-utils.ts | 65 | // Step 1: HMAC-SHA256 with key="bitwarden-accesstoken" | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/crypto-utils.ts | 80 | // Step 2: HKDF-Expand to 64 bytes (manual implementation since Web Crypto does Extract+Expand) | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/crypto-utils.ts | 84 | // Step 3: Split into encryption key (first 32 bytes) and MAC key (last 32 bytes) | COMMENT |
| LOW⚡ | packages/plugins/keeper/README.md | 175 | ### Step 1: Create a Secrets Manager Application | COMMENT |
| LOW⚡ | packages/plugins/keeper/README.md | 182 | ### Step 2: Share folders | COMMENT |
| LOW⚡ | packages/plugins/keeper/README.md | 188 | ### Step 3: Generate a one-time access token | COMMENT |
| LOW⚡ | packages/plugins/keeper/README.md | 193 | ### Step 4: Initialize and export the config | COMMENT |
| LOW | packages/plugins/keeper/README.md | 206 | ### Step 5: Set up your schema | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 113 | // Step 1: Create SRK (Storage Root Key) — deterministic | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 120 | // Step 2: Seal the private key under the SRK via stdin (avoid temp file issues) | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 128 | // Step 3: Read the sealed blobs | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 174 | // Step 1: Recreate SRK (deterministic — same params = same key) | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 181 | // Step 2: Load the sealed object | COMMENT |
| LOW | packages/encryption-binary-rust/src/key_store/linux.rs | 192 | // Step 3: Unseal | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/plugins/bitwarden/src/plugin.ts | 178 | // Step 1: Exchange access token for JWT | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/plugin.ts | 199 | // Step 2: Derive key from encryption key (produces 64 bytes: 32 for enc, 32 for mac) | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/plugin.ts | 204 | // Step 3: Decrypt the organization key | COMMENT |
| LOW | packages/plugins/bitwarden/src/crypto-utils.ts | 65 | // Step 1: HMAC-SHA256 with key="bitwarden-accesstoken" | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/crypto-utils.ts | 80 | // Step 2: HKDF-Expand to 64 bytes (manual implementation since Web Crypto does Extract+Expand) | COMMENT |
| LOW⚡ | packages/plugins/bitwarden/src/crypto-utils.ts | 84 | // Step 3: Split into encryption key (first 32 bytes) and MAC key (last 32 bytes) | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 113 | // Step 1: Create SRK (Storage Root Key) — deterministic | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 120 | // Step 2: Seal the private key under the SRK via stdin (avoid temp file issues) | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 128 | // Step 3: Read the sealed blobs | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 174 | // Step 1: Recreate SRK (deterministic — same params = same key) | COMMENT |
| LOW⚡ | packages/encryption-binary-rust/src/key_store/linux.rs | 181 | // Step 2: Load the sealed object | COMMENT |
| LOW | packages/encryption-binary-rust/src/key_store/linux.rs | 192 | // Step 3: Unseal | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/login-ghcr.sh | 8 | # Check if GitHub CLI is installed | COMMENT |
| LOW | scripts/login-ghcr.sh | 15 | # Check if already authenticated with correct scopes | COMMENT |
| LOW | scripts/publish-docker.sh | 18 | # Check if GitHub CLI is installed and authenticated | COMMENT |
| LOW | scripts/publish-docker.sh | 31 | # Check if user has access to the organization | COMMENT |
| LOW | packages/varlock/src/cli/commands/printenv.command.ts | 38 | varlock printenv MY_VAR # Print the value of MY_VAR | CODE |
| LOW | .github/workflows/test.yaml | 64 | # Check if native binary source changed (used to gate native builds) | COMMENT |
| LOW | .github/workflows/test.yaml | 84 | # Check if native binary caches exist (lookup-only, no download) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 94 | In many cases you can use our [drop-in integrations](https://varlock.dev/integrations/javascript/) for seamless experien | CODE |
| MEDIUM | framework-tests/harness/dev-server.ts | 196 | // Astro v7 auto-backgrounds `astro dev` when it detects an agentic/CI | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/notarize-native-macos.yaml | 68 | # Create a zip for notarization submission | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/varlock/install.sh | 113 | # if homebrew is detected, we just use it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/varlock/src/lib/native-app-client.ts | 155 | // // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/utils/test/git-utils.test.ts | 28 | execSync('git config user.email "test@test.com"', { cwd: testDir }); | CODE |