RepoTrust

MuzafferH/prisma-decision-engine

PRISMA — Decision intelligence engine. 1,000 futures. One decision.

https://github.com/MuzafferH/prisma-decision-engine · commit 9100d38c2279 · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

unreviewed-ai-risk

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

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

Scores

Unreviewed AI code risk: a large share of this code is explicitly AI-attributed, and its tests or review process are weak while quality or security scores are low.

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 93 explicit 92% 100%
Code quality 36 poor 90% 100%
Security 86 strong 85% 100%

AI provenance

Explicit AI attribution on 93% of first-party code added; an estimated 93% including velocity signals.

AI tool Attributed commits Lines added
Claude Code 82 12,226

Current source lines last changed by AI-attributed commits: 10,132 of 10,899.

Findings per 1,000 lines AI-attributed Other Ratio
Quality 0.493 2.608 0.19x
Security 0.296 1.304 0.23x
Month Lines added Attributed to AI
2026-02 13,205 93%

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

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

Most complex functions:

Security

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

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

Top findings

Severity Finding Location
low opengrep/javascript.lang.security.audit.unsafe-formatstring: Detected string concatenation with a non-literal variable in a util.format / console.log function. If an attacker injects a format specifier in the string, it will forge the log message. Try to use constant values for the format string. [confidence low] engines/carlo.js:165
low opengrep/javascript.lang.security.audit.unsafe-formatstring: Detected string concatenation with a non-literal variable in a util.format / console.log function. If an attacker injects a format specifier in the string, it will forge the log message. Try to use constant values for the format string. [confidence low] public/js/carlo.js:277
low opengrep/javascript.lang.security.audit.unsafe-formatstring: Detected string concatenation with a non-literal variable in a util.format / console.log function. If an attacker injects a format specifier in the string, it will forge the log message. Try to use constant values for the format string. [confidence low] public/js/carlo.js:355
low opengrep/javascript.lang.security.audit.unsafe-formatstring: Detected string concatenation with a non-literal variable in a util.format / console.log function. If an attacker injects a format specifier in the string, it will forge the log message. Try to use constant values for the format string. [confidence low] public/js/carlo.js:453

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
JavaScript 10,899

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