Generate massive amounts of fake data in the browser and node.js
This report summarizes scanner evidence for faker-js/faker, a TypeScript project with 15,539 GitHub stars. SynthScan examined 274,767 lines of code across 3740 source files, recording 82 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.4 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 77 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 57 finding(s).
Which changes need focused human review? 82 finding(s).
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.
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.
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.
The scanner identified 82 distinct pattern matches across 7 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/exports.spec.ts | 155 | function collectExportsRecursively( | CODE |
| LOW | test/locale-data.spec.ts | 77 | function invisibleCharacterEntries(data: unknown, path: string = ''): string[] { | CODE |
| LOW | docs/guide/randomizer.md | 120 | export function generatePureRandRandomizer( | CODE |
| LOW | docs/.vitepress/versions.ts | 16 | function readOtherLatestReleaseTagNames(): string[] { | CODE |
| LOW | docs/.vitepress/config.ts | 26 | function getSidebarWithExpandedEntry(entryToExpand: string): SidebarItem[] { | CODE |
| LOW | scripts/generate-locales.ts | 116 | async function generateLocaleDocumentation(locale: string): Promise<void> { | CODE |
| LOW | scripts/generate-locales.ts | 247 | async function generateRecursiveModuleIndexes( | CODE |
| LOW | scripts/apidocs/processing/parameter.ts | 75 | function processTypeParameterEntry( | CODE |
| LOW | scripts/apidocs/processing/parameter.ts | 234 | function processComplexParameterProperty( | CODE |
| LOW | scripts/apidocs/processing/method.ts | 150 | export function processDistributorFunctions( | CODE |
| LOW | scripts/apidocs/processing/class.ts | 203 | export function processProjectDistributors(project: Project): RawApiDocsPage { | CODE |
| LOW | scripts/apidocs/processing/type.ts | 243 | export function getShadowTypeDescriptions( | CODE |
| LOW | scripts/apidocs/processing/type.ts | 290 | export function attachShadowTypeDescriptions( | CODE |
| LOW | scripts/apidocs/processing/type.ts | 400 | export function newFakerOptionsLocaleType(): RawApiDocsUnionType { | CODE |
| LOW | scripts/apidocs/processing/jsdocs.ts | 107 | function getExactlyOneTagFromJSDoc(jsdocs: JSDoc, type: string): string { | CODE |
| LOW | src/randomizer.ts | 18 | * function generatePureRandRandomizer( | COMMENT |
| LOW | src/modules/commerce/product-adjective.ts | 16 | export function fakeCommerceProductAdjective(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/commerce/product-description.ts | 16 | export function fakeCommerceProductDescription(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/commerce/product-material.ts | 16 | export function fakeCommerceProductMaterial(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/database/mongodb-object-id.ts | 16 | export function fakeDatabaseMongodbObjectId(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/location/building-number.ts | 17 | export function fakeLocationBuildingNumber(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/location/ordinal-direction.ts | 20 | export function fakeLocationOrdinalDirection( | CODE |
| LOW | src/modules/location/secondary-address.ts | 18 | export function fakeLocationSecondaryAddress(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/location/cardinal-direction.ts | 20 | export function fakeLocationCardinalDirection( | CODE |
| LOW | src/modules/location/street-address.ts | 22 | export function fakeLocationStreetAddress( | CODE |
| LOW | src/modules/location/nearby-gps-coordinate.ts | 25 | export function fakeLocationNearbyGPSCoordinate( | CODE |
| LOW | src/modules/location/postal-address.ts | 34 | export function fakeLocationPostalAddress(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/color/css-supported-function.ts | 36 | export function fakeColorCssSupportedFunction( | CODE |
| LOW | src/modules/color/css-supported-space.ts | 32 | export function fakeColorCssSupportedSpace(fakerCore: FakerCore): CssSpaceType { | CODE |
| LOW | src/modules/color/color-by-csscolor-space.ts | 23 | export function fakeColorColorByCSSColorSpace(fakerCore: FakerCore): number[]; | CODE |
| LOW | src/modules/color/color-by-csscolor-space.ts | 41 | export function fakeColorColorByCSSColorSpace( | CODE |
| LOW | src/modules/color/color-by-csscolor-space.ts | 74 | export function fakeColorColorByCSSColorSpace( | CODE |
| LOW | src/modules/color/color-by-csscolor-space.ts | 109 | export function fakeColorColorByCSSColorSpace( | CODE |
| LOW | src/modules/color/color-by-csscolor-space.ts | 127 | export function fakeColorColorByCSSColorSpace( | CODE |
| LOW | src/modules/science/chemical-element.ts | 36 | export function fakeScienceChemicalElement( | CODE |
| LOW | src/modules/system/network-interface.ts | 36 | export function fakeSystemNetworkInterface( | CODE |
| LOW | src/modules/internet/http-status-code.ts | 26 | export function fakeInternetHttpStatusCode( | CODE |
| LOW | src/modules/finance/credit-card-issuer.ts | 16 | export function fakeFinanceCreditCardIssuer(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/finance/currency-numeric-code.ts | 17 | export function fakeFinanceCurrencyNumericCode(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/finance/bitcoin-address.ts | 95 | export function fakeFinanceBitcoinAddress( | CODE |
| LOW | src/modules/finance/credit-card-number.ts | 21 | export function fakeFinanceCreditCardNumber( | CODE |
| LOW | src/modules/finance/credit-card-number.ts | 41 | export function fakeFinanceCreditCardNumber( | CODE |
| LOW | src/modules/finance/credit-card-number.ts | 69 | export function fakeFinanceCreditCardNumber( | CODE |
| LOW | src/modules/finance/credit-card-number.ts | 99 | export function fakeFinanceCreditCardNumber( | CODE |
| LOW | src/modules/finance/transaction-description.ts | 17 | export function fakeFinanceTransactionDescription( | CODE |
| LOW | src/modules/finance/ethereum-address.ts | 18 | export function fakeFinanceEthereumAddress(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/finance/litecoin-address.ts | 17 | export function fakeFinanceLitecoinAddress(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/finance/currency-symbol.ts | 19 | export function fakeFinanceCurrencySymbol(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/finance/transaction-type.ts | 16 | export function fakeFinanceTransactionType(fakerCore: FakerCore): string { | CODE |
| LOW | …/modules/helpers/_legacy-replace-symbol-with-number.ts | 24 | export function legacyReplaceSymbolWithNumber( | CODE |
| LOW | src/modules/helpers/from-reg-exp.ts | 17 | function replaceUnquantifiedRegExpTokens( | CODE |
| LOW | src/modules/helpers/from-reg-exp.ts | 95 | function getRepetitionsBasedOnQuantifierParameters( | CODE |
| LOW | src/modules/helpers/replace-credit-card-symbols.ts | 118 | export function fakeHelpersReplaceCreditCardSymbols( | CODE |
| LOW | src/modules/helpers/replace-symbols.ts | 27 | export function fakeHelpersReplaceSymbols( | CODE |
| LOW | src/modules/company/catch-phrase-noun.ts | 16 | export function fakeCompanyCatchPhraseNoun(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/company/catch-phrase-descriptor.ts | 16 | export function fakeCompanyCatchPhraseDescriptor(fakerCore: FakerCore): string { | CODE |
| LOW | src/modules/company/catch-phrase-adjective.ts | 16 | export function fakeCompanyCatchPhraseAdjective(fakerCore: FakerCore): string { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/contributing/set-up-a-development-environment.md | 10 | ## Step 1: Fork and Clone the Repository | COMMENT |
| LOW | docs/contributing/set-up-a-development-environment.md | 33 | ## Step 2: Choose Your Development Setup | COMMENT |
| LOW | docs/contributing/set-up-a-development-environment.md | 60 | ## Step 3: Verify Your Changes Locally | COMMENT |
| LOW | docs/contributing/set-up-a-development-environment.md | 91 | ## Step 4: Submit a Pull Request | COMMENT |
| LOW⚡ | docs/contributing/submit-a-pull-request.md | 7 | ## Step 1: Ensure Your Branch is Up-to-Date | COMMENT |
| LOW⚡ | docs/contributing/submit-a-pull-request.md | 17 | ## Step 2: Create a New Branch | COMMENT |
| LOW⚡ | docs/contributing/submit-a-pull-request.md | 27 | ## Step 3: Make Your Changes | COMMENT |
| LOW⚡ | docs/contributing/submit-a-pull-request.md | 32 | ## Step 4: Run Preflight Checks | COMMENT |
| LOW | docs/contributing/submit-a-pull-request.md | 59 | ## Step 5: Commit and Push Your Changes | COMMENT |
| LOW | docs/contributing/submit-a-pull-request.md | 73 | ## Step 6: Open a Pull Request | COMMENT |
| LOW | docs/contributing/submit-a-pull-request.md | 198 | ## Step 7: Address Feedback and Iterate | COMMENT |
| LOW | docs/contributing/submit-a-pull-request.md | 208 | ## Step 8: Celebrate Your Contribution! 🎉 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/locales/id_ID/word/adjective.ts | 332 | 'kokoh', // robust / sturdy | CODE |
| MEDIUM | src/modules/company/catch-phrase-noun.ts | 10 | * fakeCompanyCatchPhraseNoun(fakerCore) // 'leverage' | COMMENT |
| MEDIUM | src/modules/company/module.ts | 96 | * faker.company.catchPhraseNoun() // 'leverage' | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | package.json | 45 | "fake-data", | CODE |
| LOW | package.json | 47 | "fake-data-generator", | CODE |
| LOW | scripts/apidocs/output/page.ts | 178 | const refresh = async () => ['refresh', name, 'placeholder']; | CODE |
| LOW | src/modules/lorem/module.ts | 18 | * Generate dummy content using traditional faux-Latin [lorem ipsum](https://en.wikipedia.org/wiki/Lorem_ipsum) (in othe | COMMENT |
| LOW | src/modules/hacker/module.ts | 21 | * - [faker.lorem](https://fakerjs.dev/api/lorem.html) uses faux-Latin "lorem ipsum" text. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/modules/finance-iban.spec.ts | 81 | ).toMatch(/^\d{16}$/); | COMMENT |
| LOW | test/modules/finance-iban.spec.ts | 341 | }); | COMMENT |
| LOW | docs/about/announcements/2024-10-26.md | 61 | }); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/locales/id_ID/word/noun.ts | 672 | 'perancah', // scaffold | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/modules/finance.spec.ts | 493 | //TODO: implement checks for each format with regexp | COMMENT |