Skip to content

Subresource Integrity Tags #491

Closed
Closed
@grempe

Description

@grempe

I have found this plugin via the webpack setup from https://github.com/vuejs/vue-cli so I apologize for not being too familiar with it yet.

Would it be appropriate for this plugin to generate and insert into the HTML subresource integrity tags? This would offer big security benefits for the loaded assets.

e.g.

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

See:

https://www.w3.org/TR/SRI/
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
https://www.maxcdn.com/one/visual-glossary/subresource-integrity/
https://sritest.io/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions