@openzeppelin/wizard@0.10.6

A boilerplate generator to get started with OpenZeppelin Contracts

  • latest version

    0.10.11

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    27 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @openzeppelin/wizard package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improper Encoding or Escaping of Output

    @openzeppelin/wizard is an A boilerplate generator to get started with OpenZeppelin Contracts

    Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the setInfo process. An attacker can inject arbitrary lines into generated source code by supplying input containing line terminators, which causes unintended code to be included outside of intended comments. This is only exploitable if the affected fields are populated from untrusted input rather than directly by the user.

    How to fix Improper Encoding or Escaping of Output?

    Upgrade @openzeppelin/wizard to version 0.10.11 or higher.

    <0.10.11
    • H
    Arbitrary Code Injection

    @openzeppelin/wizard is an A boilerplate generator to get started with OpenZeppelin Contracts

    Affected versions of this package are vulnerable to Arbitrary Code Injection via unsanitized user input in the zipHardhat and zipFoundry functions. An attacker can execute arbitrary code by supplying crafted values to opts.name or opts.uri that are interpolated into generated test files and executed when a developer runs test commands. This is only exploitable if a developer uses undocumented internal functions and forwards externally-controlled strings into these options.

    How to fix Arbitrary Code Injection?

    Upgrade @openzeppelin/wizard to version 0.10.9 or higher.

    <0.10.9