Skip to content

hardening: migrate monitor SQL helpers to prepared variants #207

Description

@somethingwithproof

Problem

plugin_monitor still contains selected raw SQL helper usage for plugin version lookup, uninstall cleanup, and monitor-device cleanup paths.

Proposed change

  • migrate targeted db_fetch_cell() and db_execute() call sites to prepared helpers in setup.php
  • use placeholder-based IN (...) handling for multi-device cleanup
  • preserve behavior

Tests

  • add standalone regression test asserting targeted statements use prepared helpers
  • run syntax checks for touched files

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions