sgoedecke/deckard
Local AI-text detection for your browser.
- Repository: https://github.com/sgoedecke/deckard
- Commit:
24a0f44ed57e2daaab47f02ad0ca14662bf4c610 - Generated: 2026-11-13T23:54:22+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
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.
- Explicitly attributed share (lower bound): 99.8%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 99.8%
| 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.
- Stylometry index: 0.05 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 1). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-09 | 15,441 | 100% |
| 2026-10 | 2,449 | 100% |
| 2026-11 | 270 | 87% |
Evidence
- Claude Code: trailer 'Co-authored-by: Claude' (24a0f44ed57e)
- Claude Code: trailer 'Co-authored-by: Claude' (01fd60b14244)
- Claude Code: trailer 'Co-authored-by: Claude' (d0be4e1ec9aa)
- Claude Code: trailer 'Co-authored-by: Claude' (84b167fef256)
- Claude Code: trailer 'Co-authored-by: Claude' (75447b45cb53)
- GitHub Copilot coding agent: trailer 'Co-authored-by: Copilot' (a1b760899d3e)
- GitHub Copilot coding agent: trailer 'Co-authored-by: Copilot' (6798963a4483)
- Claude Code: trailer 'Co-Authored-By: Claude' (bed47fd88946)
- Claude Code: trailer 'Co-Authored-By: Claude' (c674fcea4476)
- Claude Code: trailer 'Co-Authored-By: Claude' (02bd181949f2)
- Claude Code: trailer 'Co-Authored-By: Claude' (2f3684c8200b)
- GitHub Copilot coding agent: trailer 'Co-authored-by: Copilot' (97e1a48155d9)
- GitHub Copilot coding agent: trailer 'Co-authored-by: Copilot' (0a6a6917d097)
- GitHub Copilot coding agent: trailer 'Co-authored-by: Copilot' (a3f97233721b)
- GitHub Copilot coding agent: trailer 'Co-authored-by: Copilot' (fc88e9cac133)
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 |
- Functions: 559; mean complexity 5.7, 90th percentile 13; 46 complex and 8 long functions
- Duplicated lines: 1.3% of 8,066 compared
- Tests: 7,300 test lines for 9,900 source lines (ratio 0.74); CI test commands: npm test, npm run test; 100% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- aihider::uninstall in native-cli/src/main.cpp: complexity 83, 135 lines
- aihider::recover_setup in native-cli/src/setup.cpp: complexity 75, 116 lines
- scan in extension/content.js: complexity 72, 147 lines
- aihider::install in native-cli/src/main.cpp: complexity 60, 195 lines
- compress in native-cli/coreml/q4.py: complexity 53, 137 lines
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 |
-
Known vulnerabilities: 39 in 9 packages (critical 4, high 13, medium 16, low 3)
-
Posture checks passed: none; missing: security policy, dependency updates, signed commits, lockfiles
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
- binary-release-asset: release v0.6.4 ships deckard-v0.6.4-macos-arm64-app.tar.gz (6 downloads)
- binary-release-asset: release v0.6.4 ships deckard-v0.6.4-macos-arm64.tar.gz (19 downloads)
- binary-release-asset: release v0.6.3 ships deckard-v0.6.3-macos-arm64-app.tar.gz (3 downloads)
- binary-release-asset: release v0.6.3 ships deckard-v0.6.3-macos-arm64.tar.gz (6 downloads)
- binary-release-asset: release v0.6.2 ships deckard-v0.6.2-macos-arm64.tar.gz (2 downloads)
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
- Source lines: 9,900; test lines: 7,300
| Language | Lines |
|---|---|
| JavaScript | 8,033 |
| Python | 4,084 |
| C++ | 3,740 |
| Rust | 745 |
| Shell | 598 |