Skip to main content
All rules

SEC-038

IDE project files are public

LowDefault severity · Security · Secrets, HTTPS and security headers

Last reviewed

What it checks

/.idea/workspace.xml.

Why it matters

Reveals file names, local paths and run configurations, which helps an attacker map the application.

Recommended fix

Exclude editor folders from the deployment.

How to verify

Request each listed path on the live site and confirm it returns 404 or 403.

Example fix prompt

Generic prompt (your report adds the evidence)
Please fix this production issue in my app.

Issue SEC-038: IDE project files are public
Site: https://your-app.example

First confirm the issue in the code or live config. If it is not present, say so and change nothing.
Task: Exclude .idea and other editor folders from the deployed output (and from git if they are committed).

Constraints: make the smallest change that fixes this, keep the current design and behaviour, never paste secret values into code or chat, and tell me which files you changed.
Done when: Request each listed path on the live site and confirm it returns 404 or 403.

References