Skip to content

Consider removing easyjson dependency due to security risks #182

@alexandear

Description

@alexandear

This project has an indirect dependency on github.com/mailru/easyjson:

mailru/easyjson is a Go library with maintainers based in Russia and affiliated with VK Group. VK Group has known ties to the Russian government and a history of cooperating with Russian security services, including sharing user data.

According to the Hunted Labs report, "The Russian Open Source Project That We Can’t Live Without", this dependency poses a significant supply chain risk. To mitigate these risks, I propose to remove this dependency.

The only one dependency that requires easyjson is github.com/wk8/go-ordered-map/v2:

$ go mod why -m github.com/mailru/easyjson
# github.com/mailru/easyjson
github.com/invopop/jsonschema
github.com/wk8/go-ordered-map/v2
github.com/mailru/easyjson/jwriter

We can replace it with a forked version: https://github.com/pb33f/ordered-map

Related issues and discussions:

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