romainsimon/paperasse
馃嚝馃嚪 Skills pour agents IA sp茅cialis茅s dans la bureaucratie fran莽aise : Comptable, Notaire, ...
- Repository: https://github.com/romainsimon/paperasse
- Commit:
6fd0981cf677ae8304589f09ab4601b6c1c3eddd - Generated: 2026-11-14T00:13:51+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) | 80 | explicit | 95% | 100% |
| Code quality | 47 | poor | 90% | 100% |
| Security | 51 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 80% of first-party code added; an estimated 80% including velocity signals.
- Explicitly attributed share (lower bound): 79.5%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 79.5%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 92 | 17,254 |
| OpenAI Codex | 1 | 0 |
Current source lines last changed by AI-attributed commits: 15,628 of 19,624.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 3.263 | 1.001 | 3.26x |
| Security | 7.231 | 5.506 | 1.31x |
- Stylometry index: 2.14 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 84). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-02 | 412 | 100% |
| 2026-03 | 4,515 | 100% |
| 2026-04 | 3,401 | 68% |
| 2026-07 | 222 | 6% |
| 2026-11 | 13,145 | 76% |
Evidence
- Claude Code: PR branch 'claude/bilan-depreciations-169' (6fd0981cf677)
- Claude Code: PR branch 'claude/syndic-plan-comptable-copro' (1dbeaaec5841)
- Claude Code: trailer 'Co-Authored-By: Claude' (ea7e07b64981)
- Claude Code: trailer 'Co-Authored-By: Claude' (c561fab096a6)
- Claude Code: trailer 'Co-Authored-By: Claude' (a3345ab00ef0)
- Claude Code: trailer 'Co-Authored-By: Claude' (efbb4a8d51be)
- Claude Code: PR branch 'claude/directory-real-files' (72dd17e4459f)
- Claude Code: PR branch 'claude/directory-plugin-manifest' (d49a2142fb60)
- Claude Code: PR description attribution (bc019ea8e8c6)
- Claude Code: PR branch 'claude/conservation-10-ans' (5f8c41df8382)
- Claude Code: PR description attribution (23e2663f6e60)
- Claude Code: PR branch 'claude/fiscaliste-description-1024' (482d6033c39d)
- Claude Code: PR branch 'claude/square-logo' (c2461162e278)
- Claude Code: PR branch 'claude/readme-agents-grok-bot' (f7bdac2e86bf)
- Claude Code: PR branch 'claude/comptable-parse-einvoice-doc' (1db6fe9fdb42)
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.07, CI runs tests; 25% of function code in complex or long functions; 80% duplicated lines. Weakest area: type safety.
| Area | Score |
|---|---|
| Complexity (lizard) | 46 |
| Duplication | 1 |
| Code smells (Opengrep) | 58 |
| Tests and CI | 65 |
| Documentation | 80 |
| Type safety | 0 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 1,036; mean complexity 3.7, 90th percentile 8; 40 complex and 12 long functions
- Duplicated lines: 80.4% of 14,980 compared
- Tests: 1,345 test lines for 19,624 source lines (ratio 0.07); CI test commands: npm run test; 16% of recent source commits also change tests
- Docs missing or thin: changelog
Most complex functions:
- generateInvoiceHTML in comptable/scripts/generate-facturx.js: complexity 50, 98 lines
- generateInvoiceHTML in scripts/generate-facturx.js: complexity 50, 98 lines
- generateBilan in comptable/scripts/generate-statements.js: complexity 47, 207 lines
- generateBilan in scripts/generate-statements.js: complexity 47, 207 lines
- main in evals/run_evals.py: complexity 43, 156 lines
Security
Security posture is weak: 26 known vulnerabilities in 7 dependencies; 1 high-severity SAST findings; 19 high-severity workflow issues. Weakest area: ci actions.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 97 |
| Static analysis (Opengrep) | 54 |
| Vulnerable dependencies (OSV) | 43 |
| CI workflows (zizmor) | 2 |
| Posture (policy, updates, signing, lockfiles) | 20 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 26 in 7 packages (critical 0, high 13, medium 13, low 0)
-
Posture checks passed: signed commits, lockfiles; missing: security policy, dependency updates
Top findings
| Severity | Finding | Location |
|---|---|---|
| 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] |
evals/run_evals.py:497 |
| high | osv/GHSA-6v7q-wjvx-w8wg: [email protected] (npm) is affected by GHSA-6v7q-wjvx-w8wg |
package-lock.json |
| high | osv/GHSA-c475-qrg2-pj4r: [email protected] (npm) is affected by GHSA-c475-qrg2-pj4r |
package-lock.json |
| high | osv/GHSA-chqc-8p9q-pq6q: [email protected] (npm) is affected by GHSA-chqc-8p9q-pq6q |
package-lock.json |
| high | osv/GHSA-rp42-5vxx-qpwr: [email protected] (npm) is affected by GHSA-rp42-5vxx-qpwr |
package-lock.json |
| high | osv/GHSA-rpmf-866q-6p89: [email protected] (npm) is affected by GHSA-rpmf-866q-6p89 |
package-lock.json |
| high | osv/GHSA-7pqw-9j4j-h8q3: [email protected] (npm) is affected by GHSA-7pqw-9j4j-h8q3 |
package-lock.json |
| high | osv/GHSA-jmr9-qjv8-65gv: [email protected] (npm) is affected by GHSA-jmr9-qjv8-65gv |
package-lock.json |
| high | osv/GHSA-mwp4-54f8-5fhr: [email protected] (npm) is affected by GHSA-mwp4-54f8-5fhr |
package-lock.json |
| high | osv/GHSA-2883-xcg3-v3hh: [email protected] (npm) is affected by GHSA-2883-xcg3-v3hh |
package-lock.json |
| high | osv/GHSA-52cp-r559-cp3m: [email protected] (npm) is affected by GHSA-52cp-r559-cp3m |
package-lock.json |
| high | osv/GHSA-5p4m-2wfm-xmqj: [email protected] (npm) is affected by GHSA-5p4m-2wfm-xmqj |
package-lock.json |
| high | osv/GHSA-96hv-2xvq-fx4p: [email protected] (npm) is affected by GHSA-96hv-2xvq-fx4p |
package-lock.json |
| high | osv/GHSA-mrhx-c7xc-m3w5: [email protected] (npm) is affected by GHSA-mrhx-c7xc-m3w5 |
package-lock.json |
| high | zizmor/template-injection: code injection via template expansion [confidence high] |
.github/workflows/evals-smoke.yml:39 |
| high | zizmor/template-injection: code injection via template expansion [confidence high] |
.github/workflows/evals-smoke.yml:45 |
| high | zizmor/template-injection: code injection via template expansion [confidence high] |
.github/workflows/evals-smoke.yml:132 |
| high | zizmor/template-injection: code injection via template expansion [confidence high] |
.github/workflows/evals-smoke.yml:163 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:26 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:30 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:87 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:116 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:121 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:137 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/evals-smoke.yml:204 |
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
- Source lines: 19,624; test lines: 1,345
| Language | Lines |
|---|---|
| JavaScript | 14,121 |
| Python | 6,848 |