Skip to main content

Repository connections

GitHub.com and GitLab.com hosted scanning is available to workspaces on qscan.dev. Add a repository, connect a GitHub account or configure a read-only token, then select Run scan. Access is checked before processing starts. GitHub account authorization requires the platform GitHub App registration; GitLab browser authorization is not yet implemented.

If access is denied, setup opens with token authentication selected. Supply a valid token and use Save access, then run the scan again. A not-found response can also mean the path or branch is incorrect: review those fields. Edit access repairs an existing connection without creating duplicates.

If GitHub authorization cannot start after saving, the repository remains saved. Choose Configure access on its connection to retry authorization; do not add the repository again.

A scan submission interrupted by a network failure reuses its original request when retried in the same view. If that scan has already finished, the page shows its actual outcome and coverage instead of presenting a new queued scan.

After disconnecting a repository, choose Archive to remove it from the main list. Show archived opens the archive. Scan history, findings and audit records are retained; credentials are removed at disconnection.

Use Next connections and Previous connections above the connection list to browse larger workspaces, including archived entries. Connection pages and scan-history pages are independent. Refresh keeps the current connection page; switching between active and archived lists starts at page one. If loading fails, the displayed page stays available and you can retry the same navigation.

If a scan reports source tree unavailable, the provider resolved the repository reference but could not return a referenced tree. Source file unavailable means listing succeeded but a listed file could not be read. Check provider availability and access before starting another scan. These errors do not by themselves prove that the repository was deleted or the token expired. Failed attempts publish no partial findings; cleanup must still be confirmed. Keep the scan ID when reporting intermittent failures.

Check access without starting a scan​

Choose Check access on a configured connection to test the saved credential, selected reference and source directory. Administrators and analysts can run this check; viewers can read its result. The check reads provider metadata without downloading source files or creating a scan.

The connection shows the last result and check time, including quota, missing-directory and authentication failures. It remains visible after leaving the page. A successful check is an observation at that time, not a guarantee of future access or complete scan coverage. Run scan still performs a fresh check before submitting a new scan.

Changing scope, rotating a token, reconnecting GitHub or disconnecting invalidates the displayed result. Checks that finish after a revision or permission change cannot save a result for the new configuration. Quota exhaustion does not mean the token is invalid: wait for the provider quota to reset, then check again.

API and SDK clients receive accessCheck from testRepositoryAccess(id, revision) and from subsequent connection reads/lists. It contains revision, checkedAt, accessible and either the resolved commit or a bounded reason. The MCP repository_test_access tool uses the same endpoint. No provider response body or credential is retained in the result.

Connection scope​

Each connection selects github.com or gitlab.com, a repository path, a branch/tag/commit reference, and an optional directory. Provider and repository identity cannot be changed after creation; create a new connection for another repository. Directory selection limits supported source files. JavaScript and TypeScript modules include .js, .mjs, .cjs, .jsx, .ts, .mts, .cts and .tsx. Module source is parsed without being imported or executed. Hosted scanner 0.26.48 also resolves chained CommonJS calls such as require('crypto').createHash('sha256') and direct WebCrypto chains. It resolves Node crypto ESM/CommonJS imports and aliases, accounts for scope shadowing and mutation, and keeps comments/string mentions out of call findings. Unresolved call-name candidates remain explicitly labelled and lower confidence; dynamic algorithm arguments remain unknown. Syntax errors, missing parser dependencies and dynamic scope appear in coverage diagnostics and SARIF invocation status. Imported Node WebCrypto calls are also parsed, including string or plain object algorithm names, key generation/import, encryption/signing, KDF and KEM operations. Derivation, unwrapping and KEM key operations preserve both explicit algorithm arguments as separate static findings. Algorithm names are declarations, not proof of valid parameters or successful execution. Dynamic names and ambiguous objects stay unknown. Shared crypto namespace member writes mark coverage incomplete. Browser globals, wrapper/re-export resolution, cross-file dataflow and other library semantics remain coverage gaps. Installed agents retain their bundled detector until updated; Windows and Linux foreground scanner 0.26.16 include this parser. Older agent releases retain their previous detector; each native release requires platform acceptance. Arbitrary provider API hosts are not accepted yet.

Selecting a directory also limits provider tree traversal. GitHub resolves its path at the pinned commit and reads that subtree; GitLab requests the selected path on each tree page. Unrelated monorepo contents therefore do not consume the selected subtree's tree limit. File, byte, request and time limits still apply within the selection. Access checks validate the directory without downloading source; a missing directory opens scope repair and does not ask you to replace valid account authorization. Returned evidence retains repository-relative paths.

Hosted scans require authenticated provider access even for public repositories. authentication: "public" is retained only for an unconfigured draft, including the first step of GitHub browser authorization; access checks and scans cannot execute anonymously. Provider tokens use authentication: "token" and are write-only: read/list responses never return their value. Use a dedicated, read-only credential scoped to the intended repository. Do not grant write or administration permissions. Use Check access to verify setup without scanning, or Run scan to verify access and start processing.

Administrators create, replace, rotate and disconnect connections. Analysts and viewers can read metadata; agents cannot access connection management. Each mutation requires the current revision. Reload after a conflict; do not blindly retry a mutation whose response was lost.

Rust dependency coverage​

Hosted scanning and the Python/CI scanner 0.23.8 read Cargo.lock versions 2, 3 and 4 alongside Cargo.toml. Catalog-matched cryptographic crates produce library findings with the recorded resolved version and file/commit provenance. Multiple versions or source instances remain distinct. Private registry URLs, Git credentials, unrelated package names and dependency source contents are not exported.

A lockfile records resolution; it does not establish installation, active features, target selection, runtime use or package authenticity. Direct versus transitive scope is not inferred from the lockfile. Cargo, build scripts and package downloads are never run. Malformed or unsupported versions produce incomplete analysis with a manifest diagnostic, rather than an empty successful assessment. Lockfiles are limited to 5 MB and 50,000 package records, within the existing overall scan limits.

Published Windows x86_64 and Ubuntu 24.04 x86_64 binaries now include this coverage in version 0.23.8. Older binaries need updating; changing the workspace alone does not change installed scanner code. The Python/CI bundle and hosted repository workflow also support it. See the Cargo lockfile explanation for the distinction between declared constraints and recorded resolution.

JavaScript SDK workflow​

Scanner 0.26.71 adds TypeScript CommonJS import-equals detection, such as import crypto = require('node:crypto'), for .ts, .cts, .mts and .tsx. Literal Node crypto and WebCrypto calls preserve static import provenance in inventory and SARIF. Type-only imports, shadowed names and mutated bindings do not establish resolved crypto use. These findings do not verify execution or the project's TypeScript compiler configuration. Installed agents need a release containing this detector; an updated hosted scanner does not update agent binaries.

const availability = await client.repositoryCapabilities();
// Check current service availability before starting work.
const connection = await client.createRepositoryConnection({
config: {
name: 'Application source',
provider: 'github',
repository: 'your-organization/your-repository',
ref: 'main',
directory: 'src'
},
authentication: 'token',
token: providerToken // Load a read-only provider token from your secret store.
});
const current = await client.repositoryConnection(connection.id);
await client.disconnectRepository(current.id, current.revision);

Python provides repository_capabilities, repository_connections, repository_connection, create_repository_connection, update_repository_connection, rotate_repository_credential, and disconnect_repository with equivalent inputs. See the generated API reference for request schemas.

Recurring repository scans​

Open a connection's actions menu and choose Schedule scans. Select an interval, optionally select Queue the first scan now, and explicitly authorize recurring access. Saving checks the current provider credential and source scope before enabling the schedule. The API requires a successful access check for the same connection revision within the previous 15 minutes.

The schedule displays the next run, authorizing administrator, skipped occurrences and last queued scan. View last scan opens its progress and results. Connection rows also show the next scheduled run. Scan history marks recurring runs as Scheduled. Each run resolves the configured reference to an exact commit; a branch can therefore produce a different snapshot on a later run. Pin a commit if you intentionally want the same snapshot.

Intervals range from one hour to 30 days. The console offers hourly, six-hourly, daily, weekly and 30-day choices; the API accepts any whole number of seconds in this range. If the workspace was unavailable across several intervals, only the latest missed occurrence is eligible. An existing queued, running or cleanup-pending scan for the same connection causes that occurrence to be skipped. Workspace scan capacity defers dispatch; provider or shared-processor failures are recorded in scan history and are not silently replayed.

Browser administrators delegate their current workspace membership, so signing out or normal session expiry does not stop the schedule. Removing membership, changing its authorization version, suspending the workspace, changing repository scope or credentials, or reaching provider-token expiry invalidates execution. API-key schedules additionally stop when that key expires or is revoked. GitHub account authorization remains subject to its provider grant's current validity. After changing access, check it again and explicitly reauthorize the schedule.

Pause schedule, Remove schedule, and replacing a schedule prevent future runs and stop unfinished scheduled work from publishing findings at its next authorization check. Processing already in flight may continue until cancellation/cleanup is confirmed; raw source cleanup is still required. Completed findings and scan history remain. A paused schedule can be enabled again through the same form. A disconnected or archived connection's View schedule action lets an administrator inspect and remove its invalidated schedule.

const current = await client.repositoryConnection(connectionId);
const access = await client.testRepositoryAccess(current.id, current.revision);
if (!access.accessible) throw new Error('Resolve repository access before scheduling');
const {schedule} = await client.repositorySchedule(current.id);
const saved = await client.manageRepositorySchedule(current.id, {
operation: 'save',
expectedRevision: schedule?.revision || 0,
expectedConnectionRevision: current.revision,
intervalSeconds: 86400,
startNow: false,
confirmDelegation: true
});
// To pause, use the revision returned by the last read/save.
await client.manageRepositorySchedule(current.id, {
operation: 'pause', expectedRevision: saved.schedule.revision
});

Python exposes repository_schedule(connection_id) and manage_repository_schedule(connection_id, configuration) with the same payload. MCP provides repository_schedule and repository_schedule_manage. Administrator access and explicit recurring authorization are required for changes; analysts and viewers can inspect schedules. No credential or internal execution grant is returned. After an uncertain save/pause/remove response, Refresh schedule (or read it through the API) before retrying. Do not guess a new revision or resubmit with startNow without reviewing the saved state.

Credential lifecycle​

Token connections require configured credential encryption. credentialStorageReady reports availability; saving a token fails when encryption is unavailable. At rest, each credential is authenticated and encrypted for its tenant, connection, configuration and revision using a dedicated keyring. Tokens and encrypted credential envelopes are omitted from public metadata, audit events and revision history.

To rotate, submit the current revision and a replacement credential. Old revisions immediately become invalid for future credential acquisition. Rotation replaces the stored ciphertext and resets the connection to untested. Replacing a token-authenticated configuration also requires its credential again. Disconnect removes stored ciphertext, marks the connection revoked, and prevents future credential acquisition. It does not revoke the credential at GitHub/GitLab; revoke unused provider tokens there separately. An optional expiresAt supplies an additional platform expiry check; the provider may revoke or expire access earlier.

Hosted scan operations will recheck authority and connection revision before use and before accepting findings. Scan operations are available to all workspaces with administrator or analyst access.

Hosted scan API preview​

Check repositoryCapabilities().executionEnabled first. A false value means this workspace cannot start hosted scans yet. Use testRepositoryAccess(id, revision) to check provider access without downloading source files.

const operation = await client.startRepositoryScan({
connectionId: connection.id,
expectedRevision: connection.revision,
requestId: crypto.randomUUID()
});
const status = await client.repositoryScan(operation.id);
const history = await client.repositoryScans({ limit: 25 });
// Administrators can cancel any scan; analysts can cancel their own.
await client.cancelRepositoryScan(operation.id);

Queueing returns immediately. Reuse the same request ID only when retrying the identical request after a lost response. A cancelled/failed operation is not restarted by that identifier; use a new request ID for a deliberate new scan. There are two active slots per workspace and two shared processors in this preview. A shared-capacity failure requires a deliberate retry; it does not silently rescan source.

States are queued, running, cleaning, completed, failed, or cancelled. cleaning can persist while destruction is retried; capacity is retained until cleanup is confirmed. A completed operation can have result.analysisComplete: false: inspect coverage and evidence before interpreting the result. Completion does not establish quantum readiness or complete language/runtime coverage. Provider quota, lost access, and missing repositories have distinct error codes. Raw source is transient; verified normalized findings can be staged durably while atomic publication is retried.

Scan failures distinguish repository-scope-too-large, repository-file-too-large, provider-timeout and directory-not-found. Narrow the selected directory for scope limits, exclude large generated files for file-size limits, and check the directory at the selected reference when it is missing. A provider timeout calls for a deliberate retry; it does not establish invalid credentials. Hosted bounds are 20,000 tree entries, 1,000 selected files and 64 MiB of source per scan; individual source files are limited to 1,000,000 bytes, with 5,000,000 bytes allowed for package-lock.json and npm-shrinkwrap.json. Request and time limits also apply. A failed snapshot publishes no findings from that attempt.

If an authenticated connection reaches provider quota, the UI keeps its existing access and explains the reset requirement. It does not automatically open token replacement or browser reauthorization. Public connections can still switch to a read-only token to use their account's quota.

GitHub secondary throttling can return 403 with a numeric Retry-After header even when the primary quota has requests remaining. Access checks and hosted source reads recognize that response as a provider limit, rather than denied permission. Wait for the provider's delay before retrying; changing tokens on the same account may not help. Ordinary 403 responses remain access failures. See GitHub's rate-limit guidance.

If GitHub explicitly throttles the token-renewal request, Quantum Ready preserves your authorization and waits until the provider's retry time before attempting renewal again. The cooldown survives reloads and scope edits. An access check reports the provider limit; a background scan stops with provider-rate-limited and can be retried after the cooldown. No scan is automatically retried.

If the renewal outcome is unknown, or identity verification fails after GitHub has issued a replacement token, reconnect GitHub. The old refresh token may already have been consumed, so Quantum Ready does not reuse it.

Python equivalents are start_repository_scan, repository_scan, repository_scans, and cancel_repository_scan. History is cursor paginated with the newest operations first. Disconnect or rotation invalidates outstanding work before findings can be accepted; disconnect still does not revoke provider-side credentials.

Set up a repository in the workspace​

Open Discovery > Repository scanning, then select Add repository. Enter a connection name, choose GitHub.com or GitLab.com, and supply the repository path without its website address. Choose a branch, tag or commit, and optionally limit discovery to a relative source directory. Choose a read-only account token, or GitHub browser sign-in when the platform app is registered. Authentication is required even for public source. Saving scope does not verify provider access or start processing.

Select Run scan. The history shows queued, scanning and cleanup states without resetting an open setup form. Details shows the pinned commit, source counts, findings and coverage gaps. Zero findings with coverage gaps is not proof that the repository contains no cryptography. Scan history is newest first; use Previous and Next for older operations.

Administrators can disconnect connections and cancel active scans; analysts can start scans and cancel their own. Viewers can inspect history. Disconnecting requires confirmation and invalidates unfinished work before publication. The setup guide opens in the same tab.

Cancellation can race with completion. If the scan already finished, the console shows its completed result rather than claiming it was cancelled. A confirmed cancellation stays visible even if the subsequent history refresh fails; use Refresh to retrieve the latest state. Failed and cancelled scans do not promise future findings. Review failure guidance before deliberately starting a new scan.

Private repositories in the workspace​

Choose Repository scanning > Add repository > Your account token. Enter a read-only token and optionally its expiry. GitHub fine-grained PATs should select only the target repository and grant Contents: read-only. GitLab project or personal tokens need read_api and access to the project. Organization approval may be needed.

The token is encrypted by the existing tenant-scoped connection store, is never returned by read APIs, and is cleared from the form after submission or closing setup. Disconnecting removes its stored copy; revoke it with the provider separately when no longer needed. Saving a connection does not establish successful access. Run a scan when execution is enabled to validate source access and review coverage.

GitHub/GitLab account passwords are not accepted by this connector. GitHub browser authorization is described below; GitLab currently uses a personal or project token. Hosted scans are available to all workspaces.

Archive and access-check APIs​

JavaScript exposes archiveRepository(id, revision) and testRepositoryAccess(id, revision). Python exposes archive_repository(id, revision) and test_repository_access(id, revision). Archive requires a disconnected connection and its current revision. Read archived connections with repositoryConnections({archived:true}) or repository_connections(archived=True).

GitHub fine-grained tokens need repository Contents: read-only (GitHub permissions). GitLab personal or project tokens need read_api (GitLab token scopes). Limit the token to the repository being assessed.

Use your own provider quota​

Choose Your account token even when the repository is public. Requests then authenticate with that connection's credential instead of using the shared unauthenticated quota. Unconfigured draft connections cannot make provider requests or start scans. The platform no longer falls back to shared anonymous quota.

For an existing repository, select Edit access, choose your account token, save it, and select Run scan. The connection keeps its history. Credentials with the same provider account may still share limits; adding a token does not guarantee unlimited scanning. If an authenticated request is rate limited, wait for its quota to reset. A 404 can also mean the token cannot see the repository or the branch is wrong.

Connect a GitHub account​

  1. Save the repository scope. You can choose Public access initially; saving does not start a scan or claim private access works.
  2. Select Connect GitHub on that repository. If setup is needed, ask a platform operator to register the read-only GitHub App, or use a PAT.
  3. On first use, select Choose repositories. Installation opens in a clearly labelled new tab so your pending authorization stays available. Select only the repositories you want assessed. Organization approval or an active organization SSO session may be required.
  4. Return to Quantum Ready and choose Authorize GitHub account. GitHub authorization uses the current tab and returns you to Repository scanning. The callback expires after 10 minutes and must finish in the same workspace sign-in session.
  5. Select Run scan. Review progress, pinned commit, findings, coverage gaps and source cleanup.

This is repository access authorization, not SSO for signing in to Quantum Ready. It uses expiring GitHub user tokens: access is limited by both the GitHub account and the app's repository permissions. Scans use that account's provider quota. Account authorization cannot bypass organization policy or provider rate limits.

Renewal and recovery​

Access tokens are renewed server-side before expiry; access and refresh tokens stay encrypted in the workspace connection store. Concurrent requests share one renewal. If the provider's renewal response is lost, reconnect instead of repeatedly submitting a possibly rotated refresh token. There is no background installation-token fallback that silently grants broader access.

The authorizing workspace administrator must remain active with the same account version and role. Password/security changes, removal, suspension or a role change can require reconnection by an active administrator. Revoking GitHub authorization or removing the app's repository access prevents further provider reads. Choose Reconnect GitHub to repair access. A missing repository response may also indicate the wrong branch or path.

Edit access > Keep GitHub authorization changes the branch or directory while retaining the grant. It cannot change repository/provider identity. Scope edits advance the connection revision, invalidating stale callbacks and queued work. Disconnect removes stored access and refresh tokens; revoke the app in GitHub separately if you want to remove provider-side consent too.

SDK scope edits can use authentication: 'github' only on an already connected GitHub repository. Initial API creation accepts public or token; use the browser authorization flow to attach a GitHub grant. Neither SDK nor MCP asks for a GitHub password or app secret.

Validation status​

PAT scanning has passed a real private GitHub scan. GitHub app registration, workspace authorization, automatic renewal, access checks, owner revocation and disconnect pass through the actual Worker using an isolated provider fixture. Real-account OAuth scan acceptance is still pending platform app registration and consent; this is not yet equivalent to the live PAT evidence.

Export a scan for CI and code review​

Open a completed scan's Details, then choose Download SARIF. The download stays in your workspace. It contains the exact findings retained for that operation and commit, even if the connection was subsequently edited, disconnected or archived. Newer inventory observations do not overwrite an older scan's report. Administrators, analysts and viewers can export; agent credentials cannot.

SARIF 2.1.0 is a standard interchange format for static analysis. Each result includes a repository-relative, URI-encoded file location, line, rule identifier, evidence ID, file hash and a repeatable identity fingerprint. The report records the scan ID, connection revision, commit and coverage totals. It contains no source snippets or provider credentials. Paths are relative to the repository root, including when you scan a subdirectory; %SRCROOT% uses a synthetic file:///src/ base rather than an administrator's local path.

These are discovery candidates, so results use SARIF note level. A reference to a cryptographic API or dependency is not proof of runtime use, an exploitable vulnerability or failed quantum readiness. Fingerprints remain stable for the same detector identity and path across commits; moving or changing the detector's source location can create a new identity.

Export with the SDK​

Use the SDK from the signed developer bundle. Store a workspace credential in your CI secret store and inject it as QSCAN_TOKEN. A viewer credential is sufficient to export an existing scan; starting scans requires analyst or administrator access. A provider access token is a different credential and does not belong in this SDK's constructor.

import {writeFile} from 'node:fs/promises';
import {QuantumReady} from './sdk/javascript/index.mjs';
const client = new QuantumReady({
endpoint: 'https://qscan.dev', token: process.env.QSCAN_TOKEN
});
const report = await client.repositoryScanSarif(process.env.QSCAN_SCAN_ID);
await writeFile('quantum-ready.sarif', JSON.stringify(report, null, 2));
const run = report.runs[0];
if (!run.properties.analysisComplete) {
throw new Error('Coverage gaps: retain the report and review scan details');
}
if (run.properties.repositoryCommit !== process.env.EXPECTED_COMMIT) {
throw new Error('Report commit differs from the commit being reviewed');
}

Python offers the equivalent method:

import json, os
from pathlib import Path
from sdk.python.quantum_ready import QuantumReady
client = QuantumReady('https://qscan.dev', os.environ['QSCAN_TOKEN'])
report = client.repository_scan_sarif(os.environ['QSCAN_SCAN_ID'])
Path('quantum-ready.sarif').write_text(json.dumps(report, indent=2), encoding='utf-8')

The API is GET /api/v1/repository-scans/{id}/sarif. MCP users can call repository_scan_sarif with the operation ID. All three return the SARIF object; they do not send it to GitHub, GitLab or another destination.

Import into your existing pipeline​

For GitHub, use the official upload action or code scanning API. Match the upload commit/ref to runs[0].properties.repositoryCommit. The connection ID supplies a stable analysis category; keep separate source scopes in separate connections. Upload permissions and repository code-security availability are separate from the read-only credential used to scan source. Actual GitHub ingestion has not yet been accepted for this integration.

For GitLab, configure a pipeline's artifacts:reports:sarif output following the GitLab SARIF guide. Availability depends on the GitLab version and subscription. The pipeline must run against the same commit as the report. Actual GitLab ingestion has not yet been accepted for this integration.

Keep reports as restricted CI artifacts when import is unavailable. Reports contain repository paths and cryptographic metadata, even though source and credentials are excluded.

Coverage and troubleshooting​

SituationWhat to do
Scan is queued, running or cleaningPoll the existing operation until terminal. Export returns 409 until completed; do not start another scan to retrieve a report.
Scan failed or was cancelledInspect its error and cleanup status. It does not provide a successful analysis report.
Completed with coverage gapsExport is available, but analysisComplete and invocations[0].executionSuccessful are false, with a warning notification. Review scan diagnostics. Do not treat zero findings as a clean assessment.
Missing retained evidenceExport returns 409 instead of silently omitting results. Preserve the scan ID for investigation.
Evidence exceeds 16 MiBSynchronous export returns 413 without a truncated report. Choose a narrower source directory for a new scan; asynchronous large-report export remains a follow-up.
Import succeeds but alerts differCheck the destination's severity filtering, supported SARIF subset and result limits. Discovery candidates use note, and a provider may omit or truncate results.

The output is validated against the official OASIS SARIF 2.1.0 schema. Schema validity establishes format compatibility; it does not establish acceptance by every destination.

Scan in your own pipeline​

Use the CI scanning guide for GitHub Actions and GitLab templates, one-pass JSON/SARIF output, coverage diagnostics and optional least-privilege evidence upload.

Find access configuration and repository history​

Choose Set up GitHub access on a GitHub repository to configure a read-only PAT or find the platform app registration instructions. The setup control remains actionable before the GitHub App exists. Workspace administrators configure PAT access; a platform operator registers the GitHub App once. See the integration setup directory.

Each connection has Scan history, including disconnected and archived connections. This filters before pagination. All repositories returns to the workspace history. Connection activity comes from current scan reservations, independently of the history page. Cleanup-pending scans remain active until destruction is confirmed.

Python requirements discovery​

The hosted scanner and Python source scanner 0.25.1 read files named requirements.txt. Named cryptographic packages produce library observations with declared version constraints; markers are recorded only as conditional, without evaluating them. Continued lines and per-package hash options are recognized. Hashes are not treated as installation verification.

Direct named URL requirements retain the package name but suppress the URL. Index credentials, marker text, extras and environment variables are never exported or expanded. Includes (-r, -c), editable projects and unnamed paths/URLs produce requirements-scope-unresolved coverage diagnostics; the scanner does not follow them. Directly observed dependencies remain evidence, but the scan is marked incomplete. Package installation and runtime use remain unverified. Other requirements filenames and arbitrary pip options are not fully resolved.

This follows pip's requirements-file format for supported declarations. Windows and Linux compiled agents 0.25.1 also include this detector. Earlier binaries do not; update the agent or use hosted scanning or the current source bundle for this coverage.

Go module discovery​

Hosted scanning and scanner 0.25.3 read go.mod declarations for golang.org/x/crypto, github.com/cloudflare/circl, and github.com/open-quantum-safe/liboqs-go. These are catalog matches, not an exhaustive list of Go cryptography. Evidence records the declared version, direct or indirect scope, file hash, and repository commit for hosted scans. A library finding does not identify the algorithm used by an application or prove installation or execution.

Single-line and grouped require, replace, and exclude directives are recognized. Replaced and excluded requirements remain labeled declarations with conditional scope. A catalog-matched replacement is reported only when its original module is required. A replacement by itself does not establish dependency use, consistent with the Go module reference.

The scanner never runs Go, fetches modules, resolves the module graph, follows replacement directories, or evaluates build tags. Local replacements, noncanonical versions and unknown directives produce incomplete coverage diagnostics. go.work also reports unresolved workspace scope; modules already inside the approved repository directory are scanned individually, but external workspace directories are not followed. Malformed files and unsupported string/block syntax produce parse diagnostics. Use ordinary unquoted tokens or double-quoted strings with JSON-compatible escapes. Private module names, local paths and arbitrary branch names are not exported in findings.

go.sum is not treated as a lockfile or installation proof. Standard-library cryptography is not declared in go.mod; existing .go source rules remain lexical candidates rather than resolved Go API analysis. CI retains JSON/SARIF results and exits 2 when module/workspace coverage is incomplete. Review the diagnostic before treating a scan as complete.

.NET and NuGet discovery​

Scanner 0.26.0 reads C#, F# and Visual Basic project files (.csproj, .fsproj, .vbproj), packages.config, Directory.Packages.props, Directory.Build.props and NuGet packages.lock.json versions 1 and 2. The same parser is used by hosted repository scans, Python agents and the compiled agents. No .NET SDK is required for this static inspection.

Project findings identify declared cryptographic packages, including Bouncy Castle, NSec, Sodium and the supported .NET cryptography package names. They record the version constraint, declaration kind and whether applicability is conditional. Central PackageVersion entries are labeled as version declarations; they do not prove that a project uses the package. See Microsoft's descriptions of PackageReference and central package management.

Lockfile findings retain recorded resolved versions, direct/transitive classification and recognized target-framework names. Identical packages in different framework graphs remain separate findings. Content hashes, registry credentials and arbitrary framework strings are not exported. A lockfile is a recorded dependency graph, not proof of installed package bytes or runtime cryptographic use. Framework and feature selection are not evaluated.

Include the project and its checked-in packages.lock.json within the selected repository directory. The scanner does not run restore, MSBuild, project targets, package hooks or source code. It does not follow imports, project references or package feeds. XML DTDs and entities are rejected. Credential-bearing URLs and property expressions in version declarations are not exported.

A nuget-scope-unresolved coverage gap means conditions, imports, project references, central declarations or unresolved versions were encountered. Recognized declarations remain visible, but the scan is marked incomplete. Review the project locally with its owner and include the resolved lockfile for additional evidence. The scanner never expands permissions or executes a restore to resolve that gap. Zero matching packages does not establish that a .NET application has no cryptography; framework implementations, unrecognized libraries and runtime behavior require other evidence.

Permanent connection deletion​

Disconnect a repository before deleting it. An administrator can then call POST /api/v1/repository-connections/{id}/delete with the current expectedRevision and confirm: true. Archived connections can also be deleted. Deletion removes the connection's credentials, settings, configuration revisions, access-check result and recurring schedule. Previously collected findings, immutable evidence, scan history and audit records remain available.

Active scans are cancelled first. HTTP 202 with deletionPending: true means raw-source cleanup is still pending; it does not mean the connection is deleted. Retry the same request and revision until the response contains deleted: true. Successful retries return the original deletion receipt.

JavaScript: deleteRepository(id, revision, true). Python: delete_repository(id, revision, confirm=True). MCP: repository_connection_delete with id, expectedRevision, and confirm: true. Administrator authorization and revision checks apply to all three interfaces. Connection-filtered scan history remains readable after deletion.

Python cryptographic API and configuration evidence​

Scanner 0.26.97 adds cryptography's PBKDF2HMAC, including resolved import aliases. Findings retain a supported literal digest and iteration count; passwords, salts and derived key bytes are not collected. Dynamic parameters remain unknown, and shadowed or reassigned constructors are excluded. These are source declarations, not evidence that derivation executed or succeeded. This coverage requires source/hosted scanner 0.26.97; native 0.26.96 packages do not yet include it.

Scanner 0.26.50 adds static recognition of literal hashing and HMAC algorithms, PBKDF2 iterations, RSA key sizes, EC curves, composed AES modes, AESGCM and ChaCha20Poly1305 calls. It resolves supported imports and aliases without running repository code. Literal parameters describe the source declaration; they do not prove that a key was generated or that the call executed successfully.

Source/hosted scanner 0.26.93 also recognizes the cryptography HMAC constructor with a resolved hash instance, including supported import aliases. Scanner 0.26.94 adds AESCCM, AESSIV, AESGCMSIV and AESOCB3 alongside AESGCM and ChaCha20Poly1305. Shadowed or rebound names are not treated as these library APIs. These findings identify static constructor calls; they do not establish backend support, valid key material, execution or effective key strength. Key bytes are not included in findings or exports.

Scanner 0.26.95 recognizes resolved cryptography DSA generate_private_key and generate_parameters calls, including import aliases. Findings retain the exact API and a literal declared modulus size when available. Parameter generation does not prove that a private key was created or used; dynamic or ambiguous sizes remain unknown. Shadowed names are excluded. The scanner does not execute source code or include key material in reports. See the cryptography DSA API reference.

CBOM preserves HMAC's MAC identity and hash parameter, and each AEAD algorithm's distinct identity. CycloneDX 1.7 has no SIV or OCB mode values, so those algorithms use mode other; AES-GCM-SIV is never reduced to AES-GCM. See the cryptography AEAD API reference. Installed native agents need a separately published update to gain these additions; the agent distribution guide lists available packages.

PyJWT encode calls preserve explicit supported signing algorithms. Decode calls record the declared algorithm allowlist and explicit signature-verification option as configuration evidence, not as proof of a verified token. Omitted settings stay unspecified; runtime instance defaults are not inferred.

SSL context creation, minimum/maximum protocol versions, verification mode, hostname checking and supported literal cipher selectors are separate configuration observations. Assignments are not collapsed into a claimed final runtime state. Cipher selector strings are not expanded into effective OpenSSL cipher lists.

Supported relative imports and static helper re-exports resolve only within the selected source snapshot. Dependency paths and SHA-256 hashes accompany those findings and are checked against the hosted snapshot. Source scanner 0.26.53 also retains package-relative imports when you select the package directory itself (with its __init__.py included). Selecting its parent also works. Local evidence paths are relative to the selected directory; hosted scans preserve repository-relative paths even when a connection selects a subdirectory. The local package-root correction is not included in native agent 0.26.52 or earlier. A connection restricted to a subdirectory cannot resolve helpers outside that directory: select the required parent directory and rescan. Dynamic or conditional exports, ambiguous modules, cycles and unsupported bindings remain unresolved and can produce python-import-unresolved coverage diagnostics. A partial scan is not a clean bill of health; review its coverage before acting on a lack of findings.

These fields are preserved in evidence, SARIF and CBOM exports. Hosted and source scanner releases are separate from installed native agents. Windows and Linux native 0.26.50 packages include this coverage. Older installed agents need the native update; changing workspace configuration alone does not update installed scanner code.

Python scope analysis​

Scanner 0.26.14 resolves import aliases within module, function, lambda, class and comprehension scopes. Local imports and closures can produce resolved static API candidates. A parameter or assignment in one function no longer hides unrelated calls elsewhere. Defaults and decorators use their enclosing scope; methods do not inherit class-local imports. Pattern captures, exception names, global and nonlocal rebinding, and imported-object attribute writes prevent unsafe resolution.

These findings are static candidates, not proof that code executed or keys were used. Conditional imports and branches are not evaluated. Ambiguous rebinding within a scope is conservative; annotations/type-parameter expressions, dynamic imports, namespace mutation through exec/eval and arbitrary object aliases are not resolved. Unresolved crypto-like call names remain lower-confidence candidates with unknown authentication and key-establishment roles.

The source/hosted scanner version is separate from compiled distributions. Windows and Linux foreground binaries 0.26.14 include this scope improvement.

The Node WebCrypto mapping follows the official API signatures. Key material, passwords, payloads and source arguments are not included in findings. Object spreads, computed property names, getters and duplicate properties remain unresolved rather than being executed. Literal key sizes, named curves, digest choices and PBKDF2 iteration counts are recorded as declared parameters where the API argument defines them. They are preserved in evidence and SARIF; this does not verify runtime keys or parameter validity. AES-CTR counter length is never reported as key size. Dynamic parameters are not inferred. Comments do not affect argument positions; spread arguments make subsequent positions unresolved.

Go crypto call discovery​

Scanner 0.26.44 also recognizes import-resolved crypto/tls.CurveID references, including X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024, MLKEM1024 and classical curve constants. These are static references, including entries in CurvePreferences; they do not prove that a configuration was used or a handshake negotiated that group. Authentication and key-establishment usage fields remain unknown. Alias, shadowing, comment/string and ambiguous dot-import checks still apply. Identities follow the Go CurveID definitions.

Pattern-based source detection also recognizes exact TLS/SSH ML-KEM hybrid names, without splitting a hybrid into classical and PQ findings. Pattern findings remain candidates; they do not provide parsed configuration or runtime evidence. Python/CI and hosted releases are qualified separately from installed native agents, which retain their bundled version until updated.

Scanner 0.26.37 parses Go syntax and resolves direct calls through imported standard crypto/* packages and selected golang.org/x/crypto packages. Import aliases and lexical shadowing are accounted for; comments, strings, unused imports and lookalike packages do not become crypto-call findings. Multiple calls on one line retain separate locations. AES key length and HMAC digest are not inferred from an API name alone.

Function-value flow, cross-file resolution, receiver-method flow, build-tag selection and type checking are not complete. Encountered crypto function-value references, unknown crypto APIs and unresolved dot imports produce coverage diagnostics. Missing parsers and syntax errors also produce incomplete analysis; the scanner does not fall back to text matching for Go. A known direct call can still appear alongside an explicit coverage gap.

The scanner never builds the project, downloads its modules or executes its source. The Python bundle includes the pinned parser dependency; CI setup must install both javascript-parsers.txt and go-parser.txt with hash checking. Windows x86_64 and Ubuntu 24.04 x86_64 foreground binaries 0.26.37 passed native Go discovery and live managed-job evidence/CBOM checks, including partial-scan recovery. Service/update channels and native macOS have separate qualification. Scope rules follow the Go specification; API identities follow the Go crypto packages and extended crypto module.

Stored certificate discovery​

Hosted repository scanner 0.26.37 identifies ML-KEM-512/768/1024 and all twelve pure SLH-DSA public-key parameter sets in PEM, DER and PKCS#7 certificates. The certificate signing algorithm is reported separately from the public key. All sixty algorithm/format combinations passed the restricted processor, and a private GitHub scan verified the fifteen DER identities through evidence, SARIF and CBOM. Source bundle 0.51.247 and Linux/Windows foreground binaries 0.26.37 include this coverage.

Encoding validation does not verify the key cryptographically, a certificate signature, a trusted chain or runtime use. Distinct prehash SLH-DSA variants remain outside this extension. Source cleanup and analysis completeness are reported separately in scan history.

Repository and agent code scans also inspect .pem, .crt, .cer and .der files inside the selected directory. Use the current scanner bundle (0.26.23 or later). A separate certificate scan configuration is unnecessary.

Findings include the certificate fingerprint, subject/issuer, validity dates, public-key algorithm and size where available, issuer signature algorithm, Basic Constraints, Key Usage and Extended Key Usage. Hosted findings retain the exact repository commit, Git blob and file hash. CBOM links certificate records to public-key metadata and recognized signature algorithms; SARIF uses rule QRCERT001.

A stored certificate does not prove deployment, trust, possession of a private key or runtime use. EC public keys remain EC, since a certificate alone does not establish ECDSA versus ECDH use. Files in a bundle are not assumed to form a verified chain. Unknown algorithms remain unknown.

Each file is limited to 1 MB and each PEM file to 64 certificate blocks. Identical certificates within one file are deduplicated; copies in different files retain separate provenance. Malformed or incomplete bundles produce coverage gaps, retaining any valid certificates already parsed. Trailing bytes in DER are rejected. Missing parser dependencies are reported explicitly. Usage metadata that exceeds its own bounds is marked incomplete in the evidence.

PEM files may contain mixed content. Only CERTIFICATE blocks are parsed; private-key blocks are never loaded or included in findings. Selected files still pass through the existing transient hosted processor and are discarded before findings are published. Select a narrow directory if certificates are stored alongside sensitive material. A selected PEM with no certificate is reported as a coverage gap. Key-only .key, PKCS#12, JKS, operating-system certificate stores and HSM inventories are outside this detector's coverage.

For local discovery:

python scanner/qr.py code /approved/repository --source repository-certificates

Local JSON/SARIF and hosted repository reports retain valid findings from partial analysis. In current managed agent jobs, incomplete source analysis fails the job before findings upload; inspect the local report for individual coverage gaps. Partial managed-job reporting is still being implemented.

The compiled agent uses the same code command. Check its reported scanner version before relying on certificate-file coverage. Review Coverage gaps in the completed repository scan; incomplete CLI/CI analysis exits with code 2.

Static declarations in CBOM​

JavaScript/TypeScript AST findings retain sectigo:code:runtimeUseVerified=false, import resolution and algorithm identity resolution in CBOM exports. Supported literal WebCrypto key sizes, named curves, hashes and iteration counts appear as sectigo:code:declaredKeySizeBits, declaredCurve, declaredHash and declaredIterations, with parameterSource=static-api-declaration. These describe the source declaration, not a generated key or an observed operation. Unresolved or invalid parameter values are omitted; arbitrary source expressions and secret values are not exported.

Code scan coverage and partial results​

Managed code scanners starting with 0.26.24 report coverage before uploading findings. If a file cannot be read or parsed, a certificate is malformed, or an analysis limit is reached, valid findings are retained and the job finishes as partial. Agent scan history labels this Coverage gaps, with file counts and bounded, relative-path diagnostics. A scan with no findings can still be partial; zero findings does not establish that a repository is free of cryptography.

Inspect the job's coverage.analysisComplete, analysisErrorCount, file and parser counts, and diagnostics. At most 100 diagnostics are retained; diagnosticsTruncated indicates additional gaps. Correct the reported issue and run a new scan. Partial jobs are terminal and do not automatically retry. Findings and CBOM properties retain the coverage state and attempt that produced them.

The agent reports coverage through POST /api/v1/jobs/{id}/coverage with its current lease token, before its first findings batch. Coverage is immutable for that attempt; identical retries are accepted. A new leased attempt clears the old coverage. Completion must declare the actual accepted observation count. The JavaScript SDK provides reportCodeCoverage; Python provides report_code_coverage.

Older agents can finish without this coverage protocol; absence of coverage means unknown coverage. Standalone uploads and other scanner surfaces continue to reject incomplete reports. Webhook receivers can subscribe to job.partial and retrieve the job using their own scoped credential.

Coverage provenance in hosted findings​

New hosted repository findings carry the validated scan coverage into immutable evidence and CBOM properties, bound to the repository connection, scan operation and exact commit. This applies to code, library and certificate findings. A completed hosted operation can have analysisComplete: false: processing and source cleanup finished, but analysis has gaps. Inspect coverage diagnostics before treating the inventory as complete. Earlier findings without these properties have unknown per-finding coverage; run another scan to collect it.

PKCS#7 certificate bundles​

Source scanner 0.26.27 and hosted repository scans also inspect .p7b and .p7c certificate bundles in PEM or DER form, plus PEM PKCS7 blocks in selected certificate files. Findings retain the container file hash and each certificate's fingerprint. Duplicates within a file are removed; ordering does not imply a chain.

This is certificate extraction only. Container signatures, embedded content and CRLs are not verified or inventoried. Evidence and CBOM explicitly record the PKCS7 container, certificates-only scope and unverified container signature. The 1 MB file and 64-certificate bounds apply. Extra mixed PEM data, malformed containers and trailing DER produce coverage gaps instead of a complete result. Valid certificates from other supported blocks remain available. Windows and Linux native agents 0.26.27 also support this format, with independent certificate extraction and live managed-job acceptance.

Source scanner 0.26.48 includes this direct-CommonJS correction. Published Windows and Linux native 0.26.49 packages include this correction. Static findings do not prove runtime use.

Pattern-language context in scanner 0.26.49​

Java, Rust, C#, C/C++ (including headers), Ruby, PHP, Swift and Kotlin use language-specific lexical context for pattern candidates. Comments and non-code PHP markup are excluded. Matches in strings remain candidates with lower confidence than code tokens; directive matches are separate candidates. Algorithm arguments are retained, but a token alone does not establish an API, authentication role, key-exchange role or runtime use. JSON evidence and SARIF preserve lexicalContext and the lexer version.

Missing lexer dependencies, lexical errors and analysis limits produce explicit coverage diagnostics. An affected file is not reported as a clean zero-findings scan. This is lexical analysis, not full semantic parsing; for example, Java Unicode-escaped comment syntax currently produces a lexical error.

These changes are available in source, hosted scanner, and published Windows and Linux native 0.26.49 packages.

Composite certificate inventory​

The hosted repository scanner and Python/CI scanner 0.26.59 identify the18 ML-DSA composite certificate algorithms in draft-ietf-lamps-pq-composite-sigs-19. DER, PEM and certificate-only PKCS7 files (P7B/P7C) are supported. The scanner checks the public-key encoding and records the composite algorithm, OID and post-quantum/traditional component identities. These algorithms retain draft status in findings and CBOM exports.

The subject public key and issuer's certificate signature are separate identities; they may use different algorithms. A signature identifier records what the certificate declares. File scanning does not verify that signature, build a trusted certificate path, establish deployment or prove runtime use. Exports preserve these limits and never include private-key material. Composite keys do not receive an invented combined key size or a pure ML-DSA classification.

Installed native agents retain their published version's coverage. Updating the website does not replace an installed binary; use the verified Python/CI bundle for this certificate-format coverage until a qualified native update is available.

PHP Composer dependencies​

Hosted repository scanning and the Python/CI scanner0.26.60 read composer.json (require and require-dev) and composer.lock (packages and packages-dev). Recognized packages include phpseclib, sodium_compat, Halite, Defuse encryption, Lcobucci JWT, Firebase PHP-JWT and the Web-Token JWT framework. Findings preserve whether a record is a declared constraint or a locked version, including its development scope. Package declarations do not prove installed or executed cryptography, and lockfile records do not infer direct-versus-transitive use.

No Composer command, plugin, script or package installation runs during a scan. Repository URLs, credentials and private branch names are excluded from findings. Duplicate records and malformed files report incomplete analysis instead of a successful empty result. Lockfiles have a5MB/50,000-record limit within the overall repository limits. This package catalog is not exhaustive. Native agents need a separately qualified update before they gain this coverage.

See Composer's schema and lockfile behavior.

Pipfile and Poetry declarations​

Hosted repository scanning and Python/CI scanner0.26.61 read Pipfile package, development and custom categories, plus Poetry dependencies and dependency groups in pyproject.toml. PEP621 and literal PEP735 dependency-group declarations are also read. Recognized cryptographic libraries retain declared constraints and conditional scope; private group/category names are hashed into stable identifiers. Source URLs, credentials, extras and marker contents are not exported.

Dynamic dependency fields, group inclusion and unsupported dependency options produce incomplete analysis with the direct findings retained. The scanner does not run a build backend, resolve included groups, evaluate markers or execute Pipenv/Poetry scripts. Scanner 0.26.89 adds separate lockfile evidence as described below. Declared dependencies do not prove installation or runtime cryptography.

Review incomplete-analysis diagnostics before treating a scan as comprehensive. Native agents retain their installed version's coverage until separately updated.

Maven POM dependencies​

Hosted repository scanning and Python/CI scanner0.26.62 read Maven4.0.0 pom.xml declarations. The catalog recognizes Bouncy Castle provider/PKIX/TLS/util artifacts, Tink and selected JWT libraries. Findings distinguish direct, managed, profile and plugin dependencies. Managed entries are declarations, not proof the application uses that library. No Maven command or build plugin runs during scanning.

Parents, modules, property references, profile activation and dependency management are not resolved into an effective POM. These cases retain directly identifiable packages with incomplete analysis and guidance to review the project scope. Unknown coordinates are not guessed. Parent paths, repository URLs and private property/profile names are excluded. XML entities and DTDs are rejected; structure size and depth are bounded. Finding a dependency does not prove installation or runtime cryptography. Installed agents need a separately qualified update.

See the Maven POM reference for declaration, inheritance and dependency-management semantics.

C/C++ dependency manifests​

Hosted repository scanning and Python/CI scanner0.26.63 read vcpkg.json and conanfile.txt. Recognized packages include OpenSSL, LibreSSL, BoringSSL, mbed TLS, wolfSSL, Botan, Crypto++, libsodium and liboqs. Findings retain direct, build-tool, test, feature and override scope. A declaration does not prove installation or runtime cryptography; a version override is not proof the dependency is used.

vcpkg features, overrides and registry configuration can require resolution, so these manifests retain direct findings with incomplete analysis. Unsupported Conan scope is also reported explicitly. Feature names are hashed; private Conan user/channel/revision details and repository URLs are excluded from findings. No package manager, port, recipe or generator is executed. Python Conan recipes, lockfiles and transitive resolution are not covered by these parsers.

See the vcpkg manifest reference and Conan text-file reference. Installed native agents retain their version's coverage until separately updated.

Python setup declarations​

Hosted repository scanning and Python/CI scanner 0.26.64 read literal dependencies in setup.py: install_requires, legacy setup_requires and tests_require, and extras_require. Imported setuptools setup aliases and direct distutils.core.setup imports are recognized. Build, test and optional scopes are distinguished from runtime dependencies; private extra names are hashed.

The scanner parses the file without executing it. Computed values, mutated bindings, conditional setup calls and unknown keyword dictionaries produce an incomplete-coverage warning. Literal findings are retained alongside that warning. The same file is also checked for cryptographic API calls. Private dependency URLs are not exported, and declarations do not prove installed versions or runtime use. Scanner 0.26.65 also resolves module-level literal variables, aliases, nested lists/tuples/dictionaries and literal **metadata. Mutations and unknown calls invalidate saved bindings. Literal dictionary duplicate keys retain the last value, matching Python semantics. Expansion is bounded to prevent excessive processing. Effective metadata from setup.cfg is not resolved by this parser.

See Setuptools dependency management for declaration syntax and optional dependency groups.

Gradle dependency declarations​

Hosted repository scanning and Python/CI scanner 0.26.66 read literal declarations from build.gradle and build.gradle.kts. Supported forms include standard configuration calls, string coordinates, map/named arguments and add("configuration", "group:artifact:version"). Buildscript, project and constraint scopes remain distinct. Custom configuration names are hashed. Classifier/extension selections retain the version but remain unresolved; private selectors are not exported.

The scanner never runs Gradle, Groovy, Kotlin, plugins or registry resolution. Computed dependencies, version catalogs, plugins and effective build configuration produce incomplete-coverage guidance. Literal findings are retained when they can be read independently. Complex interpolation and unsupported slashy literals are reported as unresolved instead of interpreting their contents as source code. This is a bounded declaration grammar, not a complete Groovy/Kotlin parser. Declarations do not establish installed versions, runtime cryptography, selected features or transitive dependency coverage. Installed native agents retain their bundled coverage until separately updated.

See Gradle dependency declarations for configuration and notation details.

Ruby Gemfile declarations​

Hosted repository scanning and Python/CI scanner 0.26.67 read literal Gemfile declarations for known cryptographic gems. Supported forms include version constraints, parenthesized/multiline calls, require options, groups, platforms, and source/git/path blocks. Group and platform names are hashed. Source URLs, paths, branches and credentials are not exported or used to fingerprint source scopes; credential rotation does not change the exported declaration identity.

The scanner never invokes Ruby or Bundler, imports gemspecs, follows included files or queries a registry. Unknown Ruby, computed options and external source selection produce incomplete-coverage guidance. Unsupported interpolation, heredocs, percent/backtick/slashy literals and block comments are left unresolved rather than interpreting their contents as declarations. This bounded DSL reader is not a full Ruby parser. Installed versions, transitive resolution and actual runtime use are not established by these declaration findings. Scanner 0.26.89 adds separate Gemfile.lock evidence as described below. Installed native agents retain their bundled coverage until separately updated.

See the Gemfile reference for Bundler syntax, groups, platforms and source selection.

Gradle, Bundler, Poetry and Pipenv lockfiles​

Scanner 0.26.89 reads known cryptographic libraries recorded in gradle.lockfile, Gemfile.lock, poetry.lock and Pipfile.lock, including nested projects. These findings show a recorded resolution, separately from manifest declarations. They do not prove installation, package authenticity, enabled features, selected dependency groups or runtime cryptographic use. Check the scanner version on the scan; installed agents retain their bundled version until updated.

Supported formats are Gradle's combined lockfile, Bundler GEM/GIT/PATH/plugin-source specification sections, Poetry lock versions 1.0/1.1/2.0/2.1, and Pipfile specification 6 with standard and custom categories. Source-only Pipenv entries retain the known package identity without inventing a resolved version. Private URLs, credentials, branches, source paths and custom configuration names are not exported. Versions outside the conservative numeric version format are shown as [not exported].

No package manager, plugin, build script or source repository is executed or fetched. Malformed or unsupported records produce incomplete analysis and a manifest diagnostic. Each lockfile is bounded to 5 MB and 50,000 package records, alongside the normal scan limits. Legacy Gradle per-configuration lockfiles and full effective build or transitive dependency analysis remain unsupported. A supported lockfile does not remove diagnostics from other incomplete manifests in the same scan.

Troubleshooting hosted processing failures​

Open the failed scan's details. When the runtime returned a diagnostic, the page shows its last confirmed stage and lifecycle state, alongside the scan ID and cleanup status. This helps distinguish processor startup/readiness from source analysis or result-transfer failures. It identifies the stage, not the root cause; it does not mean your repository is invalid. Older failures and failures that did not return runtime diagnostics retain the general message.

The API exposes these fixed labels as optional processingDiagnostic.stage and processingDiagnostic.lifecycle. Raw runtime errors, source text and credentials are excluded. No partial findings are published from a failed processing attempt. Keep the scan ID when investigating repeated failures, and wait for confirmed cleanup before starting a new attempt.

Swift package dependencies​

Hosted repository scanning and Python/CI scanner 0.26.68 read literal Package.swift declarations and recorded dependencies in Package.resolved schemas 1, 2 and 3, including lockfiles nested inside Xcode projects and workspaces. Known cryptographic libraries are matched by their exact repository identity, not a repository name alone.

Literal from, exact, next-major/next-minor requirements and inclusive or exclusive numeric version ranges retain their declared constraints. Lockfile findings identify recorded resolution versions separately from declarations. Neither kind of finding proves installation, target inclusion or runtime use. Credentials, branch names, revision hashes and private paths are not exported.

The scanner does not compile or execute the manifest, fetch package locations, or run dependency resolution. Computed declarations, target configuration, local/registry dependencies and unsupported syntax produce incomplete-coverage guidance. Known literal declarations can remain available alongside that warning. This is a bounded reader, not a full Swift parser or transitive dependency solver. Native agents retain their bundled coverage until separately updated.

See the Swift PackageDescription reference for declaration syntax and the role of Package.resolved.

Yarn and pnpm resolved dependencies​

Scanner 0.26.91 adds cryptographic dependency findings from yarn.lock and pnpm-lock.yaml. Supported inputs are Yarn Classic v1, modern Yarn metadata versions 8 and 10 with npm resolutions, and pnpm lockfile version 9.0 package records. Grouped Yarn Classic selectors and npm aliases resolve to the underlying package name. Only packages in QScan's cryptographic library catalog produce findings; this is not a general software vulnerability assessment.

Each finding records the package name, resolved version when available, file provenance and a hash of its lockfile identity. Registry URLs, credentials, checksums, workspace paths and raw selectors are not exported. A recorded version does not prove installation, runtime use, authenticity, or direct-versus-transitive scope. pnpm importer selection and peer-context snapshots are not evaluated as an effective application dependency graph.

Unsupported package-source records produce javascript-lockfile-scope-unresolved and retain valid findings from the same file. Unsupported format versions, malformed YAML, duplicate fields, aliases, anchors and explicit tags produce manifest-parse-error. A missing packaged parser produces lockfile-parser-unavailable; reinstall the current agent package. These cases mark analysis incomplete instead of showing an empty successful result.

The parser runs locally within the scanner: no package manager, lifecycle script, package download or source execution is needed. Limits include 5 MB per lockfile, 50,000 package records, 64 nesting levels and the overall scan time limit. It is included in the Python/CI bundle and hosted repository runtime. Existing native agents retain their installed scanner version until an updated binary is released and installed; check the agent heartbeat before assuming coverage.

Format references: Yarn Classic lockfiles, modern Yarn's own lockfile, and pnpm version 9 format.

Python Diffie-Hellman parameter declarations​

Source scanner0.26.96 and its hosted repository runtime recognize import-resolved cryptography.hazmat.primitives.asymmetric.dh.generate_parameters calls, including aliases. A literal second argument or key_size keyword is retained as a declared modulus size; the first argument is the generator. Dynamic or ambiguous sizes are omitted. Findings preserve unknown runtime use and exchange/authentication state. CBOM identifies finite-field key agreement; SARIF retains the declared size and resolved API. No source is executed and no key material is collected.

This detects a parameter-generation declaration, not a verified key exchange or valid generated parameters. Parameter-object dataflow and dynamically loaded APIs remain outside this specific coverage. See the cryptography DH API. Published native packages retain their separately listed scanner versions.

Python key-derivation declarations​

Scanner 0.26.98 identifies import-resolved constructors for HKDF/HKDFExpand, Scrypt, Argon2id, ConcatKDFHash/HMAC, X963KDF and KBKDFHMAC/CMAC. Exact API provenance distinguishes operations within the same family. Aliased imports are supported; shadowed names, rebound symbols, comments and example strings do not establish a KDF call.

Only bounded, literal nonsecret declarations are exported: output length in bytes, hash identity, iterations, Scrypt n/r/p, and Argon2 lanes and memory in KiB. Output length is not a claim of key entropy or cryptographic strength. Dynamic values and unpacked/ambiguous arguments remain unresolved. Passwords, salts, input/derived keys, secrets, labels and context contents are not exported.

These are static API candidates, not proof that a KDF ran, accepted its arguments, or securely handled a password. See the cryptography API reference. Hosted scans and the signed Python bundle receive this update. Installed compiled agents require their corresponding native release; an application update does not change an installed binary. Check the distribution guide for published versions.