Skip to content

xpath dependency "problem" #324

@cjbarth

Description

@cjbarth

@markstos @LoneRifle , I'd like to get your thoughts on an issue that I see as I port this code over to TypeScript. I note that some types in the xpath dependency are wrong, specifically xpath.selectWithResolver() isn't present in xpath.d.ts. I was going to make a PR to add it, and then I noted that the last commit was several years go.

I poked around the issues and PRs to see if that was just because the project was already "done" and didn't really need any updates and I found an issue with a security vulnerability that hasn't been addressed, even though there is a PR to partly address it.

A little more digging shows that someone took it upon themselves to re-write this entire thing in TypeScript, but appears to have abandoned it.

I also found several performance improvements that people have suggested here and here, at least. @nosvalds made a fork to incorporate those into the codebase for his use, but he doesn't seem to be active on GitHub anymore. However, @cleydyr, who contributed these very nice improvements does seem active on GitHub, but his fork isn't any better maintained, not even including his own performance improvements.

So, it seems this project, which we depend on, is now an unmaintained security risk. Any thoughts on what we might do about it? Should it also be part of the node-saml organization, perhaps as a fork? I don't want to take on any more, but it does seem that if we want to maintain the security of this project, we have to do a little like what Auth0 ended up doing.

Adding @yaronn and @JLRishe in case they have anything to say on this matter since @yaronn wrote the original library and @JLRishe apparently maintains the fork we use. I'm also adding @karfau, because he said he is one of the maintainers, so maybe he can offer some insight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions