All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.codemods.MavenSecureURLCodemod.description.md Maven / Gradle / Ivy

There is a newer version: 0.97.3
Show newest version
This change replaces any HTTP URLs found in `` definitions with HTTPS URLs. Without this change, Maven will make requests to either publish or retrieve artifacts over a plaintext channel.

That plaintext channel can be [observed or modified by malicious actors](https://en.wikipedia.org/wiki/Man-in-the-middle_attack) on the network path between the host running Maven and their intended repository. These actors could then sniff repository credentials, publish malicious artifacts, etc. Simply switching to an HTTPS URL is sufficient to make all of these attacks impossible in almost all situations.

Our changes look something like this:

```diff
  
  
    ...
    
      
        my-release-repo
        Acme Releases
-       http://repo.acme.com
+       https://repo.acme.com
      
    
  
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy