Repository Analysis

dmno-dev/varlock

AI-safe .env files: Schemas for agents, Secrets for humans.

4.6 Likely human-written View on GitHub

Analysis Overview

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).

4.6
Adjusted Score
4.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.8K
Stars
TypeScript
Language
104.2K
Lines of Code
767
Files
265
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 92LOW 173

Directory Score Breakdown

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.

Pattern Findings

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.

Decorative Section Separators89 hits · 267 pts
SeverityFileLineSnippetContext
MEDIUMpackages/encryption-binary-swift/scripts/build-swift.ts26// ── CLI args ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-swift/scripts/build-swift.ts46// ── Paths ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-swift/scripts/build-swift.ts53// ── Build mode config ───────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-swift/scripts/build-swift.ts89// ── Phase 1: Compile ────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-swift/scripts/build-swift.ts112// ── Phase 2: Bundle ─────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-swift/scripts/build-swift.ts184// ── Codesign ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/dashlane/test/dashlane.test.ts33// ── Test helper ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/dashlane/test/dashlane.test.ts99// ── Tests ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/passbolt/test/passbolt.test.ts18// ── Crypto fixtures ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/passbolt/test/passbolt.test.ts112// ── MSW Server ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/passbolt/test/passbolt.test.ts337// ── Test helper ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/passbolt/test/passbolt.test.ts372// ── Tests ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/bitwarden/src/plugin.ts548// ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/bitwarden/src/plugin.ts560// ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/keeper/test/keeper.test.ts12// ── Helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/keeper/test/keeper.test.ts68// ── Tests ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/keeper/src/plugin.ts18// ════ PLUGIN CONFIGURATION ═══════════════════════════════════════════════════COMMENT
MEDIUMpackages/plugins/keeper/src/plugin.ts38// ════ PLUGIN INSTANCE CLASS ═══════════════════════════════════════════════════COMMENT
MEDIUMpackages/plugins/keeper/src/plugin.ts313// ════ ROOT DECORATOR: @initKeeper ════════════════════════════════════════════COMMENT
MEDIUMpackages/plugins/keeper/src/plugin.ts364// ════ DATA TYPE: keeperSmToken ═══════════════════════════════════════════════COMMENT
MEDIUMpackages/plugins/keeper/src/plugin.ts401// ════ RESOLVER FUNCTION: keeper() ═══════════════════════════════════════════COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts22// ── SDK mock setup ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts115// ── Test helper ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts198// ── Tests ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts201 // ── Service account CLI path ──────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts272 // ── App auth CLI path ─────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts312 // ── opLoadEnvironment ─────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts338 // ── Named instances ───────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts357 // ── Data types ────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/test/1password.test.ts519 // ── Schema errors ─────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/src/plugin.ts201// ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/src/plugin.ts203// ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/src/plugin.ts353 // ── Connect REST API helpers ──────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/src/plugin.ts355 // ── CLI helpers (per-instance, for service account path only) ──────COMMENT
MEDIUMpackages/plugins/1password/src/plugin.ts504 // ── Connect REST API helpers ──────────────────────────────COMMENT
MEDIUMpackages/plugins/1password/src/plugin.ts634 // ── Core read methods ─────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/scripts/build-rust.ts18// ── CLI args ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/scripts/build-rust.ts29// ── Paths ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/scripts/build-rust.ts68// ── Build ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/scripts/build-rust.ts77// ── Copy to native-bins ─────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/daemon_client.rs468// ── Stub for non-Windows platforms ──────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/secure_mem.rs67// ── Platform-specific memory locking ────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs268// ── Client handling ──────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs347// ── Unix client process verification ─────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs401// ── Peer session identity (Linux) ───────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs644// ── Windows pipe security ───────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs736// ── Windows client process verification ─────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs804// ── Windows named pipe client handling ───────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/ipc.rs913// ── Tests ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/daemon.rs180// ── Message handlers ─────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/daemon.rs293// ── Biometric verification ───────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/daemon.rs316// ── Signal handling ──────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/main.rs42// ── CLI arg helpers ──────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/main.rs54// ── JSON output helpers ─────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/main.rs76// ── Commands ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/key_store/mod.rs106// ── Path helpers ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/key_store/mod.rs148// ── Platform-specific key protection ─────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/key_store/mod.rs326// ── Public API ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/encryption-binary-rust/src/key_store/linux.rs208// ── Helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/varlock/src/env-graph/lib/resolver.ts707// ── Random value generators ────────────────────────────────────────────COMMENT
29 more matches not shown…
Hyper-Verbose Identifiers77 hits · 77 pts
SeverityFileLineSnippetContext
LOWframework-tests/deploy/vercel-helpers.ts227export async function disableDeploymentProtection(): Promise<void> {CODE
LOWframework-tests/harness/test-fixture.ts25function addEdgeRuntimeToTemplateFiles(templateFiles?: TemplateFileMap): TemplateFileMap | undefined {CODE
LOWpackages/plugins/proton-pass/src/plugin.ts48function getSecretFieldNameFromRef(secretRef: string): string | undefined {CODE
LOWpackages/plugins/kubernetes/src/plugin.ts57async function readServiceAccountNamespace(): Promise<string | undefined> {CODE
LOWpackages/varlock/scripts/test-local-binary.ts52function ensureWindowsHelperForWSL() {CODE
LOWpackages/varlock/scripts/test-local-binary.ts68function copyWindowsHelperIfPresent() {CODE
LOWpackages/varlock/src/runtime/patch-server-response.ts38export function patchGlobalServerResponse(opts?: {CODE
LOWpackages/varlock/src/runtime/patch-server-response.ts57 ServerResponse.prototype.write = function varlockPatchedServerResponseWrite(...args) {CODE
LOWpackages/varlock/src/runtime/init-edge.ts28function gateEdgeEntriesUntilReady(ready: Promise<void>) {CODE
LOWpackages/varlock/src/runtime/env.ts96export function getRedactionHoldbackLength(str: string): number {CODE
LOWpackages/varlock/src/runtime/lib/redact-stream.ts16export function createRedactedStreamWriter(stream: { write(str: string): any }) {CODE
LOW…/varlock/src/env-graph/test/internal-decorator.test.ts15async function loadSchemaWithInternalType(contents: string) {CODE
LOWpackages/varlock/src/env-graph/lib/resolver.ts1045export function convertParsedValueToResolvers(CODE
LOWpackages/varlock/src/env-graph/lib/plugins.ts654export async function processPluginInstallDecorators(dataSource: EnvGraphDataSource) {CODE
LOW…es/varlock/src/env-graph/lib/type-generation/shared.ts106export function partitionRepresentableKeys(CODE
LOW…es/varlock/src/env-graph/lib/type-generation/shared.ts133export function assertNoFieldNameCollisions(CODE
LOW…k/src/env-graph/lib/type-generation/emitters/python.ts54function getPythonCoercedTypeString(coerced: CoercedType): string {CODE
LOWpackages/varlock/src/cli/commands/keychain.command.ts58export function isKeychainItemNotFoundError(error: unknown): boolean {CODE
LOWpackages/varlock/src/cli/commands/keychain.command.ts62export function extractKeychainRefFromCall(key: string, call: ParsedEnvSpecFunctionCall): KeychainRef | undefined {CODE
LOWpackages/varlock/src/cli/commands/keychain.command.ts99export function extractKeychainRefsFromFile(filePath: string): Array<KeychainRef> {CODE
LOWpackages/varlock/src/cli/commands/keychain.command.ts127export function getSensitivePlaintextImportValue(CODE
LOWpackages/varlock/src/cli/commands/keychain.command.ts147export function collectSensitivePlaintextImports(CODE
LOWpackages/varlock/src/cli/commands/keychain.command.ts179export function assertKeychainImportSchemaPresent(envGraph: {CODE
LOWpackages/varlock/src/cli/commands/audit.command.ts87function getInternallyReferencedKeys(envGraph: any): Set<string> {CODE
LOWpackages/varlock/src/cli/commands/audit.command.ts112async function getCustomAuditIgnorePaths(envGraph: any): Promise<Array<string>> {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts82function isOfficialVarlockPackageName(name: string) {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts91export function classifyGraphTelemetryErrorCode(graph: EnvGraph): TelemetryErrorCode | null {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts124export function classifyThrownTelemetryErrorCode(err: unknown): TelemetryErrorCode {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts137export function sanitizeIntegrationIdentity(CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts155export function sanitizeFeatureIdentifier(name: string): string | null {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts163function sanitizePluginAttributeValue(value: unknown): boolean | number | string | null | typeof DROP_ATTR {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts207export function sanitizePluginForTelemetry(plugin: {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts267export function captureUsageContextFromEnvGraph(graph: EnvGraph) {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts300export function captureTelemetryGraphLoadFailure(err: unknown) {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts307function resolveTelemetryErrorCode(): TelemetryErrorCode | null {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts328export function getTelemetryUsageContextPayload(): Record<string, unknown> {CODE
LOW…ges/varlock/src/cli/helpers/telemetry-usage-context.ts346export function resetTelemetryUsageContextForTests() {CODE
LOWpackages/varlock/src/cli/helpers/env-var-scanner.ts375function skipAndMaskTemplateLiteral(chars: Array<string>, startIndex: number): number {CODE
LOWpackages/varlock/src/cli/helpers/env-var-scanner.ts474function maskCommentsPreserveLayout(content: string, language: ScannerLanguage): string {CODE
LOWpackages/varlock/src/cli/helpers/env-var-scanner.ts551async function scanFileForEnvVarReferences(CODE
LOWpackages/varlock/src/cli/helpers/telemetry.ts450export function getJsPackageManagerForTelemetry(): JsPackageManager | null {CODE
LOWpackages/varlock/src/lib/injected-env-provenance.ts26export function buildOverrideProvenanceMetadata(CODE
LOWpackages/varlock/src/lib/injected-env-provenance.ts36export function parseOverrideProvenanceMetadata(blob?: string): OverrideProvenanceMetadata | undefined {CODE
LOWpackages/varlock/src/lib/injected-env-provenance.ts62export function selectOverrideValuesFromEnv(CODE
LOWpackages/varlock/src/lib/load-graph.ts15function getGraphEnvOverridesFromRuntimeEnv() {CODE
LOWpackages/varlock/src/lib/check-local-version.ts13export function checkLocalVersionMismatch(currentVersion: string): string | undefined {CODE
LOWpackages/varlock/src/lib/package-json-config.ts13export function readVarlockPackageJsonConfig(opts?: { cwd?: string }): VarlockPackageJsonConfig | undefined {CODE
LOWpackages/varlock/src/lib/local-encrypt/index.ts61function processCommandLineLaunchesVarlock(pid: number): boolean {CODE
LOWpackages/varlock/src/lib/local-encrypt/index.ts183function tryPrestartWindowsDaemonFromWsl(binaryPath: string): boolean {CODE
LOWpackages/varlock/src/lib/local-encrypt/index.ts242function waitForWindowsDaemonFromWsl(binaryPath: string, timeoutMs: number = 12_000): boolean {CODE
LOWpackages/utils/src/ast-replacer.ts51export function createReplacerTransformFn(opts: {CODE
LOWpackages/utils/src/oidc-tokens.ts26export async function getGitHubActionsOidcToken(CODE
LOW…s/integrations/cloudflare/src/shared-ssr-entry-code.ts68export function disableWranglerDotEnvAutoload() {CODE
LOW…s/integrations/cloudflare/src/shared-ssr-entry-code.ts75export function logVarlockEnvInjectionNotice() {CODE
LOWpackages/integrations/cloudflare/src/index.ts188export function varlockCloudflareVitePlugin(CODE
LOWpackages/integrations/cloudflare/src/sveltekit.ts28export function varlockSvelteKitCloudflarePlugin(): Array<any> {CODE
LOWpackages/integrations/vite/src/index.ts275 async function detectSvelteKitCloudflareTarget(config: { plugins?: ReadonlyArray<any> }) {CODE
LOWpackages/integrations/nextjs/tsup.config.ts5function defineIntegrationIdentity(options: { define?: Record<string, string> }) {CODE
LOW…es/integrations/nextjs/src/turbopack-runtime-inject.ts21export function injectVarlockInitIntoTurbopackRuntime(nextDirPath: string) {CODE
LOW…es/integrations/nextjs/src/turbopack-runtime-inject.ts111export function isInjectedTurbopackRuntime() {CODE
17 more matches not shown…
Over-Commented Block57 hits · 54 pts
SeverityFileLineSnippetContext
LOWsocket.yml1# Socket (socket.dev) configuration — read by the Socket GitHub App.COMMENT
LOW…rk-tests/frameworks/sveltekit/files/pages/prerender.ts1// Make the route fully static — exercises the Cloudflare adapter + varlock'sCOMMENT
LOWframework-tests/frameworks/nextjs/nextjs-canary.test.ts1import { describe } from 'vitest';COMMENT
LOW.claude/hooks/worktree-deps.sh1#!/usr/bin/env bashCOMMENT
LOWsmoke-tests/smoke-test-nextjs/next-env.d.ts1/// <reference types="next" />COMMENT
LOWpackages/env-spec-parser/README.md101- Decorator values will be parsed using the common value-handling rules (see below)COMMENT
LOW…swift/swift/Sources/SessionScoping/SessionScoper.swift1import FoundationCOMMENT
LOW…swift/swift/Sources/SessionScoping/SessionScoper.swift41 /// Varlock CLI launchers are also one-shot; scope to the host that invoked them.COMMENT
LOW…swift/swift/Sources/SessionScoping/SessionScoper.swift181 // stay distinct even if a TTY device name happens to collide.COMMENT
LOW…wift/Sources/VarlockEnclave/SecureEnclaveManager.swift1import FoundationCOMMENT
LOW…wift/Sources/VarlockEnclave/SecureEnclaveManager.swift141 throw EnclaveError.keyNotFound("\(keyId) - \(error.localizedDescription)")COMMENT
LOW…ary-swift/swift/Sources/VarlockEnclave/IPCServer.swift101 // Acquire an exclusive lock to prevent race conditions during socket setup.COMMENT
LOW…wift/swift/Sources/VarlockEnclave/SessionManager.swift1import FoundationCOMMENT
LOWpackages/plugins/azure-key-vault/README.md61```env-specCOMMENT
LOWpackages/plugins/doppler/README.md41# @initDoppler(COMMENT
LOWpackages/plugins/infisical/README.md61# )COMMENT
LOWpackages/plugins/infisical/README.md201COMMENT
LOWpackages/plugins/infisical/README.md321# @plugin(@varlock/infisical-plugin)COMMENT
LOWpackages/plugins/bitwarden/test/bwp.test.ts201 # @initBwp(id=work, sessionToken=$BWP_SESSION)COMMENT
LOWpackages/plugins/bitwarden/src/plugin.ts541 );COMMENT
LOWpackages/encryption-binary-rust/src/daemon_client.rs1//! Daemon client for one-shot commands that need biometric verification.COMMENT
LOWpackages/encryption-binary-rust/src/daemon_client.rs21/// Returns the decrypted plaintext.COMMENT
LOWpackages/encryption-binary-rust/src/daemon_client.rs221 .status();COMMENT
LOW…encryption-binary-rust/src/key_store/secret_service.rs1//! Linux Secret Service (libsecret / GNOME Keyring / KWallet) backend.COMMENT
LOWpackages/encryption-binary-rust/src/key_store/mod.rs1//! Key storage abstraction.COMMENT
LOWpackages/encryption-binary-rust/src/key_store/mod.rs21//! }COMMENT
LOWpackages/encryption-binary-rust/src/key_store/polkit.rs1//! Linux biometric / user-presence verification via polkit.COMMENT
LOW…ckages/encryption-binary-rust/src/key_store/windows.rs1//! Windows key protection using DPAPI (CryptProtectData / CryptUnprotectData).COMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs1//! Linux key protection using TPM2 seal/unseal via tpm2-tools.COMMENT
LOW…varlock/src/env-graph/test/required-decorators.test.ts141 `,COMMENT
LOWpackages/varlock/src/env-graph/lib/plugins.ts61 } catch {COMMENT
LOWpackages/varlock/src/cli/commands/run.command.ts261 'Redaction is applied automatically whenever output is piped or redirected, so you can likely just drop the --reCOMMENT
LOWpackages/varlock/src/cli/commands/run.command.ts281 // never has a downside:COMMENT
LOWpackages/varlock/src/lib/native-app-client.ts161COMMENT
LOWpackages/integrations/cloudflare/src/init.ts1// Cloudflare Workers init module for varlock.COMMENT
LOW…s/integrations/cloudflare/src/shared-ssr-entry-code.ts1// Code injected at the top of the SSR entry module so varlock can load itsCOMMENT
LOWpackages/integrations/vite/src/index.ts261COMMENT
LOWpackages/integrations/nextjs/src/loader.ts201 if (isEdgeFile) {COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt1# SYNTAX TEST "source.env-spec" "Comprehensive grammar tests"COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt21# ^ keyword.operator.assignment.env-specCOMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt41# ======================COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt61# <- comment.line.env-specCOMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt81# )COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt101COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt141# ^^^^^ variable.function.env-specCOMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt181# @dec=[a, b]COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt201# ^ punctuation.definition.array.begin.env-specCOMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt221#^^^^^^^^^ entity.name.tag.env-specCOMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt241COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt261# @import(pick=[COMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt281# ^ string.unquoted.env-specCOMMENT
LOWpackages/vscode-plugin/test/grammar.test.txt301# at end of line, so the next line is still a normal env entry.COMMENT
LOWpackages/vscode-plugin/scripts/install-local.ts1// Local dev installer for the @env-spec VSCode extension.COMMENT
LOW.github/workflows/deploy-tests.yaml1name: Real Deployment TestsCOMMENT
LOW.github/workflows/bumpy-comment.yaml1name: Bumpy commentCOMMENT
LOW.github/workflows/bumpy-check.yaml1name: Bumpy checkCOMMENT
LOW.github/workflows/build-native-rust.yaml1name: Build Rust native binariesCOMMENT
Structural Annotation Overuse17 hits · 35 pts
SeverityFileLineSnippetContext
LOWpackages/plugins/bitwarden/src/plugin.ts178 // Step 1: Exchange access token for JWTCOMMENT
LOWpackages/plugins/bitwarden/src/plugin.ts199 // Step 2: Derive key from encryption key (produces 64 bytes: 32 for enc, 32 for mac)COMMENT
LOWpackages/plugins/bitwarden/src/plugin.ts204 // Step 3: Decrypt the organization keyCOMMENT
LOWpackages/plugins/bitwarden/src/crypto-utils.ts65 // Step 1: HMAC-SHA256 with key="bitwarden-accesstoken"COMMENT
LOWpackages/plugins/bitwarden/src/crypto-utils.ts80 // Step 2: HKDF-Expand to 64 bytes (manual implementation since Web Crypto does Extract+Expand)COMMENT
LOWpackages/plugins/bitwarden/src/crypto-utils.ts84 // Step 3: Split into encryption key (first 32 bytes) and MAC key (last 32 bytes)COMMENT
LOWpackages/plugins/keeper/README.md175### Step 1: Create a Secrets Manager ApplicationCOMMENT
LOWpackages/plugins/keeper/README.md182### Step 2: Share foldersCOMMENT
LOWpackages/plugins/keeper/README.md188### Step 3: Generate a one-time access tokenCOMMENT
LOWpackages/plugins/keeper/README.md193### Step 4: Initialize and export the configCOMMENT
LOWpackages/plugins/keeper/README.md206### Step 5: Set up your schemaCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs113 // Step 1: Create SRK (Storage Root Key) — deterministicCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs120 // Step 2: Seal the private key under the SRK via stdin (avoid temp file issues)COMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs128 // Step 3: Read the sealed blobsCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs174 // Step 1: Recreate SRK (deterministic — same params = same key)COMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs181 // Step 2: Load the sealed objectCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs192 // Step 3: UnsealCOMMENT
Verbosity Indicators12 hits · 25 pts
SeverityFileLineSnippetContext
LOWpackages/plugins/bitwarden/src/plugin.ts178 // Step 1: Exchange access token for JWTCOMMENT
LOWpackages/plugins/bitwarden/src/plugin.ts199 // Step 2: Derive key from encryption key (produces 64 bytes: 32 for enc, 32 for mac)COMMENT
LOWpackages/plugins/bitwarden/src/plugin.ts204 // Step 3: Decrypt the organization keyCOMMENT
LOWpackages/plugins/bitwarden/src/crypto-utils.ts65 // Step 1: HMAC-SHA256 with key="bitwarden-accesstoken"COMMENT
LOWpackages/plugins/bitwarden/src/crypto-utils.ts80 // Step 2: HKDF-Expand to 64 bytes (manual implementation since Web Crypto does Extract+Expand)COMMENT
LOWpackages/plugins/bitwarden/src/crypto-utils.ts84 // Step 3: Split into encryption key (first 32 bytes) and MAC key (last 32 bytes)COMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs113 // Step 1: Create SRK (Storage Root Key) — deterministicCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs120 // Step 2: Seal the private key under the SRK via stdin (avoid temp file issues)COMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs128 // Step 3: Read the sealed blobsCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs174 // Step 1: Recreate SRK (deterministic — same params = same key)COMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs181 // Step 2: Load the sealed objectCOMMENT
LOWpackages/encryption-binary-rust/src/key_store/linux.rs192 // Step 3: UnsealCOMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/login-ghcr.sh8# Check if GitHub CLI is installedCOMMENT
LOWscripts/login-ghcr.sh15# Check if already authenticated with correct scopesCOMMENT
LOWscripts/publish-docker.sh18# Check if GitHub CLI is installed and authenticatedCOMMENT
LOWscripts/publish-docker.sh31# Check if user has access to the organizationCOMMENT
LOWpackages/varlock/src/cli/commands/printenv.command.ts38 varlock printenv MY_VAR # Print the value of MY_VARCODE
LOW.github/workflows/test.yaml64 # Check if native binary source changed (used to gate native builds)COMMENT
LOW.github/workflows/test.yaml84 # Check if native binary caches exist (lookup-only, no download)COMMENT
Modern AI Meta-Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md94In many cases you can use our [drop-in integrations](https://varlock.dev/integrations/javascript/) for seamless experienCODE
MEDIUMframework-tests/harness/dev-server.ts196 // Astro v7 auto-backgrounds `astro dev` when it detects an agentic/CICOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/notarize-native-macos.yaml68 # Create a zip for notarization submissionCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/varlock/install.sh113 # if homebrew is detected, we just use itCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/varlock/src/lib/native-app-client.ts155// // Example usage:COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/utils/test/git-utils.test.ts28 execSync('git config user.email "test@test.com"', { cwd: testDir });CODE