Generated with the help of an LLM.

I've have not used AI tools to generate the issue summary.
I might use AI tools to work on the code.

Problem/Motivation

The interactive installer represents an additional surface area to for attackers. For years we have been recommending to prevent access via web server configuration - for example https://www.drupal.org/psa-2015-001 said:

Consider removing install.php after installation.

And there are more recent examples.

Proposed resolution

  • Let's make it really easy to do this by moving core/install.php into a composer package that can be removed from a site.
  • Let's add an error to a site if the installer is still publicly available when you update or are at runtime.
  • Let's add a post install message if you use the interactive installer to remove it.

Remaining tasks

User interface changes

TBD

Introduced terminology

API changes

TBD

Data model changes

None

Release notes snippet

TBD

Issue fork drupal-3641538

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexpott created an issue.