Skip to content

Modular / Pluggable Scanner Architecture #23

Description

@luigi-agosti

Turn the current single Shield engine into a Scanner pipeline (type Scanner interface { Assess(text string) RiskResult }).
Keep the existing IDPI pattern matcher as the default scanner.
Add easy registration: shield.RegisterScanner(NewInvisibleTextScanner()), shield.RegisterScanner(NewSecretsScanner()), etc.
Users can do shield.WithScanners("idpi", "secrets", "toxicity").

Benefit → idpishield stops being “just IDPI” and becomes a real lightweight Go guardrail suite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions