π‘οΈ Sentinel: [MEDIUM] Fix Information Disclosure (Hidden files)#131
π‘οΈ Sentinel: [MEDIUM] Fix Information Disclosure (Hidden files)#131seonghobae wants to merge 1 commit into
Conversation
λλ ν 리 λͺ©λ‘ μμ± μ λ―Όκ°ν μ 보(μ: .env, .git)κ° ν¬ν¨λ μ¨κΉ νμΌμ΄ λ ΈμΆλλ μ·¨μ½μ μ λ°©μ§νκΈ° μν΄ νμΌ μ μΈ λ‘μ§μ μμ νμ΅λλ€.
|
π Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a π emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
π¨ Severity: MEDIUM
π‘ Vulnerability: λλ ν 리 λͺ©λ‘μ μμ±ν λ κΈ°λ³Έμ μΌλ‘ μ¨κΉ νμΌ(μ:
.env,.git,.ssh)μ΄ νν°λ§λμ§ μμ, λ―Όκ°ν μ€μ μ 보λ μμ€μ½λ μ μ₯μκ° μΈλΆμ λ ΈμΆλ μνμ΄ μ‘΄μ¬ν©λλ€.π― Impact: 곡격μκ°
.envλ±μ νμΌμ μ κ·Όνμ¬ μμ€ν λ΄λΆ μ 보, API ν€, λ°μ΄ν°λ² μ΄μ€ μ격 μ¦λͺ λ±μ νλν μ μμ΅λλ€.π§ Fix:
html4tree/main.ktμprocess_ignore_fileν¨μμ κΈ°λ³Έμ μΌλ‘.μΌλ‘ μμνλ λͺ¨λ νμΌμ μ μΈνλ λ‘μ§μ μΆκ°νμ΅λλ€. μ΄ κΈ°λ₯μ΄ μλλλ‘ λμνλμ§ νμΈνλtestProcessIgnoreFileHiddenFilesμ λ ν μ€νΈλ μΆκ°νμ΅λλ€.β Verification:
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 && ./gradlew clean test jacocoTestReport jacocoTestCoverageVerification --continueλͺ λ Ήμ΄λ₯Ό μ€ννμ¬ 100% ν μ€νΈ 컀λ²λ¦¬μ§λ₯Ό λ§μ‘±νλ κ²μ νμΈν μ μμ΅λλ€.PR created automatically by Jules for task 13933610115191533601 started by @seonghobae