We're a security and development consultancy based in Toronto, Canada. Established in 2012.

We can help you build your app, or break into it.

We can rescue your app, audit your code and your infrastructure, and automate your business.

Our services include:


You built your product and it's out there. Now what?

We'll find what's wrong, tell you what the risks are, and work with your team to fix it.

We obsess about information security so that you don't have to.

We provide penetration tests, code audits, and vulnerability and threat assessments.


We can help your product, or your team, hit the ground running.

Whether you're at risk of defaulting on your technical debt, or you're looking to validate your market fit, we can lend a hand.

We love Ruby on Rails, Javascript, Go and Clojure.

We make products too:


We can monitor any modern Ruby application and let you know about security updates to your dependencies.

Learn more at https://gemcanary.com

You might know some of our clients:

Lastly, we consist of:

Max Veytsman is pretty passionate about security. Before joining State Machinery, he worked at a security consultancy helping financial and healthcare industry clients create more robust web and mobile applications. Nowadays, Max straddles the line between building and breaking, dividing his time between development and penetration testing.

Max has been a speaker at many security conferences, and has taught students around the world to hack web and mobile applications.

Phillip Mendonça-Vieira has an unhealthy relationship with the internet. After working for large financial institutions, he found himself building out an early-stage startup and hasn't looked back since.

Phill has helped organize five technical conferences, and gives talks at local user group meetings. He's worked on over a dozen projects ranging from consumer facing startups to project management tools at large enterprises. He organizes xvzf, a quarterly story telling night for computer people.

Email us at [email protected]

Our office is on the third floor of 20 Camden St, Toronto.

You can reach us by telephone at +1 (877) 828-8881