Security Advisories (1)
CVE-2025-30672 (2025-04-01)

Mite for Perl before 0.013000 generates code with the current working directory ('.') added to the @INC path similar to CVE-2016-1238. If an attacker can place a malicious file in current working directory, it may be loaded instead of the intended file, potentially leading to arbitrary code execution. This affects the Mite distribution itself, and other distributions that contain code generated by Mite.

Changes for version 0.010008 - 2022-08-14

  • Added: `mite exec` command which compiles your project in memory to run a script.
  • Allow `!-defaults` in import list to suppress the default imports.
  • If you build a MOP for your project, then Moose classes consuming Mite roles will not have Mite's builtin subs added to them (like __FINALIZE_APPLICATION__).
  • If you build a MOP for your project, then Moose classes extending Mite classes will know they need to rebuild the constructor when being made immutable. (And you really should make them immutable!)
  • If you use Moose to entend a Mite class and inherit its `DOES`/`does` method, then the inherited method will now check with Moose to see if your class does roles.

Documentation

A Perl OO compiler
options for defining attributes with Mite
comparing Mite with Moose, Moo, and Mouse
other features provided by Mite
functions exported by Mite
integration with the Moose Meta-Object Protocol.
major Moose features not supported by Mite
how to work with Mite

Modules

Moose-like OO, fast to load, with zero dependencies.
use in your Makefile.PL when developing with Mite
use in your Build.PL when developing with Mite

Provides

in lib/Mite/App.pm
in lib/Mite/App/Command.pm
in lib/Mite/App/Command/clean.pm
in lib/Mite/App/Command/compile.pm
in lib/Mite/App/Command/exec.pm
in lib/Mite/App/Command/init.pm
in lib/Mite/App/Command/preview.pm
in lib/Mite/Attribute.pm
in lib/Mite/Attribute/SHV/CodeGen.pm
in lib/Mite/Class.pm
in lib/Mite/Compiled.pm
in lib/Mite/Config.pm
in lib/Mite/Miteception.pm
in lib/Mite/Package.pm
in lib/Mite/Project.pm
in lib/Mite/Role.pm
in lib/Mite/Role/Tiny.pm
in lib/Mite/Shim.pm
in lib/Mite/Signature.pm
in lib/Mite/Signature/Compiler.pm
in lib/Mite/Source.pm
in lib/Mite/Trait/HasAttributes.pm
in lib/Mite/Trait/HasConstructor.pm
in lib/Mite/Trait/HasDestructor.pm
in lib/Mite/Trait/HasMOP.pm
in lib/Mite/Trait/HasMethods.pm
in lib/Mite/Trait/HasRequiredMethods.pm
in lib/Mite/Trait/HasRoles.pm
in lib/Mite/Trait/HasSuperclasses.pm
in lib/Mite/Types.pm