AI Slop Code Risk Monitor

pnpm/pnpm

SlopCodeMonitor badge for pnpm/pnpm Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Fast, disk space efficient package manager

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for pnpm/pnpm, a Rust project with 36,971 GitHub stars. SynthScan examined 1,653,960 lines of code across 9105 source files, recording 4219 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 3.1 (Low 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.

3.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
37.0K
Stars
Rust
Language
1.7M
Lines of Code
9.1K
Files
4.2K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 11.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.0/100 · LOW

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

Agent Over-Engineering Ratio 4.4/100 · LOW

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

PR Review Velocity Impact 14.3/100 · LOW

Which changes need focused human review? 4219 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

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.

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 83HIGH 10MEDIUM 53LOW 4073

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 4219 distinct pattern matches across 17 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.

Over-Commented Block2458 hits · 2420 pts
SeverityFileLineSnippetContext
LOWCargo.toml281mockito = { version = "1.7.2" }COMMENT
LOWdeny.toml21unmaintained = "workspace"COMMENT
LOWdeny.toml41 # cargo-deny scopes an ignore to an advisory id, never to a version, so thisCOMMENT
LOWrustfmt.toml1# Make Rust more readable given most people have wide screens nowadays.COMMENT
LOWCross.toml1# Image overrides for `cross`. Every other release target builds in the imageCOMMENT
LOW.pr_agent.toml41# the /improve tool (see pr_commands and push_commands), so approval is re-checkedCOMMENT
LOWdylint.toml1# Dylint configuration. cargo-dylint reads `[workspace.metadata.dylint]`COMMENT
LOWdylint.toml21 # to a `let` internally before the match, so the expression isCOMMENT
LOWpnpm-workspace.yaml101 # @pnpm/logger is a workspace package, but every consumer depends on theCOMMENT
LOW.config/nextest.toml1# Workspace-wide cargo-nextest configuration (pacquet and pnpr).COMMENT
LOW.config/nextest.toml21slow-timeout = { period = "120s", terminate-after = 5 }COMMENT
LOW.config/pnpm/policies.yaml21 # GHSA-h67p-54hq-rp68: js-yaml quadratic-complexity DoS in merge key handling.COMMENT
LOW…lling/deps-resolver/test/resolveDependencyTree.test.ts201 const exactResolution = tResolutions.find(({ bareSpecifier }) => bareSpecifier === '1.0.0')COMMENT
LOW…/installing/deps-resolver/src/linkPathToPeerVersion.ts1// Converts a link: path into a stable, filename-safe token used as theCOMMENT
LOWpnpm11/installing/deps-resolver/src/hoistPeers.ts141function pickPreferredPeerSpec (COMMENT
LOWpnpm11/installing/deps-installer/test/catalogs.ts881 catalogs: { default: { '@pnpm.test/is-positive-alias': { specifier: 'npm:is-positive@1.0.0', version: '1.0.0' } } },COMMENT
LOWpnpm11/installing/deps-installer/test/catalogs.ts961//COMMENT
LOW…est/install/injectWorkspacePackagesPersistence.test.ts361COMMENT
LOW…est/install/injectWorkspacePackagesPersistence.test.ts481 expect(lockfileAfterUpdate.importers['.'].devDependencies!.winston.version).toBe('3.19.0')COMMENT
LOW…eps-installer/src/install/verifyLockfileResolutions.ts21COMMENT
LOW…eps-installer/src/install/verifyLockfileResolutions.ts421// `react@18.0.0(peer)(patch_hash=...)`); the same (name, version) pair mayCOMMENT
LOWpnpm11/installing/commands/src/runPacquet.ts141}COMMENT
LOWpnpm11/config/reader/src/rescopeUnscopedCreds.ts1import { nerfDart } from '@pnpm/config.registry-auth-key'COMMENT
LOWpnpm11/config/reader/src/rescopeUnscopedCreds.ts21// in the first place — only the URL-scoped `//host/:certfile=...` andCOMMENT
LOWpnpm11/config/reader/src/loadNpmrcFiles.ts261 }COMMENT
LOWpnpm11/__fixtures__/pnpm-workspace.yaml21sharedWorkspaceLockfile: falseCOMMENT
LOW…ures__/multiple-scripts-error-exit/pnpm-workspace.yaml1# This fixture exercises child-process cleanup when `pnpm run` exits, notCOMMENT
LOWpnpm11/resolving/local-resolver/README.md21resolveFromLocal({bareSpecifier: './example-package'}, {prefix: process.cwd()})COMMENT
LOWpnpm11/resolving/npm-resolver/README.md41// "ava": "^0.0.4"COMMENT
LOWpnpm11/resolving/npm-resolver/test/publishedBy.test.ts581 expect(resolveResult!.resolvedVia).toBe('npm-registry')COMMENT
LOWpnpm11/resolving/npm-resolver/src/releaseAgeUpgrade.ts21}COMMENT
LOWpnpm11/workspace/projects-graph/README.md41// dependencies: ['/home/zkochan/src/bar'],COMMENT
LOW…11/workspace/workspace-manifest-writer/src/keyOrder.ts21 }COMMENT
LOWpnpm11/__typings__/index.d.ts1/// <reference path="local.d.ts" />COMMENT
LOWpnpm11/pnpm/bundle-deps.ts1import fs from 'node:fs'COMMENT
LOWpnpm11/pnpm/bundle-deps.ts21// This is used to include certain dependencies like node-gyp out of the boxCOMMENT
LOWpnpm11/pnpm/bundle-deps.ts41// │ └── pnpm-workspace.yaml │COMMENT
LOWpnpm11/pnpm/bundle-deps.ts121}COMMENT
LOWpnpm11/pnpm/artifacts/exe/prepare.js21// relative to the script: a `PATH` lookup would run whatever other pnpm comesCOMMENT
LOWpnpm11/pnpm/artifacts/exe/setup.js21const platform = process.platformCOMMENT
LOWpnpm11/pnpm/artifacts/exe/setup.js61if (platform === 'win32') {COMMENT
LOWpnpm11/pnpm/artifacts/exe/scripts/build-artifacts.ts1import fs from 'node:fs'COMMENT
LOWpnpm11/cli/default-reporter/src/liveOutput.ts101 * The text that updates the terminal from the previous view to `view`.COMMENT
LOW…er/src/reporterForClient/reportLockfileVerification.ts61// time is clamped at zero so a clock that moved backwards between theCOMMENT
LOWpnpm11/benchmarks/bench.sh1#!/bin/bashCOMMENT
LOW…config/perfectionist/excessive-cognitive-complexity.js1import { describeFunction, functionHeadLoc, functionName, isChainedTernary, isElseIf, trackMeasuredBodies } from './funcCOMMENT
LOWpnpm11/__utils__/scripts/src/bump.ts1// Applies the pending release plan, then runs the meta-updater to mirror theCOMMENT
LOWpnpm11/__utils__/jest-config/jest.transform.js21 })COMMENT
LOWpnpm11/exec/commands/test/dlx.e2e.ts441 expect(fs.existsSync(path.join(builtPkg2Path, 'generated-by-install.js'))).toBeTruthy()COMMENT
LOWpnpm11/deps/status/src/modifiedAtOrAfter.ts1import type fs from 'node:fs'COMMENT
LOWpnpm11/deps/compliance/sbom/src/license.ts1// Sub-path import to pull only the SPDX module — avoids dragging in theCOMMENT
LOWpnpm11/deps/compliance/audit/src/walkForPaths.ts41 // added when its node is opened and removed when the frame is unwound, so theCOMMENT
LOWpnpm11/deps/compliance/audit/src/dependencyEdges.ts41 appendNamedDepPaths(children, parent.snapshot.dependencies ?? {}, isSkipped)COMMENT
LOW…pm11/deps/inspection/tree-builder/test/getTree.test.ts241 // The "once" package is seen again at depth 1. The "once"COMMENT
LOW…pm11/deps/inspection/tree-builder/test/getTree.test.ts481 }),COMMENT
LOWpnpm11/deps/inspection/outdated/src/outdated.ts301function isEmpty (obj: object): boolean {COMMENT
LOWpnpm11/fs/symlink-dependency/src/safeJoinModulesDir.ts1import fs from 'node:fs'COMMENT
LOW…leasing/commands/test/publish/oidcOrchestrator.test.ts1import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, jest, test } from '@jest/globals'COMMENT
LOWpnpm11/releasing/commands/src/deploy/deploy.ts161 // deployed dir to their original (non-deployed) directory in an attempt toCOMMENT
LOWpnpm11/releasing/commands/src/deploy/deploy.ts181 // foo:COMMENT
2398 more matches not shown…
Hyper-Verbose Identifiers1454 hits · 1472 pts
SeverityFileLineSnippetContext
LOWpnpm11/crypto/object-hasher/src/index.ts44export function hashObjectNullableWithPrefix (object: Record<string, unknown> | undefined): PrefixedHash | undefined {CODE
LOWpnpm11/crypto/shasums-file/src/index.ts34export async function fetchVerifiedNodeShasumsFile (CODE
LOWpnpm11/crypto/shasums-file/src/index.ts60export async function fetchVerifiedNodeShasumsFileCached (CODE
LOWpnpm11/crypto/shasums-file/src/index.ts147export function pickFileChecksumFromShasumsFile (body: string, fileName: string): string {CODE
LOWpnpm11/crypto/shasums-file/src/verifyNodeShasums.ts58export async function fetchVerifiedNodeShasumsWithSignature (CODE
LOWpnpm11/crypto/shasums-file/src/verifyNodeShasums.ts85export async function nodeShasumsSignatureVerifies (CODE
LOWpnpm11/crypto/hash/src/index.ts18export async function createHashFromMultipleFiles (files: string[]): Promise<string> {CODE
LOWpnpm11/registry-access/commands/src/unpublish.ts219function removeVersionsFromPackument (pkg: PackumentResponse, versions: string[]): string[] {CODE
LOWpnpm11/registry-access/commands/src/accessRequest.ts31export function createPackageRequestContext (opts: AccessOptions, packageName: string): PackageRequestContext {CODE
LOWpnpm11/core/error/src/index.ts215export function redactAndSanitizeMultiline (text: string): string {CODE
LOWpnpm11/core/error/src/index.ts229function sanitizeControlCharacters (text: string): string {CODE
LOWpnpm11/cache/api/src/cacheView.ts59function partitionVersionsByStorePresence (CODE
LOW…lling/deps-resolver/test/updateProjectManifest.test.ts407function aliaslessWantedDependency (bareSpecifier: string, optional = false): WantedDependency {CODE
LOW…lling/deps-resolver/test/resolveDependencyTree.test.ts436function createLockfileWithTPinning (): LockfileObject {CODE
LOWpnpm11/installing/deps-resolver/src/resolvedPackage.ts131export function detectNamedRegistryCollision (CODE
LOW…pm11/installing/deps-resolver/src/findStalePeerPins.ts18export function collectDirectDependencySpecs (CODE
LOW…pm11/installing/deps-resolver/src/findStalePeerPins.ts80function isAutoInstalledPeerWithRange (CODE
LOW…m11/installing/deps-resolver/src/dependencyManifest.ts20export function prepareDependencyManifest (pkg: PackageManifest, ctx: DependencyManifestContext): PackageManifest {CODE
LOW…m11/installing/deps-resolver/src/dependencyManifest.ts28function omitPeersFromDependencies (pkg: PackageManifest, ctx: DependencyManifestContext): PackageManifest {CODE
LOW…talling/deps-resolver/src/indexResolvedDependencies.ts24export function collectResolvedDependencies (resolvedDependencies: ResolveDependenciesOfDependency[]): CollectedDependenCODE
LOW…talling/deps-resolver/src/indexResolvedDependencies.ts64export function indexResolvedDependencies (CODE
LOW…talling/deps-resolver/src/indexResolvedDependencies.ts98function addPreferredVersionSelector (CODE
LOW…ng/deps-resolver/src/resolveDependenciesOfImporters.ts22export async function resolveDependenciesOfImporters (CODE
LOW…ng/deps-resolver/src/resolveDependenciesOfImporters.ts43async function resolveDirectDependenciesOfImporter (CODE
LOW…ng/deps-resolver/src/resolveDependenciesOfImporters.ts83async function resolveSubdependenciesOfImporter (CODE
LOW…ng/deps-resolver/src/resolveDependenciesOfImporters.ts137async function resolveDependenciesOfImporterDependency (CODE
LOW…ng/deps-resolver/src/resolveDependenciesOfImporters.ts190function isExplicitDistTagSpecifier (bareSpecifier: string | undefined): boolean {CODE
LOWpnpm11/installing/deps-resolver/src/missingPeers.ts38export function collectMissingRequiredPeers (CODE
LOWpnpm11/installing/deps-resolver/src/missingPeers.ts85function findRequestsOfPeerNotProvidedByParent (CODE
LOWpnpm11/installing/deps-resolver/src/missingPeers.ts109export function filterMissingPeersFromPkgAddresses (CODE
LOW…/installing/deps-resolver/src/linkPathToPeerVersion.ts57function findEndWithoutTrailingPlusesAndDots (out: string): number {CODE
LOW…/installing/deps-resolver/src/resolveDependencyTree.ts384function dedupeSameAliasDirectDeps (directDeps: PkgAddressOrLink[], wantedDependencies: WantedDependency[]): PkgAddressOCODE
LOW…m11/installing/deps-resolver/src/lookUpCatalogEntry.ts24export function getCatalogExistingVersionFromSnapshot (CODE
LOW…11/installing/deps-resolver/src/getCatalogSnapshots.ts37export function addCatalogEntriesOfImporters (CODE
LOW…installing/deps-resolver/src/optionalPeerCandidates.ts45export function createCandidatePeerRangesLookup (CODE
LOW…installing/deps-resolver/src/optionalPeerCandidates.ts58function indexPeerRangesByNameVersion (CODE
LOW…installing/deps-resolver/src/optionalPeerCandidates.ts84export function peersAcceptProvidedVersions (CODE
LOW…pm11/installing/deps-resolver/src/hoistableRootDeps.ts61function isProjectRelativeSpecifier (bareSpecifier: string): boolean {CODE
LOW…pm11/installing/deps-resolver/src/hoistableRootDeps.ts75async function pinProjectRelativeDepToItsVersion (CODE
LOW…pm11/installing/deps-resolver/src/hoistableRootDeps.ts93async function readManifestOfLocalTarget (dir: string): Promise<PackageManifest | null> {CODE
LOW…lling/deps-resolver/src/wantedDepIsLocallyAvailable.ts7export function wantedDepIsLocallyAvailable (CODE
LOW…m11/installing/deps-resolver/src/childrenResolution.ts54function takeOverChildrenResolution (CODE
LOW…m11/installing/deps-resolver/src/childrenResolution.ts87function forwardMissingPeersOfChildren (CODE
LOW…m11/installing/deps-resolver/src/childrenResolution.ts102function canReuseMissingPeersOfChildren (CODE
LOW…m11/installing/deps-resolver/src/childrenResolution.ts121function compareChildrenResolutionOwners (owner1: ChildrenResolutionOwner, owner2: ChildrenResolutionOwner): number {CODE
LOW⚡…m11/installing/deps-resolver/src/childrenResolution.ts132function createMissingPeersOfChildren (): MissingPeersOfChildren {CODE
LOW⚡…m11/installing/deps-resolver/src/childrenResolution.ts141export function isCurrentChildrenResolution (CODE
LOW⚡…m11/installing/deps-resolver/src/childrenResolution.ts149export async function resolveMissingPeersFromCurrentChildrenResolution (CODE
LOW…m11/installing/deps-resolver/src/childrenResolution.ts165export function setDependencyTreeNodeWithCurrentChildren (CODE
LOW…m11/installing/deps-resolver/src/childrenResolution.ts193export function updateChildrenResolutionNodes (CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts119async function hoistRequiredPeersOfImporter (hoisting: PeerHoisting, index: number): Promise<MissingOptionalPeerRanges> CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts139function createImporterPeersHoister (hoisting: PeerHoisting, index: number): (missingRequiredPeers: Array<[string, MissiCODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts162function collectMissingPeersOfImporter (CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts233async function resolveHoistedDependencies (CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts265async function hoistOptionalPeersOfImporters (CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts297async function hoistOptionalPeersOfImporter (CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts341function getHoistedPeersUpdateDepth ({ options, wantedDependencies }: ImporterToResolve): number {CODE
LOW…nstalling/deps-resolver/src/resolveRootDependencies.ts353function getLockedPeerVersionsOfImporter (hoisting: PeerHoisting, index: number): Map<string, Set<string>> {CODE
LOW…pm11/installing/deps-resolver/src/findPeersCacheHit.ts124function parentPkgsHaveSingleOccurrence (parentPkgs: Record<string, ParentPkgInfo>): boolean {CODE
LOW…nstalling/deps-resolver/src/validateDependencyAlias.ts15export function assertValidDependencyAliases (CODE
1394 more matches not shown…
Hallucination Indicators83 hits · 850 pts
SeverityFileLineSnippetContext
CRITICAL…ckage-manager/src/install/run/frozen_local_tarballs.rs128 let workspace_root = settled.projects.workspace.dirs.workspace_root.clone();CODE
CRITICAL…resolving-deps-resolver/src/resolve_dependency_tree.rs581 ctx.options.base.version.preferred_versions_overlay.clone(),CODE
CRITICAL…-deps-resolver/src/resolve_dependency_tree/manifest.rs114 pnpm_fs::lexical_normalize(&ctx.options.base.project.project_dir.join(target))CODE
CRITICAL…-deps-resolver/src/resolve_dependency_tree/manifest.rs334 prefix: ctx.options.base.project.project_dir.display().to_string(),CODE
CRITICAL…-resolver/src/resolve_dependency_tree/reuse/subtree.rs169 if self.ctx.workspace.reuse.dedupe.covers(&name, key.suffix.version_semver())CODE
CRITICAL…-resolver/src/resolve_dependency_tree/reuse/subtree.rs170 || self.ctx.workspace.cache.registry_context.moved_registry(key).is_some()CODE
CRITICAL…r/src/resolve_dependency_tree/reuse/direct_versions.rs345 pick_overlay: ctx.options.base.version.preferred_versions_overlay.clone(),CODE
CRITICAL…src/resolve_dependency_tree/reuse/snapshot_children.rs86 let base_overlay = ctx.options.base.version.preferred_versions_overlay.clone();CODE
CRITICAL…ver/src/resolve_dependency_tree/walk/manifest_hooks.rs12 let Some(hook) = ctx.workspace.hooks.manifests.pnpmfile_hook.as_ref() else {CODE
CRITICAL…lver/src/resolve_dependency_tree/walk/warm_children.rs41 if ctx.workspace.hooks.manifests.pnpmfile_hook.is_some() {CODE
CRITICALpnpm/crates/python-installer/src/manifest/selection.rs80 let explicit = self.tool.pnpm.python.extras.as_ref();CODE
CRITICALpnpm/crates/python-installer/src/manifest/selection.rs99 let explicit = self.tool.pnpm.python.groups.as_ref();CODE
CRITICAL⚡pnpr/crates/config/src/tests/access.rs30 config.identity.auth.htpasswd.file.as_deref(),CODE
CRITICAL⚡pnpr/crates/config/src/tests/access.rs34 assert_eq!(config.identity.auth.tokens.file.as_deref(), Some(Path::new("/etc/pnpr/tokens.db")));CODE
CRITICAL⚡pnpr/crates/config/src/tests/access.rs41 assert!(config.identity.auth.htpasswd.file.is_none());CODE
CRITICAL⚡pnpr/crates/config/src/tests/access.rs42 assert!(config.identity.auth.tokens.file.is_none());CODE
CRITICALpnpr/crates/config/src/tests/access.rs71 config.identity.auth.tokens.file.as_deref(),CODE
CRITICALpnpr/crates/pnpr/src/export.rs178 if let Some(ht_path) = config.identity.auth.htpasswd.file.as_deref().filter(|p| p.exists()) {CODE
CRITICALpnpr/crates/pnpr/src/export.rs182 if let Some(tok_path) = config.identity.auth.tokens.file.as_deref().filter(|p| p.exists()) {CODE
CRITICALpnpr/crates/pnpr/src/cli_commands.rs257 let target = target.or_else(|| config.identity.auth.htpasswd.file.clone());CODE
CRITICALpnpr/crates/pnpr/src/cli_commands.rs360 && config.identity.auth.htpasswd.file.is_none()CODE
CRITICALpnpr/crates/pnpr/src/main.rs136 if config.identity.auth.htpasswd.file.is_some() {CODE
CRITICALpnpr/crates/pnpr/src/main.rs139 if config.identity.auth.tokens.file.is_some() {CODE
CRITICALpnpr/crates/pnpr/src/server/team_rosters.rs81 if let Some(hosted) = state.inner.config.routing.hosted.get(registry) {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs116 match state.inner.identity.auth.tokens.issue_token(&username, new_token).await {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs224 if let Some(hash) = state.inner.identity.auth.users.password_hash(username).await? {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs275 let tokens = match state.inner.identity.auth.tokens.list_for_user(&username).await {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs295 match state.inner.identity.auth.tokens.find_by_key(key).await {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs302 Ok(Some(_)) => match state.inner.identity.auth.tokens.revoke_by_key(key).await {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs343 let target_owner = match state.inner.identity.auth.tokens.lookup(raw_token).await {CODE
CRITICALpnpr/crates/pnpr/src/server/tokens.rs356 match state.inner.identity.auth.tokens.revoke_by_raw(raw_token).await {CODE
CRITICALpnpr/crates/pnpr/src/server/managed_state.rs128 let ecosystem = state.inner.config.routing.registries.ecosystem(registry).unwrap_or_default();CODE
CRITICALpnpr/crates/pnpr/src/server/package_search.rs227 let Some(config) = state.inner.config.routing.upstreams.get(search.source) else {CODE
CRITICALpnpr/crates/pnpr/src/server/package_search.rs270 let Some(hosted) = state.inner.config.routing.hosted.get(source) else {CODE
CRITICALpnpr/crates/pnpr/src/server/user_admin.rs58 let names = state.inner.identity.auth.users.list_users().await?;CODE
CRITICALpnpr/crates/pnpr/src/server/user_admin.rs112 let removed = state.inner.identity.auth.users.delete_user(&path.user).await?;CODE
CRITICALpnpr/crates/pnpr/src/server/user_admin.rs148 let tokens = state.inner.identity.auth.tokens.list_for_user(&path.user).await?;CODE
CRITICALpnpr/crates/pnpr/src/server/request_access.rs20 let Some(config) = state.inner.config.routing.upstreams.get(upstream) else {CODE
CRITICALpnpr/crates/pnpr/src/server/request_access.rs41 state.inner.config.routing.upstreams.get(source).map(|config| config.url.as_str())CODE
CRITICALpnpr/crates/pnpr/src/server/request_access.rs148 _ => identify(authorization, state.inner.identity.auth.tokens.as_ref()).await?,CODE
CRITICALpnpr/crates/pnpr/src/server/package_reads.rs172 state.inner.config.routing.registries.default_for(ecosystem).map(str::to_string)CODE
CRITICALpnpr/crates/pnpr/src/server/package_reads.rs192 match state.inner.config.routing.registries.resolve(registry, ecosystem, package) {CODE
CRITICALpnpr/crates/pnpr/src/server/package_reads.rs375 let Some(hosted) = state.inner.config.routing.hosted.get(source) else {CODE
CRITICALpnpr/crates/pnpr/src/server/package_reads.rs432 let max_age = state.inner.config.http.packument_ttl.as_secs();CODE
CRITICALpnpr/crates/pnpr/src/server/rule_overrides.rs96 let Some(base) = state.inner.identity.managed.rule_bases.get(registry) else {CODE
CRITICALpnpr/crates/pnpr/src/server/rule_overrides.rs161 state.inner.config.routing.registries.ecosystem(registry).unwrap_or_default();CODE
CRITICALpnpr/crates/pnpr/src/server/rule_overrides.rs208 if let Some(hosted) = state.inner.config.routing.hosted.get(registry) {CODE
CRITICALpnpr/crates/pnpr/src/server/rule_overrides.rs252 let ecosystem = state.inner.config.routing.registries.ecosystem(registry).unwrap_or_default();CODE
CRITICALpnpr/crates/pnpr/src/server/pypi.rs165 let Some(hosted) = state.inner.config.routing.hosted.get(&source) else { continue };CODE
CRITICALpnpr/crates/pnpr/src/server/ecosystem.rs37 state.inner.config.routing.registries.addressed(name, ecosystem).map(str::to_string)CODE
CRITICALpnpr/crates/pnpr/src/server/ecosystem.rs61 let public_url = state.inner.config.http.public_url.trim_end_matches('/');CODE
CRITICALpnpr/crates/pnpr/src/server/organizations.rs75 let Some(hosted) = state.inner.config.routing.hosted.get(scan.source) else {CODE
CRITICALpnpr/crates/pnpr/src/server/organizations.rs120 let Some(config) = state.inner.config.routing.upstreams.get(scan.source) else {CODE
CRITICALpnpr/crates/pnpr/src/server/organizations.rs199 let Some((name, hosted)) = state.inner.config.routing.hosted.get_key_value(&source) else {CODE
CRITICALpnpr/crates/pnpr/src/server/authentication.rs281 if let Some(record) = state.inner.identity.auth.tokens.lookup_record(&raw_token).await? {CODE
CRITICALpnpr/crates/pnpr/src/server/authentication.rs332 state.inner.config.routing.hosted.get(name).map(|hosted| &hosted.rules)CODE
CRITICALpnpr/crates/pnpr/src/server/authentication.rs335 state.inner.config.routing.upstreams.get(name).map(|upstream| &upstream.rules)CODE
CRITICALpnpr/crates/pnpr/src/server/authentication.rs391 if state.inner.config.identity.admins.contains(username) {CODE
CRITICALpnpr/crates/pnpr/src/server/routing.rs228 if state.inner.config.identity.auth.scim.is_some() {CODE
CRITICALpnpr/crates/pnpr/src/server/lifecycle.rs120 let Some(listen) = state.inner.config.http.metrics.as_ref().and_then(|metrics| metrics.listen)CODE
23 more matches not shown…
Fake / Example Data99 hits · 102 pts
SeverityFileLineSnippetContext
LOW…alling/deps-installer/test/install/lifecycleScripts.ts1237 tool: { content: '#!/usr/bin/env node\nconsole.log("placeholder")\n', mode: 0o755 },CODE
LOW…lling/deps-installer/test/install/packageExtensions.ts615 fs.writeFileSync(tarballPath, createTarGz([{ name: 'package/README.md', content: 'placeholder' }]))CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts80 email: 'foo@bar.com',CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts138 email: 'foo@bar.com',CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts230 email: 'foo@bar.com',CODE
LOWpnpm11/installing/deps-installer/test/install/auth.ts256 email: 'foo@bar.com',CODE
LOW⚡pnpm11/config/reader/test/env.test.ts122 HOME: '/home/fake-user',CODE
LOW⚡pnpm11/config/reader/test/env.test.ts123 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOW⚡pnpm11/config/reader/test/env.test.ts130 bar: path.join('/home/fake-user', 'abc/def/ghi'),CODE
LOW⚡pnpm11/config/reader/test/env.test.ts131 baz: path.join('/home/fake-user', 'abc\\def\\ghi'),CODE
LOWpnpm11/config/reader/test/env.test.ts31 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts32 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts46 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts47 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts61 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts62 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts76 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts77 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts91 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts92 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts148 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts149 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts165 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts166 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts185 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts186 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/env.test.ts205 HOME: '/home/fake-user',CODE
LOWpnpm11/config/reader/test/env.test.ts206 PATH: '/bin:/usr/bin:/usr/local/bin:/home/fake-user/.bin:/home/fake-user/share/local/bin',CODE
LOWpnpm11/config/reader/test/index.ts5266test.each([undefined, '', 'dummy-token'])('expanded .npmrc auth key warning for %p', async (token) => {CODE
LOWpnpm11/__fixtures__/has-outdated-deps/pnpm-lock.yaml26 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/__fixtures__/has-outdated-deps/pnpm-lock.yaml26 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…1/__fixtures__/has-only-deprecated-deps/pnpm-lock.yaml16 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOW…1/__fixtures__/has-only-deprecated-deps/pnpm-lock.yaml16 deprecated: This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts90 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts106 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts109 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts126 email: 'user@example.com',CODE
LOWpnpm11/resolving/npm-resolver/test/trustChecks.test.ts129 email: 'user@example.com',CODE
LOWpnpm11/bins/linker/test/refreshPlan.ts19 fs.writeFileSync(path.join(pkgRoot, 'cli.js'), '#!/usr/bin/env node\nconsole.log("placeholder")\n', { mode: 0o755 })CODE
LOWpnpm11/network/git-utils/test/index.test.ts45 await execa('git', ['config', 'user.email', 'test@test.com'], { cwd: tempDir })CODE
LOWpnpm11/network/git-utils/test/index.test.ts71 await git('config', 'user.email', 'test@test.com')CODE
LOWpnpm11/pnpm/artifacts/exe/test/setup.test.ts209 fs.writeFileSync(path.join(fixtureDir, name), 'placeholder')CODE
LOWpnpm11/pnpm/test/dlx.ts429 email: 'foo@bar.com',CODE
LOWpnpm11/pnpm/test/getConfig.test.ts56test.each([undefined, '', 'dummy-token'])('emit trusted auth environment warnings for %p', async (token) => {CODE
LOWpnpm11/pnpm/test/getConfig.test.ts69 expect(console.warn).not.toHaveBeenCalledWith(expect.stringContaining('dummy-token'))CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts27 author: 'Jane Doe',CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts153 sbomAuthors: ['Jane Doe', 'John Smith'],CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts157 expect(parsed.metadata.authors).toEqual([{ name: 'Jane Doe' }, { name: 'John Smith' }])CODE
LOW…1/deps/compliance/sbom/test/serializeCycloneDx.test.ts299 expect(parsed.components[0].authors).toEqual([{ name: 'Jane Doe' }])CODE
LOWpnpm11/deps/compliance/sbom/test/getPkgMetadata.test.ts174 expect(authorNameFromField('Jane Doe')).toBe('Jane Doe')CODE
LOWpnpm11/deps/compliance/sbom/test/getPkgMetadata.test.ts175 expect(authorNameFromField({ name: 'Jane Doe', email: 'jane@example.com' })).toBe('Jane Doe')CODE
LOWpnpm11/deps/compliance/commands/test/sbom/index.ts109 setManifestAuthor(path.join(workspaceDir, 'package.json'), 'Jane Doe')CODE
LOWpnpm11/deps/compliance/commands/test/sbom/index.ts111 expect(namedCycloneDx.metadata.component.authors).toStrictEqual([{ name: 'Jane Doe' }])CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts64│ @pnpm.e2e/deprecated │ 1.0.0 │ Deprecated │ This package is deprecated. Lorem ipsum │CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts65│ │ │ │ dolor sit amet, consectetur adipiscing │CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts184This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts184This package is deprecated. Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts535│ @pnpm.e2e/deprecated │ 1.0.0 │ Deprecated │ This package is deprecated. Lorem ipsum │CODE
LOWpnpm11/deps/inspection/commands/test/outdated/index.ts536│ │ │ │ dolor sit amet, consectetur adipiscing │CODE
LOWpnpm11/building/commands/test/rebuildGraph.ts53 fs.writeFileSync(path.join(pkgRoot, 'tool'), '#!/usr/bin/env node\nconsole.log("placeholder")\n', { mode: 0o755 })CODE
39 more matches not shown…
Modern AI Meta-Vocabulary32 hits · 100 pts
SeverityFileLineSnippetContext
MEDIUMpnpm11/__fixtures__/pnpm-workspace.yaml27# policy for fixture installs — they're test scaffolding, not a realCOMMENT
MEDIUMpnpm11/benchmarks/bench.sh9# as before; the orchestration logic is shared with the pacquet bench.COMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/README.md53# Iterate without re-scaffoldingCOMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/src/stacks.rs3/// `scaffold` generates the project on disk *without* installingCOMMENT
MEDIUMpnpm/tasks/ecosystem-e2e/src/main.rs112/// A failed scaffold dooms every cell of this stack; they are all recordedCOMMENT
MEDIUMpnpm/crates/config/src/settings.rs1624 /// `pnpm init` writes, replacing the `ISC` the scaffold carries.COMMENT
MEDIUMpnpm/crates/config/src/settings.rs1628 /// `pnpm init` writes, replacing the `1.0.0` the scaffold carries.COMMENT
MEDIUM…pm/crates/package-manager/src/install/modules_state.rs253/// or one added or removed. Placeholder entries the approval scaffoldCOMMENT
MEDIUM…manager/src/install/lifecycle/project_script_runner.rs143/// standalone project whose scaffold manifest exists only in memoryCOMMENT
MEDIUM…manager/src/install/lifecycle/project_script_runner.rs145/// `node-gyp rebuild` its `binding.gyp` calls for. Write the scaffoldCOMMENT
MEDIUM…anager/src/install/apply_materialization/completion.rs165 // A global install is exempt from the scaffold below: its root is aCOMMENT
MEDIUMpnpm/crates/cli/tests/suite/run.rs702 // directory would scaffold one before doing anything else.COMMENT
MEDIUMpnpm/crates/cli/tests/suite/workspace_install.rs1171/// root `package.json`, and installing must not scaffold one — pnpm neverCOMMENT
MEDIUMpnpm/crates/cli/tests/suite/init.rs369/// Nothing set leaves the scaffold's own placeholders in place, includingCOMMENT
MEDIUMpnpm/crates/cli/tests/suite/init.rs370/// the empty `author` field npm's scaffold carries.COMMENT
MEDIUMpnpm/crates/cli/tests/suite/approve_builds.rs959/// must not write the `allowBuilds` scaffold into one, even on a terminal.COMMENT
MEDIUMpnpm/crates/cli/src/state.rs250/// scaffold stays in memory until a command that writes the manifestCOMMENT
MEDIUMpnpm/crates/cli/src/cli_args/rebuild.rs191/// whose manifest may still be the in-memory scaffold of a project thatCOMMENT
MEDIUMpnpm/crates/cli/src/cli_args/init.rs9/// and a scaffold command that appears to hang is worse than one that pinsCOMMENT
MEDIUM…pm/crates/workspace-manifest-writer/src/tests/files.rs14/// Every install that keeps ignoring the same build re-runs the scaffold;COMMENT
MEDIUMpnpm/crates/package-manifest/src/serialization.rs264 /// The manifest at `path`, or the scaffold [`Self::create_if_needed`]COMMENT
MEDIUMpnpm/crates/package-manifest/src/serialization.rs265 /// would write there. The scaffold stays in memory until the callerCOMMENT
MEDIUMpnpm/crates/package-manifest/src/serialization.rs280 // Read the scaffold back rather than assembling the manifest byCOMMENT
MEDIUMpnpm/crates/package-manifest/src/initialization.rs4/// every scaffold carries.COMMENT
MEDIUM⚡pnpm/crates/package-manifest/src/initialization.rs20 /// set renders empty, and the scaffold's empty `author` stands.COMMENT
MEDIUM⚡pnpm/crates/package-manifest/src/initialization.rs23 /// The `license` the scaffold records instead of its `ISC` default.COMMENT
MEDIUM⚡pnpm/crates/package-manifest/src/initialization.rs27 /// The `version` the scaffold records instead of its `1.0.0` default.COMMENT
MEDIUMpnpm/crates/package-manifest/src/initialization.rs86 // The `init*` settings overwrite the scaffold's placeholders inCOMMENT
MEDIUMpnpm/crates/package-manifest/src/initialization.rs87 // place, so the key order the scaffold fixes is preserved.COMMENT
MEDIUMpnpm/crates/package-manifest/src/initialization.rs101 /// The scaffold manifest `pnpm init` (and [`Self::create_if_needed`])COMMENT
MEDIUMpnpm/crates/package-manifest/src/tests/behavior.rs45/// The scaffold `pnpm add` writes when there is no manifest yet carries noCOMMENT
MEDIUMpnpm/docs/cli/tasks.md28Lists the running (active holders) and waiting tasks across [concurrency groups](../workspace-task-orchestration.md#concCODE
Verbosity Indicators28 hits · 56 pts
SeverityFileLineSnippetContext
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts391 // Step 2: Reinstall with allowBuilds changed (simulating what approve-builds does)COMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts399 // Step 3: Verify the hash changed and build artifacts are in the new directoryCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts589 // Step 2: Simulate a previous build failure by removing the GVS hash directoryCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts593 // Step 3: Remove node_modules and reinstall with frozenLockfileCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts636 // Step 2: Simulate a crash between import and build — write a .pnpm-needs-buildCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts646 // Step 3: Reinstall — the GVS fast path should detect the .pnpm-needs-buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts291 // Step 1: Install with no packages allowed to build (engine-agnostic hashes)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts305 // Step 2: Reinstall with dep allowed to build — hashes should changeCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts376 // Step 1: Install with builds NOT approved (simulating first `pnpm install`)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts575 // Step 1: Successful install with buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts619 // Step 1: Install with buildCOMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts726 // Step 1: install without override — auto-installs peer-c@1.0.1COMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts739 // Step 2: reinstall with override narrowing peer-c to 1.0.0COMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts30 // Step 1: populate a lockfile under no policy. The resolver picksCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts37 // Step 2: turn on minimumReleaseAge in strict mode. The lockfile is nowCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts81 // Step 1: populate the lockfile with no policy. is-positive@1.0.0COMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts88 // Step 2: turn the policy on. The post-resolution gate now runsCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts113 // Step 3: another install with the same lockfile + policy. The cacheCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts368 // Step 1: install with the full exclude list — verifier writes aCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts377 // Step 2: drop `is-odd` from the exclude list. The cached recordCOMMENT
LOW⚡pnpm11/pnpm/test/install/globalVirtualStore.ts106 // Step 1: Install with GVS, builds NOT approvedCOMMENT
LOW⚡pnpm11/pnpm/test/install/globalVirtualStore.ts116 // Step 2: approve-builds — updates config then runs install in GVS modeCOMMENT
LOW⚡pnpm11/pnpm/test/install/globalVirtualStore.ts119 // Step 3: Verify GVS hash changed (new engine-specific directory)COMMENT
LOW⚡pnpm11/pnpm/test/install/misc.ts739 // Step 1: install with trust policy off. The resolver picks up theCOMMENT
LOW⚡pnpm11/pnpm/test/install/misc.ts747 // Step 2: turn the policy on. The resolver wouldn't be invoked underCOMMENT
LOW⚡pnpm/crates/network/src/tls.rs248 // Step 1: exact URL.COMMENT
LOW⚡pnpm/crates/network/src/tls.rs252 // Step 2: nerf-darted URL.COMMENT
LOWpnpm/crates/network/src/tls.rs274 /// Step 4: walk progressively shorter prefixes of the nerf-darted form.COMMENT
Structural Annotation Overuse28 hits · 56 pts
SeverityFileLineSnippetContext
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts391 // Step 2: Reinstall with allowBuilds changed (simulating what approve-builds does)COMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts399 // Step 3: Verify the hash changed and build artifacts are in the new directoryCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts589 // Step 2: Simulate a previous build failure by removing the GVS hash directoryCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts593 // Step 3: Remove node_modules and reinstall with frozenLockfileCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts636 // Step 2: Simulate a crash between import and build — write a .pnpm-needs-buildCOMMENT
LOW⚡…ling/deps-installer/test/install/globalVirtualStore.ts646 // Step 3: Reinstall — the GVS fast path should detect the .pnpm-needs-buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts291 // Step 1: Install with no packages allowed to build (engine-agnostic hashes)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts305 // Step 2: Reinstall with dep allowed to build — hashes should changeCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts376 // Step 1: Install with builds NOT approved (simulating first `pnpm install`)COMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts575 // Step 1: Successful install with buildCOMMENT
LOW…ling/deps-installer/test/install/globalVirtualStore.ts619 // Step 1: Install with buildCOMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts726 // Step 1: install without override — auto-installs peer-c@1.0.1COMMENT
LOW…alling/deps-installer/test/install/autoInstallPeers.ts739 // Step 2: reinstall with override narrowing peer-c to 1.0.0COMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts30 // Step 1: populate a lockfile under no policy. The resolver picksCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts37 // Step 2: turn on minimumReleaseAge in strict mode. The lockfile is nowCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts81 // Step 1: populate the lockfile with no policy. is-positive@1.0.0COMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts88 // Step 2: turn the policy on. The post-resolution gate now runsCOMMENT
LOWpnpm11/pnpm/test/install/minimumReleaseAge.ts113 // Step 3: another install with the same lockfile + policy. The cacheCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts368 // Step 1: install with the full exclude list — verifier writes aCOMMENT
LOW⚡pnpm11/pnpm/test/install/minimumReleaseAge.ts377 // Step 2: drop `is-odd` from the exclude list. The cached recordCOMMENT
LOW⚡pnpm11/pnpm/test/install/globalVirtualStore.ts106 // Step 1: Install with GVS, builds NOT approvedCOMMENT
LOW⚡pnpm11/pnpm/test/install/globalVirtualStore.ts116 // Step 2: approve-builds — updates config then runs install in GVS modeCOMMENT
LOW⚡pnpm11/pnpm/test/install/globalVirtualStore.ts119 // Step 3: Verify GVS hash changed (new engine-specific directory)COMMENT
LOW⚡pnpm11/pnpm/test/install/misc.ts739 // Step 1: install with trust policy off. The resolver picks up theCOMMENT
LOW⚡pnpm11/pnpm/test/install/misc.ts747 // Step 2: turn the policy on. The resolver wouldn't be invoked underCOMMENT
LOW⚡pnpm/crates/network/src/tls.rs248 // Step 1: exact URL.COMMENT
LOW⚡pnpm/crates/network/src/tls.rs252 // Step 2: nerf-darted URL.COMMENT
LOWpnpm/crates/network/src/tls.rs274 /// Step 4: walk progressively shorter prefixes of the nerf-darted form.COMMENT
Cross-Language Confusion (JS/TS)6 hits · 40 pts
SeverityFileLineSnippetContext
HIGHpnpm11/bins/cmd-shim/src/generateShShim.ts200 elif command -v cygpath > /dev/null 2>&1; thenCODE
HIGHpnpm11/bins/cmd-shim/src/generateShShim.ts210 elif command -v wslpath > /dev/null 2>&1; thenCODE
HIGH⚡pnpm11/bins/cmd-shim/src/generateShShim.ts317elif [ -x ${shLongProg} ]; thenCODE
HIGH⚡pnpm11/bins/cmd-shim/src/generateShShim.ts319elif [ -n "$msys" ] && command -v ${shProg} >/dev/null 2>&1; thenCODE
HIGH⚡pnpm11/bins/cmd-shim/src/generateShShim.ts321elif command -v ${shProg} >/dev/null 2>&1; thenCODE
HIGH⚡pnpm11/bins/cmd-shim/src/generateShShim.ts323elif [ -n "$exe" ] && command -v ${shProgExe} >/dev/null 2>&1; thenCODE
Decorative Section Separators9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMpnpm11/pnpm/bundle-deps.ts38// │ ├── node_modules ──────────────┐COMMENT
MEDIUMpnpm11/pnpm/bundle-deps.ts46// │ ├── node_modules <────────────┘COMMENT
MEDIUMpnpm/crates/config/src/version_policy/tests.rs86// ─── create_package_version_policy ────────────────────────────────────COMMENT
MEDIUMpnpm/crates/cli/src/cli_args/owner/tests.rs101// ── owner ls HTTP-flow tests ──────────────────────────────────────────COMMENT
MEDIUMpnpm/crates/cli/src/cli_args/owner/tests.rs372// ── owner add HTTP-flow tests ─────────────────────────────────────────COMMENT
MEDIUMpnpm/crates/cli/src/cli_args/owner/tests.rs508// ── owner rm HTTP-flow tests ──────────────────────────────────────────COMMENT
MEDIUMpnpm/crates/cli/src/cli_args/owner/tests.rs631// ── default subcommand (no subcommand → ls) ──────────────────────────COMMENT
MEDIUMpnpm/crates/cli/src/cli_args/owner/tests.rs653// ── --registry override ──────────────────────────────────────────────COMMENT
MEDIUMpnpm/crates/cli/src/cli_args/owner/tests.rs711// ── normalize_registry_url ───────────────────────────────────────────COMMENT
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/test.yml107 # The test harness serves package fixtures through the in-repo `pnpr`COMMENT
MEDIUM.github/workflows/pacquet-integrated-benchmark.yml468 # the harness asserts pnpr@HEAD is not slower than pacquet@HEADCOMMENT
MEDIUM.github/workflows/pacquet-integrated-benchmark.yml566 # The cross-engine ratio assertion inside the harness is a gate, not aCOMMENT
MEDIUM.github/workflows/pacquet-integrated-benchmark.yml576 # hyperfine exports both reports before the harness asserts, so aCOMMENT
MEDIUM.github/workflows/pacquet-integrated-benchmark.yml643 # The harness pre-warms the shared store per target beforeCOMMENT
MEDIUM.github/workflows/ecosystem-e2e.yml29 # Compile pacquet, the harness, and the pnpm bundle once, then share themCOMMENT
MEDIUM.github/workflows/ecosystem-e2e.yml93 # pin, which the harness passes to every subprocess through PATH.COMMENT
MEDIUM.github/workflows/ecosystem-e2e.yml109 # The harness takes a single executable for --pnpm; the launcher is aCOMMENT
MEDIUM.github/workflows/ecosystem-e2e.yml142 # The harness mounts the committed `pnpm11/pnpm/package.json` and `bin/`COMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHpnpm11/installing/deps-installer/test/catalogs.ts1038 // Double check the correct version of is-positive as requested from theCOMMENT
HIGHpnpm11/installing/deps-installer/test/catalogs.ts1106 // Double check the correct version of is-positive as requested from theCOMMENT
HIGHpnpm/crates/package-manager/src/update/rewrite.rs219/// range names no version to pin and is written as requested. A `runtime:`COMMENT
Self-Referential Comments3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…s/integrated-benchmark/src/work_env/cargo_workspace.rs116 "# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\n\CODE
MEDIUMpnpm/crates/lockfile-import/src/yarn/tests.rs84 r#"# This file is generated by running "yarn install" inside your project.CODE
MEDIUMpnpm/crates/cli/tests/suite/import.rs139const YARN_BERRY_LOCKFILE: &str = r#"# This file is generated by running "yarn install" inside your project.CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpnpm11/__utils__/scripts/terminal.py34except ProcessLookupError:CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpnpm11/installing/deps-installer/test/install/misc.ts1054 // TODO: implementCOMMENT
LOWpnpm11/store/controller/src/storeController/prune.ts194 // TODO: implement prune of Node.js packages, they don't have a package.json fileCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/pacquet-micro-benchmark.yml122 # Check if the event is not triggered by a forkCOMMENT
LOW.github/workflows/pacquet-micro-benchmark.yml132 # Check if the event is not triggered by a forkCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…s/skills/pull-requests/scripts/resolve-pr-conflicts.sh4# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpnpm/npm/get-pnpm/test/install.test.ts182function handleRequest (req: http.IncomingMessage, res: http.ServerResponse, tarballs: Tarballs): void {CODE