RepoTrust

litesuits/android-common

Android Common Utils or Helper. Such as Log, Averager, Base64, Check, FlashLight, KeyguardLock, LogReader, Network, SilentInstaller, TimeAverager, TimeCounter, Toastor, WakeLock, ScreenReceiver, SmsReceiver, PhoneReceiver, NotificationService, AndroidUtil, AppUtil, BitmapUtil, ByteUtil, ClassUtil, DialogUtil, FieldUtil, FileUtil, HexUtil, MD5Util, NotificationUtil, NumberUtil, PackageUtil, RandomUtil, ShellUtil, TelephoneUtil, VibrateUtil, IOUtils, FileUtils, AsyncExecutor, etc. 通用性强,纯洁简单,体积不到50K!其中包括bitmap处理,文件操作,加密存储器,shell命令,静默安装,计数器,均值器,吐司,日志,校验,提示,网络监测等基础功能,以及一些Base64、MD5、Hex、Byte、Number、Dialog、Filed、Class、Package、Telephone、Random等工具类。

https://github.com/litesuits/android-common · commit 4aa89fdf605c · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 58% 100%
Code quality 50 poor 90% 100%
Security 81 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2014-11 653 0%
2014-12 2,858 0%
2015-01 59 0%
2015-03 596 0%
2015-04 1,099 0%
2015-06 227 0%
2015-08 165 0%
2015-12 373 0%
2016-03 45 0%
2016-08 14,139 0%
2017-03 3 0%
2017-05 106 0%

Evidence

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 11% of function code in complex or long functions; 15% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 71
Duplication 42
Code smells (Opengrep) 100
Tests and CI 0
Documentation 65
Type safety n/a
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

Security posture is adequate: 1 high-severity SAST findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 97
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a

Top findings

Severity Finding Location
high opengrep/java.lang.security.audit.command-injection-process-builder: A formatted or concatenated string was detected as input to a ProcessBuilder call. This is dangerous if a variable is controlled by user input and could result in a command injection. Ensure your variables are not controlled by users or sufficiently sanitized. [confidence low] app/src/main/java/com/litesuits/common/utils/CpuUtil.java:159
medium opengrep/java.lang.security.audit.object-deserialization: Found object deserialization using ObjectInputStream. Deserializing entire Java objects is dangerous because malicious actors can create Java object streams with unintended consequences. Ensure that the objects being deserialized are not user-controlled. If this must be done, consider using HMACs to [confidence low] app/src/main/java/com/litesuits/common/utils/ByteUtil.java:22
medium opengrep/java.lang.security.audit.crypto.weak-random: Detected use of the functions Math.random() or java.util.Random(). These are both not cryptographically strong random number generators (RNGs). If you are using these RNGs to create passwords or secret tokens, use java.security.SecureRandom instead. [confidence low] app/src/main/java/com/litesuits/common/utils/RandomUtil.java:145

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Repository profile

Language Lines
Java 13,350

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/litesuits/android-common/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/litesuits/android-common/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/litesuits/android-common/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/litesuits/android-common/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/litesuits/android-common/security.svg)](https://repotrust.synapticcyber.com/r/github.com/litesuits/android-common/)