LSPosed Framework
This report summarizes scanner evidence for LSPosed/LSPosed, a Java project with 25,279 GitHub stars. SynthScan examined 53,478 lines of code across 410 source files, recording 38 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.9 (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? 38 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 38 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 38 distinct pattern matches across 2 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 | core/src/main/jni/include/config.h | 21 | #pragma once | COMMENT |
| LOW | core/src/main/jni/include/logging.h | 21 | #ifndef _LOGGING_H | COMMENT |
| LOW | core/src/main/jni/include/logging.h | 41 | std::array<char, 1024> buf{}; | COMMENT |
| LOW | core/src/main/jni/include/macros.h | 1 | #pragma once | COMMENT |
| LOW | core/src/main/jni/include/native_util.h | 21 | #include <dlfcn.h> | COMMENT |
| LOW | …/main/jni/include/framework/androidfw/resource_types.h | 241 | COMMENT | |
| LOW | …/main/jni/include/framework/androidfw/resource_types.h | 261 | TYPE_FLOAT = 0x04, | COMMENT |
| LOW | core/src/main/jni/src/native_api.cpp | 21 | // | COMMENT |
| LOW | dex2oat/src/main/cpp/logging.h | 1 | #pragma once | COMMENT |
| LOW | dex2oat/src/main/cpp/logging.h | 21 | __FILE_NAME__, __LINE__, __PRETTY_FUNCTION__ __VA_OPT__(, ) __VA_ARGS__) | COMMENT |
| LOW | dex2oat/src/main/cpp/dex2oat.c | 21 | // Created by Nullptr on 2022/4/1. | COMMENT |
| LOW | …n/java/org/lsposed/lspd/service/LSPManagerService.java | 221 | Log.w(TAG, "cannot ensure webview dir", e); | COMMENT |
| LOW | daemon/src/main/jni/obfuscation.cpp | 21 | // Created by Kotori2 on 2021/12/1. | COMMENT |
| LOW | daemon/src/main/jni/logcat.cpp | 1 | #include "logcat.h" | COMMENT |
| LOW | daemon/src/main/jni/logging.h | 21 | #ifndef _LOGGING_H | COMMENT |
| LOW | daemon/src/main/jni/logging.h | 41 | #else | COMMENT |
| LOW | magisk-loader/magisk_module/post-fs-data.sh | 1 | # | COMMENT |
| LOW | magisk-loader/magisk_module/uninstall.sh | 1 | # | COMMENT |
| LOW | magisk-loader/magisk_module/util_functions.sh | 1 | # | COMMENT |
| LOW | magisk-loader/magisk_module/verify.sh | 1 | # | COMMENT |
| LOW | magisk-loader/magisk_module/service.sh | 1 | # | COMMENT |
| LOW | magisk-loader/magisk_module/customize.sh | 1 | # | COMMENT |
| LOW | magisk-loader/src/main/jni/api/riru.h | 1 | #ifndef RIRU_H | COMMENT |
| LOW | magisk-loader/src/main/jni/api/riru.h | 81 | #ifdef RIRU_MODULE | COMMENT |
| LOW | magisk-loader/src/main/jni/api/zygisk.h | 61 | // process will be specialized. | COMMENT |
| LOW | magisk-loader/src/main/jni/api/zygisk.h | 121 | // These values are used in Api::setOption(Option) | COMMENT |
| LOW | magisk-loader/src/main/jni/api/zygisk.h | 141 | PROCESS_GRANTED_ROOT = (1u << 0), | COMMENT |
| LOW | magisk-loader/src/main/jni/api/zygisk.h | 161 | // The root companion process is ABI aware; that is, when calling this function from a 32-bit | COMMENT |
| LOW | magisk-loader/src/main/jni/api/zygisk.h | 181 | void setOption(Option opt); | COMMENT |
| LOW | magisk-loader/src/main/jni/api/riru_main.cpp | 21 | #include <jni.h> | COMMENT |
| LOW | magisk-loader/src/main/jni/src/magisk_loader.cpp | 21 | #include <fcntl.h> | COMMENT |
| LOW | magisk-loader/src/main/jni/src/service.cpp | 21 | // Created by loves on 2/7/2021. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | magisk-loader/magisk_module/post-fs-data.sh | 2 | # This file is part of LSPosed. | COMMENT |
| MEDIUM | magisk-loader/magisk_module/uninstall.sh | 2 | # This file is part of LSPosed. | COMMENT |
| MEDIUM | magisk-loader/magisk_module/util_functions.sh | 2 | # This file is part of LSPosed. | COMMENT |
| MEDIUM | magisk-loader/magisk_module/verify.sh | 2 | # This file is part of LSPosed. | COMMENT |
| MEDIUM | magisk-loader/magisk_module/service.sh | 2 | # This file is part of LSPosed. | COMMENT |
| MEDIUM | magisk-loader/magisk_module/customize.sh | 2 | # This file is part of LSPosed. | COMMENT |