Skip to content

[REVIEW] dast-config: add GraphQL mutation safety gates #2072

@shensz2017

Description

@shensz2017

Skill Review ($25 potential bounty)

dast-config currently supports GraphQL scanning, but the GraphQL section only requires introspection, query depth limits, and careful handling of mutations. It does not require concrete evidence that state-changing GraphQL mutations are safe to execute during active DAST.

Gap: a scan can have maxQueryDepth, maxArgsCount, and a GraphQL endpoint configured, while destructive mutations such as delete, refund, rotate, disable, transfer, or reset are still executed against shared staging data, production-like integrations, or stale schemas.

Suggested improvement: require GraphQL schema freshness evidence, mutation inventory, per-mutation scan decision, destructive mutation exclusions, dry-run/test-mode flags, disposable seed data, reset/rollback evidence, sandbox payment/email/webhook integrations, and compensating manual/API validation for excluded mutations.

Preferred payment: GitHub Sponsors, if accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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