Staff Software Engineer, Security Foundations
SecurityPosted over 2 months agofrom GitLab's own hiring page
- Work type
- On-siteBengaluru
- Experience
- Not stated
- Pay
- Not listedUsually ₹8.4 LPASecurity, median, all levels, in India (Payscale)
- Posted
- Over 2 months agoOpen 3 months
Skills it mentions
Add your skills to see which ones you have.
About the job
GitLab is the intelligent orchestration platform for DevSecOps. GitLab enables organizations to increase developer productivity, improve operational efficiency, reduce security and compliance risk, and accelerate digital transformation. More than 50 million registered users and more than 50% of the Fortune 100* trust GitLab to ship better, more secure software faster.
The same principles built into our products are reflected in how our team works: we embrace AI as a core productivity multiplier, with all team members expected to incorporate AI into their daily workflows to drive efficiency, innovation, and impact. GitLab is where careers accelerate, innovation flourishes, and every voice is valued. Our high-performance culture is driven by our values and continuous knowledge exchange, enabling our team members to reach their full potential while collaborating with industry leaders to solve complex problems. Co-create the future with us as we build technology that transforms how the world develops software.
*Fortune 500® is a registered trademark of Fortune Media IP Limited, used under license. Claim based on GitLab data. Fortune 100 refers to the top 20% ranked companies in the 2025 Fortune 500 list, published in June 2025. Fortune and Fortune Media IP Limited are not affiliated with, and do not endorse products or services of GitLab.
An overview of this roleAs a Staff Software Engineer, you'll help lead two important areas for GitLab Security: the data layer behind our vulnerability and dependency management capabilities, and our move toward services outside the GitLab monolith. You'll design and develop systems that ingest, store, index, and query security report data, including integrations with key third-party systems. With a strong focus on PostgreSQL and scalable backend design, your work will support security features delivered by teams across GitLab.
You'll take ownership of large deliverables from early ideas through implementation, working directly with product, design, frontend, and engineering partners to shape the technical and product roadmap. You'll stay hands-on across GitLab's Ruby on Rails application and newer services, including greenfield projects, while helping the team build its expertise in modular service design.
What you’ll do
- Lead large technical deliverables from initial problem definition through delivery, often across multiple months or quarters.
- Design and develop backend systems for vulnerability and dependency management, including security report ingestion, storage, indexing, querying, and integrations with key third-party systems.
- Build and improve systems using Ruby on Rails and PostgreSQL, and contribute to newer services using technologies such as Go or Rust where appropriate.
- Shape technical plans, break down complex work, and help other engineers deliver effectively.
- Work directly with product, design, frontend, and engineering partners to make clear decisions, resolve constraints, and deliver measurable progress.
- Influence the team's product and technical roadmap through hands-on investigation, clear proposals, and iterative delivery that demonstrates progress in each monthly release cycle.
- Apply a security mindset when designing systems, including considering how GitLab identifies and handles malicious or vulnerable software packages.
- Define patterns for modular services, provide technical leadership when vulnerability management work spans multiple GitLab areas, and share that expertise across GitLab Security.
- Take part in on-call or operational support where your team’s ownership model requires it.
What you’ll bring
- Experience leading complex backend projects from idea through delivery while remaining hands-on with design and development.
- Strong PostgreSQL experience, including evidence of query optimization, table optimization, and write-ahead log management in data-intensive systems.
- Strong professional experience with Ruby on Rails or Go and comfort working in Ruby on Rails day to day. Experience with large monoliths is helpful, along with an interest in working across languages and services.
- Experience shaping delivery plans, guiding technical decisions, and supporting the work of other engineers.
- The ability to collaborate with a range of partners and explain technical trade-offs clearly.
- Experience communicating with leaders, leading peers through complex delivery, identifying constraints, and moving work forward.
- Experience using security tooling for activities such as vulnerability triage and remediation, or professional experience building vulnerability management, dependency management, or related security products.
- Experience with large-scale data systems or established software products. We welcome transferable experience from outside the security domain.
- Fluency in using artificial intelligence tools to improve delivery while applying sound engineering judgment.
About the team
The Vulnerability Management team contributes to GitLab's move toward modular services and will help other Security teams adopt these patterns over time. Today, we include two Staff Software Engineers, two Senior Software Engineers, and one Intermediate Software Engineer across the United Kingdom, Poland, the Netherlands, and India. You'll work closely with us, product partners, and engineering leaders across GitLab.
We work with clear goals and shared priorities. You'll receive clear context and outcomes, then have the space to own delivery, communicate decisions and progress, ask for help early, and work directly with the partners needed to get the job done.
How GitLab Supports Full-Time Employees
- Benefits to support your health, finances, and well-being
- Flexible Paid Time Off
- Team Member Resource Groups
- Equity Compensation & Employee Stock Purchase Plan
- Growth and Development Fund
- Parental Leave
Please note that we welcome interest from candidates with varying levels of experience; many successful candidates do not meet every single requirement. Additionally, studies have shown that people from underrepresented groups are less likely to apply to a job unless they meet every single qualification. If you're excited about this role, please apply and allow our recruiters to assess your application.
Country Hiring Guidelines: GitLab hires new team members in countries around the world. All of our roles are remote, however some roles may carry specific location-based eligibility requirements. Our Talent Acquisition team can help answer any questions about location after starting the recruiting process.
Privacy Policy: Please review our Recruitment Privacy Policy. Your privacy is important to us.
GitLab is proud to be an equal opportunity workplace and is an affirmative action employer. GitLab’s policies and practices relating to recruitment, employment, career development and advancement, promotion, and retirement are based solely on merit, regardless of race, color, religion, ancestry, sex (including pregnancy, lactation, sexual orientation, gender identity, or gender expression), national origin, age, citizenship, marital status, mental or physical disability, genetic information (including family medical history), discharge status from the military, protected veteran status (which includes disabled veterans, recently separated veterans, active duty wartime or campaign badge veterans, and Armed Forces service medal veterans), or any other basis protected by law. GitLab will not tolerate discrimination or harassment based on any of these characteristics. See also GitLab’s EEO Policy and EEO is the Law. If you have a disability or special need that requires accommodation, please let us know during the recruiting process.
Interested?Staff Software Engineer, Security Foundations at GitLab
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Security, Ruby on Rails, Ruby and 3 more
Interview questions for this job
For the skills the ad mentions: Security, Ruby on Rails, Ruby, PostgreSQL, Go and Rust.
Why is it common to put CSRF prevention tokens in cookies?Security
A good reason, which you have sort of touched on, is that once the CSRF cookie has been received, it is then available for use throughout the application in client script for use in both regular forms and AJAX POSTs. This will make sense in a JavaScript heavy application such as one employed by AngularJS (using AngularJS doesn't require that the application will be a single page app, so it would be useful where state needs to flow between different page requests where the CSRF value cannot normally persist in the browser).
Consider the following scenarios and processes in a typical application for some pros and cons of each approach you describe. These are based on the Synchronizer Token Pattern.
Request Body Approach
- User successfully logs in.
- Server issues auth cookie.
- User clicks to navigate to a form.
- If not yet generated for this session, server generates CSRF token, stores it against the user session and outputs it to a hidden field.
- User submits form.
- Server checks hidden field matches session stored token.
Advantages:
- Simple to implement.
- Works with AJAX.
- Works with forms.
- Cookie can actually be HTTP Only.
Disadvantages:
- All forms must output the hidden field in HTML.
- Any AJAX POSTs must also include the value.
- The page must know in advance that it requires the CSRF token so it can include it in the page content so all pages must contain the token value somewhere, which could make it time consuming to implement for a large site.
Custom HTTP Header (downstream)
- User successfully logs in.
- Server issues auth cookie.
- User clicks to navigate to a form.
- Page loads in browser, then an AJAX request is made to retrieve the CSRF token.
- Server generates CSRF token (if not already generated for session), stores it against the user session and outputs it to a header.
- User submits form (token is sent via hidden field).
- Server checks hidden field matches session stored token.
Advantages:
- Works with AJAX.
- Cookie can be HTTP Only.
Disadvantages:
- Doesn't work without an AJAX request to get the header value.
- All forms must have the value added to its HTML dynamically.
- Any AJAX POSTs must also include the value.
- The page must make an AJAX request first to get the CSRF token, so it will mean an extra round trip each time.
- Might as well have simply output the token to the page which would save the extra request.
Custom HTTP Header (upstream)
- User successfully logs in.
- Server issues auth cookie.
- User clicks to navigate to a form.
- If not yet generated for this session, server generates CSRF token, stores it against the user session and outputs it in the page content somewhere.
- User submits form via AJAX (token is sent via header).
- Server checks custom header matches session stored token.
Advantages:
- Works with AJAX.
- Cookie can be HTTP Only.
Disadvantages:
- Doesn't work with forms.
- All AJAX POSTs must include the header.
Custom HTTP Header (upstream & downstream)
Read the rest at the sourceFrom Stack Overflow: asked by metamatt, answered by SilverlightFox (CC BY-SA 3.0)
What does bundle exec rake mean?Ruby on Rails
bundle execis a Bundler command to execute a script in the context of the current bundle (the one from your directory's Gemfile).rake db:migrateis the script where db is the namespace and migrate is the task name defined.So
bundle exec rake db:migrateexecutes the rake script with the commanddb:migratein the context of the current bundle.As to the "why?" I'll quote from the bundler page:
In some cases, running executables without
bundle execmay work, if the executable happens to be installed in your system and does not pull in any gems that conflict with your bundle.However, this is unreliable and is the source of considerable pain. Even if it looks like it works, it may not work in the future or on another machine.
From Stack Overflow: asked by JnBrymn, answered by ghoppe (CC BY-SA 3.0)
How to understand nil vs. empty vs. blank in Ruby?Ruby
.nil?can be used on any object and is true if the object is nil..empty?can be used on strings, arrays and hashes and returns true if:- String length == 0
- Array length == 0
- Hash length == 0
Running
.empty?on something that is nil will throw aNoMethodError.That is where
.blank?comes in. It is implemented by Rails and will operate on any object as well as work like.empty?on strings, arrays and hashes.nil.blank? == true false.blank? == true [].blank? == true {}.blank? == true "".blank? == true 5.blank? == false 0.blank? == false.blank?also evaluates true on strings which are non-empty but contain only whitespace:" ".blank? == true " ".empty? == falseRails also provides
.present?, which returns the negation of.blank?.Array gotcha:
blank?will returnfalseeven if all elements of an array are blank. To determine blankness in this case, useall?withblank?, for example:[ nil, '' ].blank? == false [ nil, '' ].all? &:blank? == trueFrom Stack Overflow: asked by Arrel, answered by Corban Brook (CC BY-SA 3.0)
Why is a new user allowed to create a table?PostgreSQL
When you create a new database, any role is allowed to create objects in the
publicschema. To remove this possibility, you may issue immediately after the database creation:REVOKE ALL ON schema public FROM public;Edit: after the above command, only a superuser may create new objects inside the
publicschema, which is not practical. Assuming a non-superuserfoo_usershould be granted this privilege, this should be done with:GRANT ALL ON schema public TO foo_user;To know what
ALLmeans for a schema, we must refer to GRANT in the doc, (in PG 9.2 there are no less than 14 forms of GRANT statements that apply to different things...). It appears that for a schema it meansCREATEandUSAGE.On the other hand,
GRANT ALL PRIVILEGES ON DATABASE...will grantCONNECTandCREATEandTEMP, butCREATEin this context relates to schemas, not permanent tables.Regarding this error:
ERROR: no schema has been selected to create in, it happens when trying to create an object without schema qualification (as increate table foo(...)) while lacking the permission to create it in any schema of thesearch_path.From Database Administrators Stack Exchange: asked by andreas-h, answered by Daniel Vérité (CC BY-SA 3.0)
Why does Go not have exceptions?Go
We believe that coupling exceptions to a control structure, as in the
try-catch-finallyidiom, results in convoluted code. It also tends to encourage programmers to label too many ordinary errors, such as failing to open a file, as exceptional.Go takes a different approach. For plain error handling, Go's multi-value returns make it easy to report an error without overloading the return value. A canonical error type, coupled with Go's other features, makes error handling pleasant but quite different from that in other languages.
Go also has a couple of built-in functions to signal and recover from truly exceptional conditions. The recovery mechanism is executed only as part of a function's state being torn down after an error, which is sufficient to handle catastrophe but requires no extra control structures and, when used well, can result in clean error-handling code.
See the Defer, Panic, and Recover article for details. Also, the Errors are values blog post describes one approach to handling errors cleanly in Go by demonstrating that, since errors are just values, the full power of Go can be deployed in error handling.
From Go Frequently Asked Questions (CC BY 4.0)
Why do you want to work for us?Behavioural
Employers want to see that you have a genuine interest in working for them by asking questions like:
- what do you know about our company?
- why do you think you're a good fit for our company?
- why do you want to work for us?
To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.
Show what you've learned about the company throughout the interview.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- z/OS UNIX System Services (USS) Security Engineer – Vice PresidentMorgan Stanley, Bengaluru, on-siteToday
- Senior Principal - Red Team OperatorGSK, Bengaluru, Hyderabad, on-site2 days ago
- Security Transformation PractitionerAccenture, Bengaluru, on-site2 days ago
- SoC Functional Validation EngineerIntel, Bengaluru, hybrid2 days ago
More like this: Cyber security jobs in Bengaluru (318), Jobs in Bengaluru (10,735) and Cyber security jobs in India (663)



