detectors judge their own pattern tables and the law registry text as project code (M3)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- testing-qa
調査の方向性
Start with the code-only view of M1, then read the named detectors and data modules, including encryption-implementation-configuration.ts, environment-variables-usage-configuration.ts, authentication-checker.ts, and src/data/*-laws.ts. Reproduce the self-audit described in the issue and trace how pattern tables, law text, and data-only modules reach each check. Done means detector data and prose are excluded by general rules, with the listed self-findings gone and the intended checks still running.
索引モデルが issue の本文から書いたものです。
説明
Found in the 8.0.0 self-audit triage: RoC 7.29.1 (npm, 5fc54afe) on a clean clone of develop at 2d2fa9a, with typescript resolvable (verdict compliance, 0 failed / 46 warnings). The bucket method and per-law tables are kept by QA; counts are from that run.
What happens
Run on a repository that contains detectors (RoC itself, or any project with lint/security tooling), the detectors flag their own data:
- Data Encryption:
WEAK_ALGORITHMS = ['MD5','SHA1','DES','RC4'](encryption-implementation-configuration.ts:23) flags its own line; 26 of 29 findings are pattern tables or law text. - Environment Security:
BEST_PRACTICES.badcontains'process.env.SECRET_KEY without validation'(environment-variables-usage-configuration.ts:128-132); doc-reference URLs in the serverless registry are "hardcoded URLs". - Authentication Security:
/md5.*password/matches its own source (authentication-checker.ts:129-133). Note: two of its checks pass today only because of the detector's own/AuthService/and/refreshToken/patterns, so fixing scope makes them fire (see the gating issue). - Code Documentation: the law registries
src/data/*-laws.tsare "under-commented" because their prose lives in fields (28 files). - Typed HTTP Boundaries: its only match is law prose describing its own false positive (code-quality-laws.ts:462).
- Async Cache Single-Flight: a file is selected by the law card's own example text (cache-harness-laws.ts:83-85).
Suggested direction
A general rule, not an ignore list for RoC: string contents of pattern/data tables are not code (covered by the code-only view of M1), and data-only modules (no function bodies) are skipped by ratio-style checks.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 38分
- マージ済み PR(30日)
- 96
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Rule-Of-Code/RoC のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Rule-Of-Code/RoC#436 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Rule-Of-Code/RoC#439 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 49/100
Rule-Of-Code/RoC#438 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
Rule-Of-Code/RoC#437 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
Rule-Of-Code/RoC#435 ·
メンテナーはふだん 1 日以内に返信
Rule-Of-Code/RoC の issue をすべて見る
似ている issue
-
ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
LucasSantana-Dev/Lucky#3257 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
XiaomiMiMo/MiMo-Code#2849 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
danielmiessler/LifeOS#2894 ·
メンテナーはふだん 5 日以内に返信
-
enhancement frontend good first issue help wanted testing-infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
enhancement follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信