GithubHelp home page GithubHelp logo

Comments (6)

tghosth avatar tghosth commented on August 22, 2024 1

I like the concept but I agree with Elar that this is out of scope for ASVS.

However, I think this might actually be a valid use of a top 10 project, the OWASP Top 10 emerging application security mechanisms or something. I don't usually like top 10s but since this is specifically for awareness, it might be a good fit :)

from asvs.

tghosth avatar tghosth commented on August 22, 2024

Ok, so my big problem with trusted types is that it is quite complicated to implement (especially retroactively) and it is only supported by Chromium and Opera but not Firefox and Safari.
https://caniuse.com/trusted-types

Santizer API seems like a more widely adopted process but it is still at the discussion stage (https://wicg.github.io/sanitizer-api/) and things are changing so much that Chromium has actually removed support from it until the API becomes more stable.
https://caniuse.com/?search=sanitizer

It is also solving a slightly different problem to trusted types.

In conclusion, I think that disappointingly these mechanisms are not mature enough to include in ASVS.

@jmanico what do you think?

from asvs.

jmanico avatar jmanico commented on August 22, 2024

from asvs.

elarlang avatar elarlang commented on August 22, 2024

So, yes it is useful, but...

First the thing what @tghosth already pointed out, that it lacks browser support at the moment.

Second - can / do we need to require it? The point is, you can write your code secure against so-called DOM XSS without using it.

Feels more something to be recommended, not required. Happy to change my mind with arguments why it should be required.

from asvs.

ImanSharaf avatar ImanSharaf commented on August 22, 2024

@tghosth I believe that ASVS could still play a pivotal role in advocating for future-ready security measures. While Trusted Types and Sanitizer API are not widely adopted yet, their potential in enhancing web application security is considerable.

Suggested Approach

  • Future Guidance: Perhaps ASVS could include a section on emerging security technologies like Trusted Types and Sanitizer API. This would not be a requirement but rather guidance for the future, helping organizations prepare for and gradually adopt these technologies as they mature and gain wider support.
  • Awareness and Advocacy: By mentioning these technologies, ASVS can raise awareness and potentially influence broader adoption and faster maturity, as organizations and developers start considering and experimenting with these APIs.
  • Differentiation of Standards: Clearly differentiate between current best practices and emerging technologies. This ensures that the ASVS remains practical and relevant, while also being forward-looking.

from asvs.

elarlang avatar elarlang commented on August 22, 2024

For me it feels cheat sheet material. ASVS is not an awareness project, there is top10 and cheat sheet projects for that.

As this discussion and quite different point of view what and why is ASVS is relatively frequent lately, we need to write it out somewhere.

from asvs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.