Skip to content

hardening: migrate audit SQL helpers to prepared variants #48

@somethingwithproof

Description

@somethingwithproof

Problem

plugin_audit still has raw SQL helper usage (db_fetch_cell, db_fetch_assoc, db_execute) in setup/runtime paths.

Proposed change

  • migrate straightforward call sites to prepared helper variants
  • parameterize values currently interpolated into SQL where applicable
  • preserve existing plugin behavior

Tests

  • add regression checks for converted prepared helper usage in touched files
  • run syntax checks for modified files and test script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions