RepoTrust

yangfuhai/ASimpleCache

a simple cache for android and java

https://github.com/yangfuhai/ASimpleCache · commit 7935b04751aa · 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 44% 100%
Code quality 49 poor 90% 100%
Security 74 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2013-07 1,476 0%
2013-08 2,693 0%
2013-12 199 0%
2014-05 84 0%

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; 0% of function code in complex or long functions; 69% duplicated lines. Weakest area: testing.

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

Security

Security posture is adequate: no high-impact findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 79
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
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] AsimpleCacheDemo/ASimpleCache/org/afinal/simplecache/ACache.java:479
medium opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] AsimpleCacheDemo/AndroidManifest.xml:18
medium opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] AsimpleCacheDemo/bin/AndroidManifest.xml:18
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] source/src/org/afinal/simplecache/ACache.java:424

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 2,572

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/yangfuhai/ASimpleCache/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/yangfuhai/ASimpleCache/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/yangfuhai/ASimpleCache/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/yangfuhai/ASimpleCache/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/yangfuhai/ASimpleCache/security.svg)](https://repotrust.synapticcyber.com/r/github.com/yangfuhai/ASimpleCache/)