RepoTrust

sgoedecke/deckard

Local AI-text detection for your browser.

https://github.com/sgoedecke/deckard · commit 24a0f44ed57e · 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) 100 explicit 77% 100%
Code quality 67 adequate 90% 100%
Security 43 poor 85% 100%

AI provenance

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

AI tool Attributed commits Lines added
GitHub Copilot coding agent 18 15,495
Claude Code 9 2,630

Current source lines last changed by AI-attributed commits: 9,900 of 9,900.

Too few lines in one group to compare finding densities.

Month Lines added Attributed to AI
2026-09 15,441 100%
2026-10 2,449 100%
2026-11 270 87%

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 adequate: test-to-source ratio 0.74, CI runs tests; 39% of function code in complex or long functions; 1% duplicated lines. Weakest area: complexity.

Area Score
Complexity (lizard) 31
Duplication 93
Code smells (Opengrep) 61
Tests and CI 90
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

Security posture is poor: 39 known vulnerabilities in 9 dependencies; 18 high-severity SAST findings; 8 high-severity workflow issues. Weakest area: posture.

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

Top findings

Severity Finding Location
critical osv/RUSTSEC-2026-0369: zip@8.6.0 (crates.io) is affected by RUSTSEC-2026-0369 native-cli/candle/Cargo.lock
critical osv/GHSA-m665-v7pm-7grj: zip@8.6.0 (crates.io) is affected by GHSA-m665-v7pm-7grj native-cli/candle/Cargo.lock
critical osv/GHSA-6q48-6c7w-9gw2: certifi@2026.7.22 (PyPI) is affected by PYSEC-2026-4320, GHSA-6q48-6c7w-9gw2 native-cli/onnx/export/requirements.txt
critical osv/GHSA-fgcw-684q-jj6r: transformers@5.2.0 (PyPI) is affected by PYSEC-2026-2290, GHSA-fgcw-684q-jj6r native-cli/onnx/export/requirements.txt
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/benchmark.py:58
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/bounded.py:11
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/bounded.py:25
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] native-cli/coreml/bounded.py:25
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/export.py:110
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'run' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] native-cli/coreml/export.py:111
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/power_compare.py:90
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] native-cli/coreml/power_compare.py:90
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/power_qos.py:24
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/profile_instruments.py:109
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] native-cli/coreml/profile_instruments.py:109
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/profile_instruments.py:128
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'run' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] native-cli/coreml/profile_instruments.py:129
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/profile_instruments.py:133
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'run' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] native-cli/coreml/profile_instruments.py:134
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] native-cli/coreml/profile_runtime.py:78
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] native-cli/coreml/report_instruments.py:8
high opengrep/python.lang.security.use-defused-xml-parse: The native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. Do not use this library to parse untrusted input. Instead the Python documentation recommends using defusedxml. [confidence medium] native-cli/coreml/report_instruments.py:12
high osv/RUSTSEC-2026-0367: zip@8.6.0 (crates.io) is affected by RUSTSEC-2026-0367 native-cli/candle/Cargo.lock
high osv/GHSA-q7v9-x93c-xqv3: zip@8.6.0 (crates.io) is affected by RUSTSEC-2026-0429, GHSA-q7v9-x93c-xqv3 native-cli/candle/Cargo.lock
high osv/GHSA-9hj8-73fh-9963: zip@8.6.0 (crates.io) is affected by GHSA-9hj8-73fh-9963 native-cli/candle/Cargo.lock

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.

Distribution signals

Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.

Repository profile

Language Lines
JavaScript 8,033
Python 4,084
C++ 3,740
Rust 745
Shell 598

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