registry  /  @keycardai/oauth  /  0.20.0

@keycardai/oauth@0.20.0

[Preview] OAuth 2.0 primitives for Keycard: JWKS keyring, JWT signing/verification, server-tier token verifier, AccessContext, ClientSecret credentials, and impersonation via RFC 8693 token exchange

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 8 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 46 file(s), 257 KB of source, external domains: metadata.google.internal

Source & flagged code

1 flagged · loading source
dist/esm/server/workloadIdentity.jsView file
1var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { L2: if (kind === "m") throw new TypeError("Private method is not writable"); ... L70: : discoveryEnvVars; L71: const found = envNames.find((name) => process.env[name]); L72: if (!found || !process.env[found]) { ... L121: _FileTokenSource_tokenFilePath = new WeakMap(); L122: const DEFAULT_GCP_METADATA_URL = "http://metadata.google.internal"; L123: const DEFAULT_GCP_TIMEOUT_MS = 5000; ... L153: }); L154: body = await response.text(); L155: } ... L231: });
High
Cloud Metadata Access

Source reaches cloud instance metadata or link-local credential endpoints.

dist/esm/server/workloadIdentity.jsView on unpkg · L1

Findings

1 High3 Medium4 Low
HighCloud Metadata Accessdist/esm/server/workloadIdentity.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings