Ace (Ajax.org Cloud9 Editor)
This report summarizes scanner evidence for ajaxorg/ace, a JavaScript project with 27,135 GitHub stars. SynthScan examined 287,787 lines of code across 1289 source files, recording 122 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 0.8 (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? 72 finding(s).
Are imports declared and package/API names verified? 47 finding(s).
Are wrappers, guards, and repeated structures necessary? 43 finding(s).
Which changes need focused human review? 122 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 122 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | doc/site/js/jquery.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | src/autocomplete_test.js | 510 | assert.ok(editor.completer.popup.renderer.container.classList.contains("ace_empty-message")); | CODE |
| CRITICAL | src/autocomplete_test.js | 541 | assert.ok(editor.completer.popup.renderer.container.classList.contains("ace_empty-message")); | CODE |
| CRITICAL | src/autocomplete_test.js | 550 | assert.ok(!editor.completer.popup.renderer.container.classList.contains("ace_empty-message")); | CODE |
| CRITICAL | src/autocomplete_test.js | 1073 | return completer.popup.renderer.container.classList.contains("ace_loading"); | CODE |
| CRITICAL | src/autocomplete_test.js | 1104 | return completer.popup.renderer.container.classList.contains("ace_loading"); | CODE |
| CRITICAL | src/autocomplete_test.js | 1133 | return completer.popup.renderer.container.classList.contains("ace_loading"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/kitchen-sink/demo.js | 205 | cmdLine.setOption("placeholder", "Enter a command..."); | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 3 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nul | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 7 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 7 | Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assu | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 11 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW⚡ | demo/kitchen-sink/docs/plaintext.txt | 11 | At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ip | CODE |
| LOW | experiments/basic_animation.html | 95 | <div id="top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 95 | <div id="top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 116 | <div id="slide-top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 116 | <div id="slide-top">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 136 | <div id="slide-bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 136 | <div id="slide-bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 157 | <div id="bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | experiments/basic_animation.html | 157 | <div id="bottom">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, | CODE |
| LOW | src/token_iterator_test.js | 65 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit,", | CODE |
| LOW | src/token_iterator_test.js | 65 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit,", | CODE |
| LOW⚡ | src/virtual_renderer_test.js | 317 | editor.setOption("placeholder", "hello"); | CODE |
| LOW⚡ | src/virtual_renderer_test.js | 320 | editor.setOption("placeholder", "new"); | CODE |
| LOW⚡ | src/virtual_renderer_test.js | 327 | editor.setOption("placeholder", "only visible for empty value"); | CODE |
| LOW⚡ | src/editor_highlight_selected_word_test.js | 12 | var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | src/editor_highlight_selected_word_test.js | 12 | var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | src/editor_highlight_selected_word_test.js | 22 | "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " + | CODE |
| LOW⚡ | src/editor_highlight_selected_word_test.js | 22 | "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " + | CODE |
| LOW | src/mode/html_completions.js | 144 | "accept": 1, "alt": 1, "autocomplete": {"on": 1, "off": 1}, "autofocus": {"autofocus": 1}, "checked": {"checked" | CODE |
| LOW | src/mode/html_completions.js | 189 | "textarea": {"autofocus": {"autofocus": 1}, "disabled": {"disabled": 1}, "form": 1, "maxlength": 1, "name": 1, "plac | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 3 | ["text","Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 3 | ["text","Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 8 | ["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 8 | ["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 18 | ["text","Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 18 | ["text","Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 28 | ["text","At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus e | CODE |
| LOW⚡ | src/mode/_test/tokens_text.json | 28 | ["text","At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus e | CODE |
| LOW | src/ext/prompt.js | 142 | cmdLine.setOption("placeholder", options.placeholder); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Makefile.dryice.js | 184 | function correctDeclarationsForBuild(path, additionalDeclarations) { | CODE |
| LOW | types/ace-lib.d.ts | 118 | export function addMultiMouseDownListener(elements: any, timeouts: any, eventHandler: any, callbackName: any, destro | CODE |
| LOW | types/ace-modules.d.ts | 3273 | export function retrievePrecedingIdentifier(text: any, pos: any, regex: any): string; | CODE |
| LOW | types/ace-modules.d.ts | 3274 | export function retrieveFollowingIdentifier(text: any, pos: any, regex: any): any[]; | CODE |
| LOW | types/ace-modules.d.ts | 5037 | export function IncrementalSearchKeyboardHandler(iSearch: any): void; | CODE |
| LOW | types/ace-ext.d.ts | 1014 | export function getEditorKeybordShortcuts(editor: import("ace-code/src/editor").Editor): any[]; | CODE |
| LOW | experiments/transform.html | 219 | function updateTransformFromLocators() { | CODE |
| LOW | lib/ace/mode/coffee/coffee.js | 10 | var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return | CODE |
| LOW | tool/tmlanguage.js | 99 | function convertToNonCapturingGroups(str) { | CODE |
| LOW | tool/tmlanguage.js | 108 | function simplifyNonCapturingGroups(str) { | CODE |
| LOW | tool/modes-declaration-generator.js | 111 | function generateModuleDeclarations(dirPath) { | CODE |
| LOW | tool/modes-declaration-generator.js | 160 | function generateModesDeclarationFile() { | CODE |
| LOW | tool/ace_declaration_generator.js | 37 | function getParsedConfigFromDirectory(directoryPath) { | CODE |
| LOW | tool/ace_declaration_generator.js | 58 | function generateInitialDeclaration(excludeDir) { | CODE |
| LOW | tool/ace_declaration_generator.js | 158 | function updateKeysAndLinksStatements(node, internalStatements) { | CODE |
| LOW | tool/ace_declaration_generator.js | 179 | function updateModuleWithInternalStatements(node, internalStatements) { | CODE |
| LOW | tool/ace_declaration_generator.js | 475 | function createMinimalLanguageServiceHost() { | CODE |
| LOW | tool/ace_declaration_generator.js | 660 | function updateDeclarationModuleNames(content) { | CODE |
| LOW | src/edit_session_test.js | 357 | function computeAndAssert(line, assertEqual, wrapLimit, tabSize) { | CODE |
| LOW | src/ext/diff/base_diff_view.js | 1039 | function inlineChangeSpansLineChange(changeRange, lineRange, session) { | CODE |
| LOW | src/ext/diff/diff_test.js | 703 | function assertDecoratorsPlacement(editor, inlineDiff) { | CODE |
| LOW | src/ext/diff/providers/default.js | 195 | function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) { | CODE |
| LOW | src/ext/diff/providers/default.js | 792 | function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1080 | function reportDecreasingAligningPositions(s12, s22) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1280 | function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1357 | function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1401 | function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs, findParent, force = false) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1472 | function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1508 | function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1814 | function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) { | CODE |
| LOW | src/ext/diff/providers/default.js | 1995 | function joinCloseConsecutiveMoves(moves) { | CODE |
| LOW | src/ext/diff/providers/default.js | 2099 | function getOrCreateHash(text) { | CODE |
| LOW | src/ext/diff/providers/default.js | 2287 | function getOrCreateHash(text) { | CODE |
| LOW | src/ext/diff/providers/default.js | 2351 | function toDetailedLineRangeMapping(sequenceDiff) { | CODE |
| LOW | src/lib/event.js | 10 | function detectListenerOptionsSupport() { | CODE |
| LOW | src/commands/incremental_search_commands.js | 134 | function IncrementalSearchKeyboardHandler(iSearch) { | CODE |
| LOW | src/keyboard/vim.js | 965 | function updateSelectionForSurrogateCharacters(cm, curStart, curEnd) { | CODE |
| LOW | src/keyboard/vim.js | 4554 | function findFirstNonWhiteSpaceCharacter(text) { | CODE |
| LOW | src/keyboard/vim.js | 4676 | function recordLastCharacterSearch(increment, args) { | CODE |
| LOW | src/keyboard/vim.js | 5900 | function findNextFromAndToInclusive(cm, prev, query, repeat, vim) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | demo/kitchen-sink/docs/terraform.tf | 57 | # Define the common tags for all resources | COMMENT |
| MEDIUM | demo/kitchen-sink/docs/terraform.tf | 65 | # Create a resource that blends the common tags with instance-specific tags. | COMMENT |
| MEDIUM | src/snippets/java.snippets.js | 84 | ## Create a Method | COMMENT |
| MEDIUM | src/snippets/java.snippets.js | 88 | ## Create a Variable | COMMENT |
| MEDIUM | src/snippets/edifact.snippets.js | 84 | ## Create a Method | COMMENT |
| MEDIUM | src/snippets/edifact.snippets.js | 88 | ## Create a Variable | COMMENT |
| MEDIUM | src/snippets/wollok.snippets.js | 38 | ## Create a Method | COMMENT |
| MEDIUM | src/mode/_test/tokens_mips.json | 25 | ["comment.assembly","# Define the program instructions."] | CODE |
| MEDIUM | src/mode/_test/tokens_mips.json | 83 | ["comment.assembly","# Define the program data."] | CODE |
| MEDIUM | src/mode/_test/tokens_velocity.json | 45 | ["comment","## Define the items to iterate"] | CODE |
| MEDIUM | src/mode/_test/tokens_terraform.json | 380 | ["singleline.comment.terraform","# Define the common tags for all resources"] | CODE |
| MEDIUM | src/mode/_test/tokens_terraform.json | 420 | ["singleline.comment.terraform","# Create a resource that blends the common tags with instance-specific tags."] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | _config.yml | 1 | # Config file for Jekyll, which is used by GH pages to build the Ace website. | COMMENT |
| LOW | lib/ace/mode/xquery/jsoniq_lexer.js | 121 | lookahead1W(14); // ModuleDecl | Annotation | OptionDecl | Operator | Variable | Tag | AttrTest | | COMMENT |
| LOW | lib/ace/mode/xquery/jsoniq_lexer.js | 581 | // 'and' | 'as' | 'ascending' | 'at' | 'attribute' | 'base-uri' | 'before' | | COMMENT |
| LOW | lib/ace/mode/xquery/jsoniq_lexer.js | 601 | whitespace(); | COMMENT |
| LOW | lib/ace/mode/xquery/xquery_lexer.js | 121 | lookahead1W(14); // ModuleDecl | Annotation | OptionDecl | Operator | Variable | Tag | AttrTest | | COMMENT |
| LOW | lib/ace/mode/xquery/xquery_lexer.js | 581 | // 'and' | 'as' | 'ascending' | 'at' | 'attribute' | 'base-uri' | 'before' | | COMMENT |
| LOW | lib/ace/mode/xquery/xquery_lexer.js | 601 | whitespace(); | COMMENT |
| LOW | tool/wrap_keyword_regexp.js | 1 | // a little script to turn giant keyword regexps into | COMMENT |
| LOW | src/virtual_renderer.js | 161 | this.updateCharacterSize(); | COMMENT |
| LOW | src/snippets/velocity.snippets.js | 1 | module.exports = `# macro | COMMENT |
| LOW | src/test/asyncjs/assert.js | 1 | // http://wiki.commonjs.org/wiki/Unit_Testing/1.0 | COMMENT |
| LOW | src/test/asyncjs/assert.js | 21 | // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | COMMENT |
| LOW | src/mode/csound_preprocessor_highlight_rules.js | 61 | { | COMMENT |
| LOW | src/ext/textarea.js | 101 | // properties have to get recomputed to get the new/true pixels. | COMMENT |
| LOW | src/keyboard/vim.js | 1521 | function maybeInitVimState(cm) { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/snippets/python.snippets.js | 62 | elif \${1:condition}: | CODE |
| HIGH | src/snippets/python.snippets.js | 157 | elif option in ("-v", "--verbose"): | CODE |
| HIGH | src/snippets/sh.snippets.js | 10 | elif [[ \${1:condition} ]]; then | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/snippets/sh.snippets.js | 51 | #=============================================================================== | COMMENT |
| MEDIUM | src/snippets/sh.snippets.js | 65 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/snippets/sh.snippets.js | 67 | #----------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | index.html | 338 | <p>Here's how you can perform a replace:</p> | CODE |
| MEDIUM | index.html | 655 | <p>You'll be defining your code folding rules into the <em>lib/ace/mode/folding</em> fol | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/kitchen-sink/docs/perl.pl | 17 | # Check if the current number is divisible by any previous prime | COMMENT |
| LOW | src/mode/_test/tokens_velocity.json | 80 | ["comment","## Iterate over the items and output the evens."] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/edit_session_test.js | 878 | // TODO: Add test for inseration inside of folds. | COMMENT |