AI Slop Code Risk Monitor

AzureAD/microsoft-authentication-library-for-js

SlopCodeMonitor badge for AzureAD/microsoft-authentication-library-for-js Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Microsoft Authentication Library (MSAL) for JS

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for AzureAD/microsoft-authentication-library-for-js, a TypeScript project with 4,148 GitHub stars. SynthScan examined 367,299 lines of code across 1947 source files, recording 779 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
4.1K
Stars
TypeScript
Language
367.3K
Lines of Code
1.9K
Files
779
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 8.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.2/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 10.4/100 · LOW

Which changes need focused human review? 779 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 1HIGH 1MEDIUM 9LOW 768

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 779 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Structural Annotation Overuse200 hits · 227 pts
SeverityFileLineSnippetContext
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md272 // Step 1: Create new email accountCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md276 // Step 2: Fill form fieldsCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md281 // Step 3: Submit formCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md285 // Step 4: Handle OTP verificationCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md291 // Step 5: Verify successCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md304 // Step 1: Enter invalid emailCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md309 // Step 2: Verify error appearsCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md316 // Step 3: Verify error contentCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md320 // Step 4: Verify authentication stateCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md332 // Step 1: Setup email accountCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md336 // Step 2: Initial attempt with wrong OTPCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md346 // Step 3: Handle errorCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md351 // Step 4: Retry with correct OTPCOMMENT
LOW⚡…/NativeAuthSample/context/TEST_IMPLEMENTATION_GUIDE.md357 // Step 5: Verify successCOMMENT
LOW⚡lib/msal-angular/src/msal.interceptor.ts490 // Step 1: Escape all regex metacharacters so literals (including . and ?) match literally.COMMENT
LOW⚡lib/msal-angular/src/msal.interceptor.ts493 // Step 2: Replace escaped wildcards with component-aware regex equivalents.COMMENT
LOW⚡lib/msal-angular/src/msal.interceptor.ts501 // Step 3: Anchor for full-string matching.COMMENT
LOWlib/msal-node/docs/key-vault-managed-identity.md104#### Step 1: Deploy your filesCOMMENT
LOWlib/msal-node/docs/key-vault-managed-identity.md114### Step 2: Update your app's Redirect URICOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts514 // Step 8: Mock /register/v1.0/challenge - challenge auth methodCOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts530 // Step 9: Mock /register/v1.0/continue - submit challengeCOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts1832 // Step 9: Mock /oauth2/token - successful MFA completionCOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts2030 // Step 9: Mock /oauth2/token - successful MFA completionCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts63 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts74 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts90 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts102 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts114 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll once and still in progressCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts125 // Step 6: Mock /resetpassword/v1.0/poll_completion - poll twice and still in progressCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts136 // Step 7: Mock /resetpassword/v1.0/poll_completion - poll three times and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts148 // Step 8: Mock /oauth/v2.0/token - acquire tokensCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts413 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts424 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts440 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts452 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts464 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts476 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts495 // Step 7: Mock /register/v1.0/introspect - get available auth methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts541 // Step 10: Mock /oauth/v2.0/token - successful token acquisitionCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts620 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts631 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts647 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts659 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts671 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts683 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts702 // Step 7: Mock /register/v1.0/introspect - get available auth methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts721 // Step 8: Mock /register/v1.0/challenge - challenge auth methodCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts737 // Step 9: Mock /register/v1.0/continue - submit challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts748 // Step 10: Mock /oauth/v2.0/token - successful token acquisitionCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1710 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1721 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1737 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1749 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1761 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1774 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1789 // Step 7: Mock /oauth2/introspect - return available methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1815 // Step 8: Mock /oauth2/challenge - MFA challenge requestCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1908 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1919 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1935 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
140 more matches not shown…
Hyper-Verbose Identifiers182 hits · 193 pts
SeverityFileLineSnippetContext
LOWshared-configs/rollup-msal/logger-minify-plugin.js218function normalizeTemplateVariables(str) {CODE
LOWshared-configs/rollup-msal/logger-minify-plugin.js264function extractTemplateExpressions(templateText) {CODE
LOW…lugin-custom-msal/rules/no-dynamic-telemetry-fields.js223 function isPerformanceEventVariable(name) {CODE
LOWshared-configs/jest-config/BroadcastChannelTracker.js17function createBroadcastChannelTracker(getBroadcastChannel) {CODE
LOWshared-configs/jest-config/BroadcastChannelTracker.js46 function forceCleanupBroadcastChannels() {CODE
LOWshared-test-utils/src/CredentialGenerators.ts12export function buildAccountFromIdTokenClaims(CODE
LOWshared-test-utils/src/CredentialGenerators.ts27export function buildAccountInfoFromIdTokenClaims(CODE
LOWdocs/errors.md596async function myInteractionInProgressHandler() {CODE
LOWsamples/msal-node-samples/Managed-Identity/FIC/index.ts41async function getAccessTokenFromManagedIdentity(): Promise<string> {CODE
LOWsamples/msal-node-samples/Managed-Identity/FIC/index.ts76async function getAccessTokenForKeyVault(CODE
LOW…ples/client-credentials-distributed-cache/src/index.ts100function initializePerformanceObserver(): void {CODE
LOW…node-samples/on-behalf-of-distributed-cache/src/app.ts74function initializePerformanceObserver(): void {CODE
LOWsamples/msal-node-samples/client-credentials/index.js32function getClientCredentialsToken(cca, clientCredentialRequestScopes, ro) {CODE
LOW…al-node-samples/auth-code-distributed-cache/src/app.ts193function initializePerformanceObserver(): void {CODE
LOWsamples/e2eTestUtils/src/ElectronPlaywrightTestUtils.ts134export async function retrieveAuthCodeUrlFromBrowserContext(CODE
LOWsamples/e2eTestUtils/src/KmsiTestUtils.ts67export async function getIdTokenClaimsFromCache(CODE
LOWsamples/e2eTestUtils/src/KmsiTestUtils.ts158export function assertSigninStateContains(CODE
LOWsamples/e2eTestUtils/src/PlatformBrokerTestUtils.ts56function verifyPlatformBrokerPrerequisites(): void {CODE
LOWsamples/e2eTestUtils/src/PlatformBrokerTestUtils.ts82export function createPlatformBrokerProfile(): PlatformBrokerProfile {CODE
LOWsamples/e2eTestUtils/src/PlatformBrokerTestUtils.ts94export async function launchPlatformBrokerBrowser(CODE
LOW⚡samples/e2eTestUtils/src/PlatformBrokerTestUtils.ts127export function removePlatformBrokerProfile(CODE
LOW⚡samples/e2eTestUtils/src/PlatformBrokerTestUtils.ts137export async function verifyPlatformBrokerTokenStore(CODE
LOW⚡samples/e2eTestUtils/src/PlatformBrokerTestUtils.ts146async function getPlatformBrokerAuthData(CODE
LOWsamples/e2eTestUtils/src/PlatformBrokerTestUtils.ts163function requirePlatformBrokerAccount(CODE
LOWsamples/e2eTestUtils/src/PlatformBrokerTestUtils.ts180export async function verifyPlatformBrokerResponse(CODE
LOWsamples/e2eTestUtils/src/PlatformBrokerTestUtils.ts192export async function verifyPlatformBrokerAccount(CODE
LOWsamples/e2eTestUtils/src/TestUtils.ts365export async function enterCredentialsADFSWithConsent(CODE
LOWsamples/msal-browser-samples/ExpressSample/server.js133async function updateVersionDescriptions() {CODE
LOW…sal-browser-samples/ExpressSample/test/test-helpers.ts14export async function switchToVersionAndVerifyCacheWasUsed(CODE
LOW…sal-browser-samples/ExpressSample/test/test-helpers.ts62export async function forceRefreshAndVerifyTokenCountsDoNotChange(CODE
LOW…s/msal-browser-samples/ExpressSample/test/dpop.spec.ts85async function waitForPlaygroundControls(CODE
LOW…s/msal-browser-samples/ExpressSample/test/dpop.spec.ts163async function applyPlaygroundConfiguration(CODE
LOW…s/msal-browser-samples/ExpressSample/test/dpop.spec.ts177async function loadAndConfigurePlayground(CODE
LOW…s/msal-browser-samples/ExpressSample/test/dpop.spec.ts252async function assertDpopAccessTokenCached(CODE
LOW…s/msal-browser-samples/ExpressSample/public/js/auth.js18function processAuthenticationResult(response) {CODE
LOW…/msal-browser-samples/ExpressSample/public/js/utils.js33export function validateEnvironmentVariables() {CODE
LOW…/msal-browser-samples/ExpressSample/public/js/utils.js58function showEnvironmentVariableAlert(missingVars, emptyVars) {CODE
LOW…/msal-browser-samples/ExpressSample/public/js/utils.js103function addEnvironmentAlertStyles() {CODE
LOW…amples/LegacyPollingSample/test/legacy-polling.spec.ts19async function expectLoginPopupSucceeded(page: Page): Promise<void> {CODE
LOW…NestedAuthAppSample/hostApp/src/nestedAppAuthBridge.js169export function installHostNestedAppAuthBridge(hostPca, nestedOrigin) {CODE
LOW…owser-samples/NestedAuthAppSample/test/naaTestUtils.ts159export function accessTokenForScopesExists(CODE
LOW…stedAuthAppSample/nestedApp/src/nestedAppAuthBridge.js24export function installNestedAppAuthBridge() {CODE
LOW…msal-browser-samples/VanillaJSTestApp2.0/app/pop/ui.js40function showPopTokenWithKidAcquired(encodedJwt) {CODE
LOW…-sample/src/pages/ProfileUseMsalAuthenticationHook.jsx49export function ProfileUseMsalAuthenticationHook() {CODE
LOW…-sample/src/pages/ProfileUseMsalAuthenticationHook.jsx49export function ProfileUseMsalAuthenticationHook() {CODE
LOW…-sample/src/pages/ProfileUseMsalAuthenticationHook.jsx49export function ProfileUseMsalAuthenticationHook() {CODE
LOW…-sample/src/pages/ProfileUseMsalAuthenticationHook.jsx49export function ProfileUseMsalAuthenticationHook() {CODE
LOW…amples/angular-standalone-sample/src/app/app.config.ts66export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOW…gular-samples/angular-b2c-sample/src/app/app.module.ts67export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOW…r-samples/angular-modules-sample/src/app/app.module.ts65export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/redirects.md95export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/multi-tenant.md61export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/msal-interceptor.md218export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/configuration.md116export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/configuration.md375export function MSALInterceptorConfigFactory(config: ConfigService): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/configuration.md558export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/docs/v4-v5-upgrade-guide.md26export function MSALInterceptorConfigFactory(): MsalInterceptorConfiguration {CODE
LOWlib/msal-angular/src/msal.interceptor.spec.ts1195 function initializeAndSpyOnWarning(strict?: boolean): jasmine.Spy {CODE
LOWlib/msal-angular/src/msal.interceptor.spec.ts1251function MSALStrictInterceptorFactory(CODE
LOW⚡lib/msal-common/apiReview/msal-common.api.md1382export function createClientConfigurationError(errorCode: string, correlationId: string): ClientConfigurationError;CODE
122 more matches not shown…
Verbosity Indicators184 hits · 192 pts
SeverityFileLineSnippetContext
LOW⚡lib/msal-angular/src/msal.interceptor.ts490 // Step 1: Escape all regex metacharacters so literals (including . and ?) match literally.COMMENT
LOW⚡lib/msal-angular/src/msal.interceptor.ts493 // Step 2: Replace escaped wildcards with component-aware regex equivalents.COMMENT
LOW⚡lib/msal-angular/src/msal.interceptor.ts501 // Step 3: Anchor for full-string matching.COMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts514 // Step 8: Mock /register/v1.0/challenge - challenge auth methodCOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts530 // Step 9: Mock /register/v1.0/continue - submit challengeCOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts1832 // Step 9: Mock /oauth2/token - successful MFA completionCOMMENT
LOW⚡…st/custom_auth/integration_tests/ResetPassword.spec.ts2030 // Step 9: Mock /oauth2/token - successful MFA completionCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts63 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts74 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts90 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts102 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts114 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll once and still in progressCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts125 // Step 6: Mock /resetpassword/v1.0/poll_completion - poll twice and still in progressCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts136 // Step 7: Mock /resetpassword/v1.0/poll_completion - poll three times and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts148 // Step 8: Mock /oauth/v2.0/token - acquire tokensCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts413 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts424 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts440 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts452 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts464 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts476 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts495 // Step 7: Mock /register/v1.0/introspect - get available auth methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts541 // Step 10: Mock /oauth/v2.0/token - successful token acquisitionCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts620 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts631 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts647 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts659 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts671 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts683 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts702 // Step 7: Mock /register/v1.0/introspect - get available auth methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts721 // Step 8: Mock /register/v1.0/challenge - challenge auth methodCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts737 // Step 9: Mock /register/v1.0/continue - submit challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts748 // Step 10: Mock /oauth/v2.0/token - successful token acquisitionCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1710 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1721 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1737 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1749 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1761 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1774 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1789 // Step 7: Mock /oauth2/introspect - return available methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1815 // Step 8: Mock /oauth2/challenge - MFA challenge requestCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1908 // Step 1: Mock /resetpassword/v1.0/start - successful startCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1919 // Step 2: Mock /resetpassword/v1.0/challenge - successful challengeCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1935 // Step 3: Mock /resetpassword/v1.0/continue - submit code successfullyCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1947 // Step 4: Mock /resetpassword/v1.0/submit - successful submit passwordCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1959 // Step 5: Mock /resetpassword/v1.0/poll_completion - poll and succeededCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1972 // Step 6: Mock /oauth/v2.0/token - returns registration_required errorCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts1987 // Step 7: Mock /oauth2/introspect - return available methodsCOMMENT
LOW…st/custom_auth/integration_tests/ResetPassword.spec.ts2013 // Step 8: Mock /oauth2/challenge - MFA challenge requestCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts531 // Step 6: Mock /register/v1.0/continue - verification successfulCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts541 // Step 7: Mock /oauth2/token - successful completion after JIT registrationCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts678 // Step 6: Mock /register/v1.0/continue - verification successfulCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts688 // Step 7: Mock /oauth2/token - successful completion after JIT registrationCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts832 // Step 6: Mock /register/v1.0/continue - verification successfulCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts842 // Step 7: Mock /oauth2/token - successful completion after JIT registrationCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts979 // Step 6: Mock /register/v1.0/continue - fast-pass registrationCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts989 // Step 7: Mock /oauth2/token - successful completion after fast-pass JIT registrationCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts1359 // Step 6: Mock /oauth2/token - successful MFA completionCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts1498 // Step 6: Mock /oauth2/token - successful MFA completionCOMMENT
LOW⚡…wser/test/custom_auth/integration_tests/SignIn.spec.ts1638 // Step 6: Mock /oauth2/token - successful MFA completionCOMMENT
124 more matches not shown…
Fake / Example Data199 hits · 150 pts
SeverityFileLineSnippetContext
LOW…-browser-samples/ExpressSample/public/js/playground.js97 // loginHint: "user@example.com",COMMENT
LOWlib/msal-common/test/cache/CacheManager.spec.ts2385 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2419 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2500 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2535 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2575 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2601 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2675 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2710 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2787 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2822 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2894 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts2929 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts3021 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts3051 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts3107 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts3132 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts3172 username: "John Doe",CODE
LOWlib/msal-common/test/cache/CacheManager.spec.ts3186 username: "John Doe",CODE
LOWlib/msal-common/test/cache/cacheStore.json3 "username": "John Doe",CODE
LOWlib/msal-common/test/cache/entities/cacheConstants.ts99 username: "John Doe",CODE
LOWlib/msal-common/test/test_kit/StringConstants.ts264 '{"sub":"1234567890","name":"John Doe","iat":1516239022,"cnf":{"kid":"NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9XCODE
LOWlib/msal-common/test/test_kit/StringConstants.ts755 username: "John Doe",CODE
LOWlib/msal-common/test/test_kit/StringConstants.ts763 username: "Jane Doe",CODE
LOWlib/msal-node/cache.json4 "username": "John Doe",CODE
LOWlib/msal-node/test/cache/cacheConstants.ts91 name: "John Doe",CODE
LOWlib/msal-node/test/cache/Storage.spec.ts126 username: "Jane Doe",CODE
LOWlib/msal-node/test/cache/Storage.spec.ts163 username: "Jane Doe",CODE
LOWlib/msal-node/test/cache/Storage.spec.ts174 name: "Jane Doe",CODE
LOW…al-node/test/cache/cache-test-files/default-cache.json4 "username": "John Doe",CODE
LOW…ache/cache-test-files/cache-unrecognized-entities.json12 "username": "John Doe",CODE
LOWlib/msal-node/test/cache/serializer/Account.json4 "username": "John Doe",CODE
LOW…b/msal-node/test/cache/serializer/Deserializer.spec.ts33 name: "John Doe",CODE
LOWlib/msal-node/test/test_kit/StringConstants.ts224 '{"sub":"1234567890","name":"John Doe","iat":1516239022,"cnf":{"kid":"NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9XCODE
LOW…sal-node/test/client/ClientCredentialClientFmi.spec.ts373 secret: "fake-token",CODE
LOW…sal-node/test/client/ClientCredentialClientFmi.spec.ts557 secret: "fake-token",CODE
LOW…twork_client/custom_auth_api/RegisterApiClient.spec.ts63 login_hint: "user@example.com",CODE
LOW…twork_client/custom_auth_api/RegisterApiClient.spec.ts119 challenge_target: "user@example.com",CODE
LOW…twork_client/custom_auth_api/RegisterApiClient.spec.ts133 challenge_target: "user@example.com",CODE
LOW…twork_client/custom_auth_api/RegisterApiClient.spec.ts154 challenge_target: "user@example.com",CODE
LOW…twork_client/custom_auth_api/RegisterApiClient.spec.ts167 challenge_target: "user@example.com",CODE
LOW…tom_auth/core/interaction_client/mfa/MfaClient.spec.ts140 challenge_target_label: "user@example.com",CODE
LOW…tom_auth/core/interaction_client/mfa/MfaClient.spec.ts161 "user@example.com"CODE
LOW⚡…tom_auth/core/interaction_client/jit/JitClient.spec.ts111 login_hint: "user@example.com",CODE
LOW⚡…tom_auth/core/interaction_client/jit/JitClient.spec.ts118 verificationContact: "user@example.com",CODE
LOW⚡…tom_auth/core/interaction_client/jit/JitClient.spec.ts128 challenge_target: "user@example.com",CODE
LOW…tom_auth/core/interaction_client/jit/JitClient.spec.ts180 challenge_target: "user@example.com",CODE
LOW…tom_auth/core/interaction_client/jit/JitClient.spec.ts197 expect(result.challengeTargetLabel).toBe("user@example.com");CODE
LOW…tom_auth/core/interaction_client/jit/JitClient.spec.ts208 challenge_target: "user@example.com",CODE
LOW…/interaction_client/jit/result/JitActionResult.spec.ts25 login_hint: "user@example.com",CODE
LOW…/interaction_client/jit/result/JitActionResult.spec.ts37 challengeTargetLabel: "user@example.com",CODE
LOW…/interaction_client/jit/result/JitActionResult.spec.ts45 expect(result.challengeTargetLabel).toBe("user@example.com");CODE
LOW…/custom_auth/core/auth_flow/mfa/state/MfaState.spec.ts40 login_hint: "user@example.com",CODE
LOW…/custom_auth/core/auth_flow/mfa/state/MfaState.spec.ts110 challengeTargetLabel: "user@example.com",CODE
LOW…/custom_auth/core/auth_flow/mfa/state/MfaState.spec.ts128 expect(verificationState.getSentTo()).toBe("user@example.com");CODE
LOW…/custom_auth/core/auth_flow/mfa/state/MfaState.spec.ts219 challengeTargetLabel: "user@example.com",CODE
LOW…/custom_auth/core/auth_flow/mfa/state/MfaState.spec.ts242 expect(state.getSentTo()).toBe("user@example.com");CODE
LOW…uth_flow/jit/state/AuthMethodRegistrationState.spec.ts32 login_hint: "user@example.com",CODE
LOW…uth_flow/jit/state/AuthMethodRegistrationState.spec.ts76 verificationContact: "user@example.com",CODE
LOW…uth_flow/jit/state/AuthMethodRegistrationState.spec.ts96 verificationContact: "user@example.com",CODE
139 more matches not shown…
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM.pipelines/nightly-build.yml47 # ══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.pipelines/nightly-build.yml54 # ══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.pipelines/nightly-build.yml109 # ══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.pipelines/nightly-build.yml115 # ══════════════════════════════════════════════════════════════════════════COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…l-browser-samples/OfficeAddin/src/commands/commands.js25 Office.context.mailbox.item.notificationMessages.replaceAsync("action", message);CODE
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…mples/msal-node-samples/auth-code-cli-app/src/index.js15 // You can open a browser window with any library or method you wish to use - the 'open' npm package is used here foCOMMENT
MEDIUM…s/on-behalf-of-distributed-cache/src/TokenValidator.ts17 * Provides basic validation for JWT access tokens. This is for demonstration purposes only.COMMENT
MEDIUM…l-node-samples/auth-code-cli-brokered-app/src/index.js15 // You can open a browser window with any library or method you wish to use - the 'open' npm package is used here foCOMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHlib/msal-common/test/protocol/Authorize.spec.ts791 it("Ignores sid if prompt!=None", async () => {CODE
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMlib/msal-common/src/utils/Constants.ts103 ACTIVE_ACCOUNT_FILTERS: "active-account-filters", // new cache entry for active_account for a more robust version foCODE
MEDIUM…rc/interaction_client/PlatformAuthInteractionClient.ts385 // leverage silent flow for cached tokens retrievalCOMMENT
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsamples/msal-react-samples/nextjs-sample/next-env.d.ts1/// <reference types="next" />COMMENT
LOW…es/msal-react-samples/nextjs-sample/pages/_document.js21 </body>COMMENT
LOW…es/msal-react-samples/nextjs-sample/pages/_document.js41 // 1. document.getInitialPropsCOMMENT