Rust Security Engineer, Energy Products Software

TeslaPalo Alto, CaliforniaOn-siteFull-timeMid level, 2–5 yearsListed 52 minutes ago

Apply now

About this role

Tesla Energy's software platform provides real-time monitoring, optimization, and control for Powerwall, Megapack, Solar Roof, Supercharger, Autobidder, and Virtual Power Plants. A growing share of that platform is written in Rust, from cloud services to software running on hardware at utility-scale sites.

We are hiring a Security Engineer to be our Rust security expert. Rust's type system rules out whole classes of memory bugs. It does not rule out panics, integer overflow, unsound unsafe code, logic errors, or a malicious dependency. You will close those gaps by putting together the layers of assurance Rust offers (lints, compiler checks, Miri, sanitizers, fuzzing, model checking with Kani, no-panic guarantees, and supply-chain controls) and building the infrastructure that applies them to every Rust service we ship. If you would rather prove a property of your code than hope a test caught the bug, this role is for you. Come secure the path that accelerates the world's transition to sustainable energy.

- Build a layered verification pipeline for our Rust code: lints, overflow and unsafe-code policies, Miri, sanitizers, fuzzing and property testing, Kani model checking, and no-panic checks
- Own the CI that runs these checks on every change
- Secure our Rust supply chain with cargo-vet, cargo-audit, and cargo-deny, and set the policy for bringing in new dependencies
- Audit Rust code for vulnerabilities, focusing on unsafe blocks, FFI with C and C++, parsing of untrusted input, panics, and authorization logic. Track findings through to a fix
- Write fuzz targets and Kani proof harnesses for our most critical code, and teach service teams to write their own
- Formally verify our most critical application and services, using tools and languages like Lean, Verus, TLA+ , etc.
- Use LLMs and agentic tools to scale the work: auditing code, triaging tool output, and drafting harnesses and fuzz targets
- Be the team's Rust security expert
- Take part in design reviews, threat modeling, and architecture work across the platform
- Maintain the values of the team which include engineering excellence, curiosity, a bias for action, self-awareness, inclusivity, and vulnerability

- Experience and curiosity writing and shipping Rust. You understand ownership, lifetimes, Send and Sync, and the invariants unsafe code has to uphold
- Some experience with any of: Miri, Kani or other Rust verification tools, sanitizers, cargo-fuzz or AFL, property testing, Clippy configuration, and supply-chain tooling
- Experience building developer tooling and CI pipelines that other engineers depend on
- A security mindset: you read code looking for what can go wrong, reason about attack surface, and can explain why a bug matters
- Clear writing and a habit of teaching. Much of your impact will come from raising the bar for the engineers around you
- Curiosity, and the drive to dig into problems and tools you haven't seen before
- Nice to have: contributions to Rust security tooling or RustSec advisories, formal methods (Verus, Creusot, Prusti, TLA+), embedded or no_std Rust, CTFs or vulnerability research

Benefits

Along with competitive pay, as a full-time Tesla employee, you are eligible for the following benefits at day 1 of hire:

- Medical plans > plan options with $0 payroll deduction
- Family-building, fertility, adoption and surrogacy benefits
- Dental (including orthodontic coverage) and vision plans, both have options with a $0 paycheck contribution
- Company Paid (Health Savings Accounts) HSA Contribution when enrolled in the High-Deductible medical plan with HSA
- Healthcare and Dependent Care Flexible Spending Accounts (FSA)
- 401(k) with employer match, Employee Stock Purchase Plans, and other financial benefits
- Company paid Basic Life, AD&D
- Short-term and long-term disability insurance (90 day waiting period)
- Employee Assistance Program
- Sick and Vacation time (Flex time for salary positions, Accrued hours for Hourly positions), and Paid Holidays
- Back-up childcare and parenting support resources
- Voluntary benefits to include: critical illness, hospital indemnity, accident insurance, theft & legal services, and pet insurance
- Weight Loss and Tobacco Cessation Programs
- Tesla Babies program
- Commuter benefits
- Employee discounts and perks program
- Earned Wage Access: Real-time pay access paid daily, subject to eligibility and schedule (applicable for below Sr. Managers levels)
Expected Compensation $160,000 - $276,000/annual salary + cash and stock awards + benefits
Pay offered may vary depending on multiple individualized factors, including market location, job-related knowledge, skills, and experience. The total compensation package for this position may also include other elements dependent on the position offered. Details of participation in these benefit plans will be provided if an employee receives an offer of employment.