3

I am close to release of a webapp, and I am currently preparing the cookie policy, privacy agreement...etc. I want to legally cover my bases, and follow the licenses of dependencies, however, I have concern about that document actually becoming an unintentional schematic of my server's architecture.

For instance, I am using next.js to handle HTTP requests. Their license on github reads:

The MIT License (MIT)

Copyright (c) 2024 Vercel, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

That phrase, 'The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.' I have concern over. Mainly, I don't want to necessarily create a billboard in the fine print of my website saying, "HEY EVERYONE, I'M USING VERCEL DEPENDENCIES!" Is there any well-established resources so I can educate myself on how to handle this from the security, legal, and ethical standpoints?

5
  • 2
    Trying to hide libraries is security through obscurity, which is generally a bad approach. It should be no problem if users know implementation details. They can probably find that out anyway (e.g., through application fingerprinting techniques). Legal questions are off-topic here.
    – Ja1024
    Commented Jun 10 at 16:01
  • 1
    Cookie policies and privacy agreements have nothing to do with the open source licenses you're talking about..
    – schroeder
    Commented Jun 10 at 16:01
  • softwareengineering.stackexchange.com/questions/41617/… Your question isn't an information security question. It's ultimately a licensing question and ultimately what your obligations are to provide notice of the licenses.
    – schroeder
    Commented Jun 10 at 16:02
  • 2
    Are you actually distributing the next.js code to your users? Commented Jun 10 at 20:11
  • Thank you for the help and comments! Also, thank you for moving this to a more appropriate exchange.
    – chrisroode
    Commented Jun 11 at 16:07

1 Answer 1

5

The legally correct way to handle the MIT license is that everyone who gets a (transformed) copy of the next.js file (or any other file licensed under the MIT license), must also get a copy of the MIT license text and the copyright statements associated with next.js. This applies to plain copies, but also to copies that have been bundled with other files, complied and/or minified.

The ethical way is to also inform the recipients which files you received under the MIT license.

With regard to hiding the fact that you use next.js as a dependency, if you use it in your front-end code, there is no way to hide the dependency because the files get sent to the user anyway. If you use it only in your back-end code, then you don't have to advertise the use of the dependency to the people that merely access your web-app. Only the people that you sell/give the server-side code to have the right to receive the MIT license information.

1
  • Thank you for the clear response! This was super helpful!
    – chrisroode
    Commented Jun 11 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.