Skip to content

再発防止: ghs_ installation token の synthetic fixture / terminology を共通化する #2753

Open

Description

@squne121

Goal

GitHub App installation token (ghs_) の synthetic fixture / terminology を各 detector テストで手書きし続けることで、文字集合や説明が drift する再発を防ぐ。

PR #2751 のレビューでは、production matcher ghs_[A-Za-z0-9._-]{36,} 自体は正しい一方、behavioral fixture に - が含まれず、- を matcher から誤って落としてもテストが通ることが判明した。PR #2746 では既に -_ を含む synthetic token helper が存在しており、同種実装を個別に再作成したことで coverage が退行している。

同種の detector 対応は #2728 / #2733 / #2734 にも続くため、軽量な共通 fixture contract を用意する。

In Scope

Out of Scope

Acceptance Criteria

Evidence / References

Priority

optional_follow_up。#2751 のマージブロッカーではない。今後の同種 detector 実装で同じ fixture/terminology drift を繰り返さないための品質改善。

Activity

  1. added
    enhancement
    triage-required
    area/security
    follow-up
    on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/securityenhancementfollow-uptriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions