Skip to content

We'd like to sponsor less.js! #3662

Closed
Closed

Description

@matthew-gill

Hello @matthew-dean !

We use the less.js plugin in our platform to allow users to write less to customise pages which get displayed on our client's sites.

Our company, Mention Me (https://mention-me.com), would love to be able to contribute back to the less community, so I'd like to open up a conversation to see if you or your team would be willing to take on some sponsored work if we would be willing to pay for it.

There are some security concerns which have been flagged by our annual penetration test relating to our use of this library. As we allow user input to go through the less compiler, there are lots of things we need to be careful with.

We have some code snippets which our pen test found which can result in a reverse shell being opened, so in the interest of security, I'll leave them out of this issue - feel free to contact me directly and I can share them with you (matt.gill@mention-me.com)

Some ideas which would be great to introduce via the lessc flags might be the following

--disable-at-rules-all # (Disable ALL at rules)
--disable-at-rules-import # (Disable all @import)
--disable-at-rules-plugin # (Disable all @plugin)
--enabled-at-rules=media,supports
...
--remote-file-approved-domains=https://foo.com,https://bar.com
--remote-file-enforce-https

Would this be something you'd be willing to have a conversation with us about? Ideally we'd be able to contribute these directly by raising a PR, but we'd like to get the owner of the module who knows the code best to introduce the changes.

cc @edhgoose

Activity

  1. matthew-dean commented on Nov 10, 2021

    @matthew-dean
    Member

    Hi @matthew-gill. Unfortunately, I work full time and don't have extra time to devote to Less. If I had extra time, I would probably be investing it in Jess. But maybe someone else could see this and you could contract with them.

    I feel like the options you mention are a bit verbose and I'm not sure of the utility of something like --disable-at-rules-import for general usage. Something you could consider would be adding these options as part of a plugin.

  2. locked and limited conversation to collaborators on Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions