Browse documentation

Shared service catalog and passive detection

On this page 17 sections

Search a project with npx

After installing the preview package, run npx @notabenda/core discover --project . --out-dir ./service-review. The scanner searches supported npm dependencies, JavaScript/TypeScript imports, Python package declarations, Go requirements/imports, Composer manifests/locks, Cargo manifests, NuGet project/central/legacy declarations and Terraform names against the same product identifiers used by setup and the service directory. It does not execute project code, install dependencies, send requests or infer production use. Review its private output, then explicitly select confirmed services in setup. A dependency can be unused, development-only or a self-hosted integration; unsupported languages and dynamic configuration can be missed.

For a single interactive workflow, run npx @notabenda/core wizard --project . --out-dir ./setup-review. After purpose authoring, detected candidates open the same explicit actual-use review as catalog search. Noninteractive --answers runs save the scan without selecting services. An optional --catalog FILE selects the scanner/search reference; the default seed remains lazy unless requested. Findings stay in a separate ignored discovery.private.json, and existing reviewed pins do not refresh from a new scan. See guided setup.

Requirements: REQ-PRODUCT-SERVICE-CATALOG, REQ-PRODUCT-SERVICE-DETECTION. Search providers or inspect discovery candidates, confirm the actual site use, and add selected services to configuration. Setup retains the selected reference facts and private notes. Explicit selected-reference release archival is available; see feature status for coverage.

A versioned catalog should connect service selection, discovery, disclosures and operator review. A site selects and confirms its own use of a service; the catalog supplies reusable facts and technical recognition rules. It covers hosting, identity, payments, support, media and other recipients as well as analytics and advertising.

Implemented preview APIs

Install the locally packed developer-preview package first; it is not published on npm yet. These commands then use that installed package:

npx @notabenda/core catalog search email --delivery backend
npx @notabenda/core catalog search stripe --json
npx @notabenda/core discover --project .
npx @notabenda/core discover --project . --out-dir ./service-review

From this repository after npm run build, use node packages/notabenda/dist/cli.js in place of npx @notabenda/core. --catalog FILE selects a custom version-1 JSON catalog for either command. Catalog search accepts --delivery browser|backend|infrastructure and --limit 1–100; project scan deliberately rejects browser capture/config flags. No site config is needed for reference search or static scanning.

The seed has 368 provider identities and 409 product/reference entries, including 39 original backend/provider references, ten additional browser-product references and 2,278 imported storage hints. The imported names are reference labels, not verified legal entities. Identity-only homepage references have access: reference-only and checkedOn: null. Retrieved SDK documentation and product-profile references carry their own checked dates and access: read; reading a technical reference does not verify provider practices. Upstream cookie categories and retention are reported hints, not site configuration defaults.

import {
  normalizeServiceCatalog, searchServiceCatalog, createCatalogServiceDraft,
} from '@notabenda/core/catalog';
import {serviceCatalogSeed} from '@notabenda/core/catalog/seed';

const catalog = normalizeServiceCatalog(serviceCatalogSeed);
const candidates = searchServiceCatalog(catalog, 'stripe', {delivery: 'backend'});
const draft = createCatalogServiceDraft(catalog, 'stripe-payments', {
  id: 'payments', purposeIds: ['checkout'], location: 'Your selected deployment',
});
// Review actual provider entity, purposes, settings, location and privacy link.
// draft.service is ordinary inventory data; draft.catalogSelection is a separate
// detached snapshot for your review/export. Neither is written or activated.

@notabenda/core/catalog/project exports the Node-only scanProjectServices(directory, catalog) API. The optional seed is absent from normal consent graphs. The published schema is available at @notabenda/core/catalog/schema.json and /schemas/service-catalog-v1.json. Cross-reference/identity and resource checks additionally run in the normalizer.

Static scan recognizes declared npm dependencies, JavaScript/TypeScript module imports, Python requirements/imports and standard pyproject.toml dependency tables, Go requirements/imports, Composer requirements/lock observations, Cargo dependency declarations, NuGet project/central/legacy declarations and Terraform resource/data names. It distinguishes development dependencies, Python optional/group/build requirements, Go indirect requirements, test-file imports and Composer lock observations. Generic drivers, self-hosted software, commented imports and unused dependencies remain candidates. It does not establish deployed services. Docker identifier matching is available for custom catalog rules; the current seed has no reviewed Docker signatures. Optional browser path/global/combined signatures are described in the discovery guide; additional language/config-file detectors remain planned.

Git projects use Git's ignored-file selection with filesystem monitoring disabled; failure to obtain that selection does not fall back to scanning ignored files in an identifiable repository. Non-Git projects use documented built-in skips. The scan excludes secret-named files (including Composer’s auth.json), symlinks, dependency/generated directories and unsupported extensions. Limits are 5,000 selected files, 256 KiB per file, 32 MiB total read data and 20,000 distinct identifier tokens, with explicit limited coverage. It stores matched file/rule/known identifier references, never source snippets, dependency values, credentials or project execution results. Output paths and identifiers can still reveal private structure.

--out-dir requires a new directory and writes a private review JSON, text and .gitignore. Scanning does not execute project modules, SDKs, installers or network probes. It leaves configuration unchanged, keeps findings local and leaves CI policy to the adopter. An explicit build finalizer can bind current selected-reference facts to an immutable release; private reasons remain separate. See verification.

The service directory guide covers the shared native/React/Astro renderers, local search, themes and retained-inventory views. A reviewed draft.service can be added explicitly to the site configuration; the directory never imports or publishes the reference seed.

The setup guide covers purpose authoring and the CLI/admin selection flow. A fresh setup can declare actual processing purposes before selecting services, with unresolved basis/retention text retained as production-blocking draft placeholders. @notabenda/core/catalog/selection exports explicit draft selection and private pin validation; @notabenda/core/catalog/ui supplies the optional local picker. Use the explicit release finalizer below to retain selected references with policies.

PHP / Composer projects

Use the same local command; no PHP or Composer installation is needed:

npx @notabenda/core discover --project . --out-dir ./discovery-review
File/field Evidence context What to check
composer.json → require dependency Does deployed application code use this package and contact a service?
composer.json → require-dev development-dependency Does it run only during development, or also in builds/tests?
composer.lock → packages locked-dependency Is the lock current, and which direct or transitive package brings this in?
composer.lock → packages-dev locked-development-dependency Is the package installed in the environment being reviewed?

The seed recognizes aws/aws-sdk-php, stripe/stripe-php, sentry/sentry, twilio/sdk, sendgrid/sendgrid, google/cloud-storage and mongodb/mongodb. Each exact signature links to its official technical reference in the catalog. A database client can use self-hosted infrastructure; an SDK can be unused or point at an emulator. None establishes a contractual provider, destination, data category or legal basis.

Only declared package names are matched. Project identity, suggestions, conflicts, autoload paths, descriptions, scripts and nested lock-package requirements are not dependency findings. PHP/platform requirements are not service identities. Custom catalogs can use ecosystem: 'composer' with an exact lowercase vendor/package or a vendor-only prefix ending in /.

Lock observations remain separate even without a neighboring manifest. The scanner does not compare content hashes, resolve versions, establish directness, inspect vendor, or verify installed code. A stale lock can still produce candidates. Root manifest repositories, replace and provide declarations mark coverage limited; their URLs, paths and replacement claims are not followed. No PHP, Composer plugin, script, autoloader, installer or network request is executed.

Malformed fields, duplicate decoded JSON keys and parser limits produce limited coverage. Files retain the shared 256 KiB cap; JSON nesting is bounded at 32, object keys and extracted entries at 10,000 per file. Large lockfiles may therefore be skipped. The private report omits constraints, versions, hashes, repository URLs, credentials, package metadata and source text. Composer’s auth.json is excluded from reads. File paths and matched identifiers remain private project information; review the report before sharing.

The format follows Composer’s manifest schema, lock schema and basic dependency workflow, checked 22 October 2026 UTC. See Composer discovery verification for the test boundary. Other PHP configuration and source discovery remain open.

Python projects

Run the same private scan from the project directory:

npx @notabenda/core discover --project . --out-dir ./discovery-review

The scanner reads these standard pyproject.toml declarations through a bundled TOML parser:

Table/field Evidence context How to review it
project.dependencies dependency Check whether the application actually uses the provider.
project.optional-dependencies optional-dependency Check which extras are installed. A declared extra may be unused.
dependency-groups dependency-group Check the selected deployment or development groups. The group name alone does not decide its role.
build-system.requires build-dependency Review build tooling separately from visitor/application processing.

Named requirements with extras, version constraints, markers or direct URLs can produce candidates. Only the known catalog identifier and context enter evidence; those other values and the names of extras/groups are omitted. This is not a complete requirement-syntax validator or environment resolver. It does not evaluate markers, install extras, run a build backend, follow a URL/path or infer deployment from a lockfile.

Every dependency group is scanned once. Includes are checked for missing targets, cycles, normalized-name collisions and bounds; they never expand into repeated work. Malformed TOML/fields and unresolved dynamic dependencies report limited coverage. Poetry/PDM dependency tables and uv source/workspace overrides also make coverage limited; these tool-specific environments are not resolved. Standard named candidates can still be reported for review.

File selection, secret/symlink exclusions and private output permissions are shared with the other project scanners. The parser stays in the Node scanner, outside ordinary visitor bundles. Its pinned BSD-3-Clause license is included in the package. See the PyPA project specification, dependency groups and dependency specifiers, checked 22 October 2026 UTC.

Design direction

The sections below describe the broader catalog workflow; the preview above implements its first building blocks.

The shared model

Layer Information Ownership
Provider Stable ID, public name, official website, policy/documentation links, aliases Catalog facts with sources
Product/service Stable ID, provider reference, short original description, product variants, documented capabilities and possible data/storage patterns Versioned catalog entry
Site use Selected product/version/profile, actual purpose IDs, configured processing activities, relevant provider entity/role, destinations, data categories, retention and settings Explicit operator declaration
Recognition rule Stable rule/revision, required observations, match strength, explanation, positive and negative fixtures Reviewed catalog data or separately trusted detector code
Observation Rule/catalog revision, scenario/time, observed signal kind, coverage and omitted/ambiguous signals Private discovery evidence, subject to review
Released disclosure Reviewed, resolved public service facts and rendered output Immutable site release and existing history

Keep a provider's products distinct. Finding a shared provider domain does not identify every product that could use it. A product's capabilities do not establish which features, purposes, retention periods or contractual entity apply to this installation. Service references must coexist with entirely custom services and operator overrides.

Use a published, versioned JSON schema; maintainer-friendly YAML may compile into it. Give individual claims source URLs, checked dates and review/unknown status. Keep catalog entry IDs stable through renames and preserve aliases, deprecations and replacement information. Record origin and license/attribution for imported data. Localized original descriptions can be added without copying policy text.

Recognition rules

Support a bounded declarative rule language first:

More complex detectors can be host-installed, reviewed modules operating on a bounded observation interface. Catalog JSON must never carry arbitrary JavaScript for evaluation. Any advanced executable/regex extension needs enforceable isolation, termination and resource limits; an asynchronous timeout cannot interrupt a synchronous main-thread loop. A detector must not load a vendor, initialize an SDK, create tracking storage, or make probe requests to see whether the service exists.

Distinguish references/configuration, attempted resources and observed storage. An inert script reference is not a loaded SDK; a buffered resource entry does not prove delivery; an old cookie does not prove current execution. Preserve conflicting candidates instead of forcing one label. A CDN, tag manager or common cookie name alone is weak evidence. First-party proxies, self-hosting, CNAMEs, server-only services and unavailable browser APIs need explicit limits and manual declaration.

Useful first rules include common analytics loaders, tag managers, video embeds, payment widgets, support chat, error reporting and challenge widgets. Each rule needs real source research, positive fixtures and confusers/negative fixtures before shipping. Products sharing a loader host need discriminating evidence; do not invent product certainty from a host match.

Privacy and existing capture compatibility

Keep version-1 captures unchanged. They retain origins and storage names, and can support only rules justified by those fields. They cannot retrospectively identify a path-specific loader.

A separately versioned richer capture can match transient script/request paths locally and retain the rule ID and a minimized signal explanation. Query values, account/container IDs, URL credentials/fragments, storage values, request bodies and headers must not enter ordinary exported captures. Any specific parameter discriminator should emit a predefined product class, never its raw value. Catalog matching is still untrusted observation, not proof of a human action, necessity, exemption, legal basis or permission. Record which catalog revision interpreted the evidence; reject incompatible or unknown rule references rather than silently reinterpreting a historical result.

One review workflow, several views

  1. Search/select a product manually, or run explicitly invoked discovery.
  2. Show candidates with matched evidence, strength, confusers and unavailable coverage. Let the operator confirm, reject or add a custom service.
  3. Ask for actual site use, settings and private justification; link relevant REQ-* obligations and unresolved fields.
  4. Generate a reviewable inventory change. Never activate integrations, grant permission or publish legal text from detection alone.
  5. Render the confirmed inventory as a public third-party directory, privacy-page provider sections, cookie inventory and preference details. Use the same headless model with native, React and Astro renderers.
  6. In admin, search providers/products/aliases, inspect sources and stale facts, compare previous selections and follow retained releases. Keep unknown observations visible.

Public presentation should explain what the site uses, why, relevant data/storage, and the provider's privacy link. It should contain selected, resolved site facts, not the entire reference database. Mobile cards/disclosures and keyboard-accessible details should match the current design system. Operator views should prioritize actionable review and evidence over raw tables.

Resolve and snapshot the selected catalog facts during build/review. Pin entry and detector revisions and retain provenance alongside release history. Catalog updates produce a reviewable diff; they never silently rewrite existing published policies. Existing material-scope semantics determine when a confirmed change invalidates a grant. A recognition-rule-only correction does not itself change a site's declared processing.

Distribution and seed strategy

Keep the large reference data and operator matcher out of ordinary consent bundles. Selected service facts compile into public output; discovery/admin load only the catalog they need. Support offline pinned data, custom entries and extensions; no mandatory hosted catalog request or vendor-controlled remote UI.

Start with a curated cross-category set, then expand through a reproducible import/review pipeline. Imported cookie rows are candidates for storage patterns, not automatically complete service descriptions or approved legal classifications. Backend-only recipients need manual setup even when browser discovery finds nothing.

Sources checked on 19 October 2026:

The current optional seed imports pinned Open Cookie Database metadata and adds original backend/provider reference candidates. All seed entries remain unreviewed. Details, attribution and source hashes are in the data record.

Implementation order and acceptance

  1. Catalog schema/normalization, source/entry revisioning and a small researched seed; selection resolves into the existing site inventory.
  2. Shared public directory/provider rendering and config authoring, including optional product profiles, overrides, unknowns and immutable release tests.
  3. Passive declarative matcher with exact, wildcard and combined rules; compatible version-1 analysis plus explicitly versioned richer captures.
  4. CLI/admin setup and discovery review, proposed changes and explanatory match details; maintain the same source-linked review model.
  5. Reproducible licensed imports and broader seed coverage, deprecation/staleness review and regression fixtures per rule.

Verify false positives and shared hosts, bounded/hostile rules, normalization and escaping, old-capture compatibility, absent/blocked APIs, signal/value minimization, no probe execution/network/storage writes, review-before-apply, custom entries, offline operation, render parity, selected-only browser graphs, pinned revisions and unchanged historical documents. Legal and operational review remain separate from those engineering checks.

Renewing a prior selection

Admin setup and catalog review share the explicit re-review workflow. The initial comparison uses the pinned reference; loading a newer catalog is separate and does not apply it. New justification and confirmation replace only that local service's review pin. Full current-service/purpose preconditions prevent a stale comparison from being approved. Operator labels and integration settings are preserved; private revision history retains prior and renewed selected facts. The explicit release finalizer retains current selected-reference facts, excluding this private revision history and its justifications. Neither record contains independent identity, time or provider verification.

Retain selections with policy releases

Finalize a static or Markdown/MDX build with the current confirmed selections before creating notices or offers:

import {compileLegalDocuments} from '@notabenda/core/content';
import {attachCatalogReview} from '@notabenda/core/catalog/release';
import {readSetupCatalogSelections} from '@notabenda/core/catalog/selection';

const compiled = compileLegalDocuments(reviewedSiteConfig);
const release = attachCatalogReview(compiled, readSetupCatalogSelections(privateReport));
// Publish release.files. Send release.archive only to your authorized backend.
// Create consent notices and terms/form offers from release.artifact afterward.

attachCatalogReview works with compileAuthoredDocuments output too. It preserves exact legal HTML, rich bodies, source attachments and fragments. The final manifest binds a digest and selection count; its artifact ID and pinned URLs change. Earlier artifacts remain unchanged and can be retained with createRetainedReleaseFiles. Do not retarget existing notices or offers; create them from the final release.

The separate archive contains the selected product/provider revisions, source references and matching public service/purpose facts. It excludes selection justifications, questionnaire answers and re-review history. Those remain in the private setup report. The count describes attached selections, not inventory coverage. Services without catalog references remain valid custom inventory. Reference updates alone do not decide legal materiality or permission changes.

Stale service disclosures or purpose facts, duplicate service IDs, empty selections and mismatched source archives fail. No catalog refresh, discovery, approval or publishing occurs. The snapshot is limited to 32 selections and 48 KiB; it shares the combined 124 KiB compiler archive budget with documents and authored sources. The default backend reserves 128 KiB including host metadata.

The static CLI reads an explicit report and writes an exclusive private directory outside the public output, with directory/file modes 0700/0600 and an ignore file:

npx @notabenda/core build --preview --config notabenda.config.json \
  --catalog-report setup.private.json \
  --private-out-dir ./private-release --out-dir ./public-legal

Keep private-release/release.private.json off the public host and outside version control. The private directory parent must exist; nested public/private paths are rejected, including aliases through symbolic links. Removing --preview requires the usual reviewed production configuration. This CLI does not compile Markdown/MDX; use the authoring API before the same finalizer.

recordLegalRelease requires the matching catalog attachment when its descriptor is present. It also rejects undeclared, stale or altered attachments. Existing releases without a descriptor continue to work. The normal history projection and evidence export omit the selected-reference snapshot. A scoped history store exposes getCatalogReview(releaseId) separately; the admin worker requires an explicit allowCatalogReview: true grant for /catalog-review and /catalog-review-diff. Inspection, source access or export permission alone does not grant this access. The generated starter forwards the independent host permission catalogReview.

The admin view shows selected service use, catalog/product/provider revisions and source status. Comparisons separate catalog facts, site use and purpose changes from document content/rendering changes. Both releases must belong to the same host-authorized site scope. An archive does not independently establish operator identity, review time, source accuracy or publication. Try the catalog history example and see verification.

Product documentation profiles

A product can supply an optional version-1 profile: original sourced facts, links to privacy/DPA/documentation/subprocessor pages, and reviewPrompts with source and requirement IDs. catalog/product-profiles.json contains eight profiles: Workers, Stripe payment libraries, Supabase, Resend, Clerk, Vercel, PostHog and Sentry. The maintainer data declares a catalog revision and explicit productRevisions; adding a profile does not stamp a new revision onto unchanged products. Regenerate the offline seed with python3 scripts/build-service-catalog.py; update the product/catalog revision whenever selected facts change. Existing profile-free catalogs and historical pins stay valid.

Profiles describe documented options. They do not supply the site's provider entity, deployment, purposes, legal basis, processing location or retention. Requirement links are review context, with applicability still assessed separately. All provider/product records remain unreviewed. Reading documentation does not verify provider practices or a customer's agreement. A recorded URL that could not be retrieved is marked explicitly; no fact may rely on an unread source.

Inspect a product before selecting it:

npx @notabenda/core catalog show supabase-platform
npx @notabenda/core catalog show resend-email --json

Interactive setup prints these notes before asking about actual use. The browser picker displays them before the site fields. Its optional Use reference privacy URL action fills only an empty field; manually entered URLs are preserved, and editing a proposal clears its review confirmation. Notes do not silently become public policy prose.

Hosts can render one product without loading the bundled seed:

import {renderCatalogProductProfile} from '@notabenda/core/catalog/profile';

const html = renderCatalogProductProfile(yourCatalog, 'supabase-platform', {
  headingLevel: 3,
  documentationBase: '/guide',
});

Use @notabenda/core/styles.css for default styling. The renderer escapes text, links only validated references, and performs no requests. It creates no form controls or settings. readCatalogProductProfile returns detached selected-product notes and sources; formatCatalogProductProfile provides terminal text.

A profile is bounded to 16 KiB, eight facts, six document links and eight questions. Each cited source must belong to the product; fact sources must have been retrieved. Document links must match a cited generic HTTPS URL without a query, fragment or credentials. These structural checks cannot prove a URL is public; catalog authors must review that too. Keep tenant IDs, contract copies and private answers outside reference catalogs. Questions may have no source when they are editorial prompts, rather than provider claims.

Confirmed selection retains the exact profile and source revisions. Renewed review shows prior/proposed documentation; attached release reviews preserve that snapshot for authorized admin inspection and field-level comparison. A profile-only change changes reference digests without changing legal-document bytes. Combined snapshot/archive size limits still apply. See verification.

What the expanded profiles help review

The same notes appear in setup, catalog show, renewed selection review and retained-reference inspection. A project match resolves to its product ID; it does not select that product or add these notes to a policy.

Product ID Review focus
clerk-identity Actual authentication cookies, metadata visibility and session claims; the customer agreement for user records.
vercel-platform Function regions versus global delivery and middleware; log retention, drains and the account's plan and agreement.
posthog-analytics Autocapture and explicit events, replay and network details, removal before transmission, and the actual customer DPA.
sentry-monitoring Installed SDK/runtime and enabled integrations, submitted event fields, source maps, separate replay controls and customer-data terms.
npx @notabenda/core catalog show clerk-identity
npx @notabenda/core catalog show posthog-analytics --json
npx @notabenda/core catalog show sentry-monitoring
npx @notabenda/core catalog show vercel-platform

These references were checked on 20 October 2026. Review the current installed version and account settings before using them. They do not supply working adapters, choose exemptions or authorize collection. Existing saved selections retain their earlier profile and source revisions until you explicitly compare and confirm a renewed selection.

Go projects

Use the same command from a Go project:

npx @notabenda/core discover --project . --out-dir ./service-review

The scanner reads go.mod requirements and .go import declarations, including aliases and grouped imports. It recognizes seven documented SDK namespaces: AWS, Google Cloud, Azure, Stripe, Sentry, Twilio and DigitalOcean. Custom catalogs can add ecosystem: 'go' rules. Exact rules name a module/package; prefix rules must end in / to keep a namespace boundary. Matching is case-sensitive.

Evidence context What was found
dependency A go.mod requirement without an indirect marker.
indirect-dependency A requirement explicitly marked // indirect.
source-import An import in an ordinary .go file.
test-source-import An import in an _test.go file.

These contexts describe source declarations, not the resolved build or a production transfer. Go comments and ordinary string/rune contents are skipped. Reports keep the matched catalog signature, not private subpackage suffixes, module versions, replacement destinations or source values. Secret paths, Git ignores, symlinks, vendor directories and the existing read limits still apply.

A replacement, exclusion or selected go.work file makes coverage limited. The scanner does not follow those paths or run go list, go mod or a build. Build tags, vendoring and escaped import paths are not resolved. go.sum alone does not add a candidate. Review the active deployment and provider relationship yourself before selecting a service. The same findings are available to wizard --project; no extra wizard step or automatic service selection is introduced.

SDK signatures and their retrieved references live in the Go seed. See verification. Updating the seed revises affected products; existing setup pins still require explicit re-review rather than a background refresh.

Rust / Cargo projects

Run the same npx @notabenda/core discover --project . --out-dir ./service-review command. It reads each selected Cargo.toml and matches declared package names. The seed covers aws-config, aws-sdk-s3, aws-sdk-dynamodb, sentry, mongodb and redis. Each signature has a retrieved technical reference; a database driver does not identify a hosting provider. Redis documents redis-rs as a third-party client.

Declaration Evidence context
dependencies dependency
Normal dependency with optional = true optional-dependency
dev-dependencies development-dependency
build-dependencies build-dependency
workspace.dependencies workspace-dependency; consumption is unresolved
target dependency tables The corresponding context prefixed with target-

A renamed dependency uses its explicit package name. An inherited workspace = true key may itself be an alias, so it contributes no guessed package identity. Workspace and target declarations flag limited coverage: membership, features and target selection are not evaluated. Git/path/alternate-registry references and overrides also flag unresolved coverage. Their values, aliases and conditions are omitted from findings. The scanner does not follow dependency paths, resolve locks, inspect Rust imports or run Cargo, rustc or build scripts.

Selected .cargo/config and .cargo/config.toml paths flag limited coverage without reading their contents; these files can contain credentials and source overrides. Cargo credentials, generated target directories, ignored files and symlinks remain excluded. Ancestor/global configuration and environment overrides are outside the scan. No configuration is applied or service selected automatically.

Custom catalogs use ecosystem: 'cargo', an exact bounded ASCII crate name, or a prefix ending in - or _. Matching preserves case and punctuation. These are identifier rules, not namespace-ownership claims. Historical selected references remain readable; new catalog facts require explicit review.

Sources checked 22 October 2026 UTC: Cargo declarations, workspaces, manifest format and configuration. SDK references live in the Cargo seed. See verification.

.NET / NuGet projects

Run npx @notabenda/core discover --project . --out-dir ./service-review from a .NET repository. No .NET SDK or NuGet installation is needed. The scanner reads selected C#, F# and Visual Basic project files (.csproj, .fsproj, .vbproj), Directory.Packages.props, Directory.Build.props, Directory.Build.targets and legacy packages.config. File extensions and these conventional names are matched without case sensitivity.

<Project Sdk="Microsoft.NET.Sdk">
  <ItemGroup>
    <PackageReference Include="Stripe.net" Version="your-reviewed-version" />
    <PackageReference Include="Sentry.AspNetCore"
                      Condition="'$(Configuration)' == 'Release'" />
  </ItemGroup>
</Project>

This produces candidates for Stripe and Sentry. The Sentry reference remains conditional: the scanner does not decide which build configuration is active. Package versions and condition text stay out of the report. A candidate does not establish deployment, an active account or a data transfer.

Declaration Evidence context What it tells you
PackageReference Include dependency A literal package reference is declared in the selected file.
A conditional reference or one inside Choose/Target conditional-dependency The package is named, but the relevant branch or target was not evaluated.
PackageReference Update package-update An existing item may be modified. This does not establish that a reference exists.
PackageVersion central-package-version A central version entry is listed. It is not a project dependency by itself.
GlobalPackageReference global-package-reference A global package item is declared; its applicability to projects was not resolved.
A direct legacy packages.config entry legacy-package-entry The legacy file lists the package. Installation and freshness were not checked.

Literal semicolon-separated item lists are supported. Package IDs use lowercase canonical ASCII matching, with a 100-character limit; display casing does not change a match. The catalog also permits a custom namespace prefix ending in a dot, such as company.. Property expressions, wildcard identities, escaped MSBuild identities and unsupported IDs produce limited coverage rather than a guessed package name. PrivateAssets does not turn a package into a development dependency in this report.

The seed has twelve exact signatures across nine SDK families:

Family NuGet package IDs
AWS AWSSDK.Core, AWSSDK.S3
Azure Azure.Storage.Blobs
Auth0 Auth0.AuthenticationApi
Stripe Stripe.net
Twilio Twilio
SendGrid SendGrid, SendGrid.Extensions.DependencyInjection
Sentry Sentry, Sentry.AspNetCore
MongoDB MongoDB.Driver
Redis client StackExchange.Redis

Each signature has a retrieved technical source in the NuGet seed. A MongoDB or Redis driver can connect to a self-hosted database; it does not identify Atlas, Redis Cloud or another hosting provider. Select a service only after confirming the actual deployment.

The scanner does not run dotnet, MSBuild, NuGet, project tasks or installers. It does not follow Import or ProjectReference paths, evaluate SDKs or inherited central settings, apply removals, resolve locks, inspect installed assemblies or inspect C# source. Those declarations and known source-selection settings flag unresolved coverage. Malformed XML, DTDs, unsupported encodings and parser bounds discard candidates from that file and mark coverage limited. Default, prefixed and legacy MSBuild namespaces are handled; foreign namespaces and unsupported nested declaration locations do not become package references.

NuGet configuration files can contain credentials and change package sources. Selected NuGet.Config names are skipped without reading their values and mark coverage limited; .nuget and generated obj directories are excluded. The scanner preserves ordinary monorepo packages directories and executable-source bin directories. Ancestor/user configuration, implicit SDK dependencies, other imported files and environment overrides remain outside the scan. Source paths, feed URLs, versions, conditions, project names, metadata and credentials are not copied into findings. Matched file names and known identifiers remain private project information; review before sharing.

The format references are Microsoft's PackageReference guide, central package management guide, legacy file reference, MSBuild items guide and NuGet identifier validator, checked 22 October 2026 UTC. See verification for the engineering boundary. You choose whether to run discovery manually or in CI.