Skip to content

@japa/assert depends on api-contract-validator that has security vulnerabilities #2

@ThisIsMissEm

Description

@ThisIsMissEm

Package version

3.0.0

Describe the bug

After doing a fresh install of @japa/assert version 3.0.0 in a fresh adonis.js project, npm audit yells about a Prototype Pollution in lodash security vulnerability - GHSA-p6mc-m468-83gw

It seems that this comes from the api-contract-validator plugin; Looking at their repository, it looks like this package has become unmaintained as it hasn't seen a commit in 2 years, and has lots of open pull requests.

It may be an idea to fork into a @japa/api-contract-validator package, such that you can maintain this dependency that seems fairly critical to @japa/assert, since upstream isn't maintaining the api-contract-validator package.

Reproduction repo

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions