Cursor Composer 2.5 produced unrelated PHP code changes

was used on a project made entirely in Python, but a simple request caused it to start reasoning about an unrelated PHP codebase. The file names it mentioned were not part of the current project or any known past project.

Its change preview included edits to User.php, SessionExpiredEvent.php, Base.php, and several exception files. It also proposed moving multiple files to a different folder and changing their to Xibo\\Library.

The run appeared to keep going, so it had to be stopped manually. The cause is not confirmed, but cache leakage is a possible concern because the tool seemed to mix in context from somewhere else.

Key points

  • produced PHP-related changes inside a Python project.
  • The d files did not belong to the active codebase.
  • The proposed edits touched User.php, SessionExpiredEvent.php, Base.php, and exception files.
  • Several files were also proposed to be moved and given a new .
  • Unexpected files or languages in an change should be treated as a stop signal.

Sources covering this story (3)

Read original