Semgrep13 open jobs

Software Engineer Intern

Full-stackPosted 8 weeks agofrom Semgrep's own hiring page

Work type
RemoteIn the US
Experience
Internship
Pay
Not listedUsually $71k a yearFull-stack, median at under 1 year, in the US (Payscale)
Posted
8 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Security, Python, PostgreSQL and 5 more

About the job

About Semgrep

Semgrep, the leader in code security for builders, empowers invention without friction. Teams catch, flag, and fix real issues before they ship, powered by security that learns as they build. Semgrep secures code as it’s written and provides guardrails that pave the road for developers to move fast and stay secure. Built for builders and trusted by security, Semgrep lives where developers work, delivering fixes without breaking flow, and giving security teams visibility, control, and confidence. Semgrep gets smarter as you build, with AI that learns your context to cut false positives and prioritize reachable vulnerabilities, validated by 95% of security reviewers across 6M+ findings. Semgrep makes zero false positives a reality with AppSec teams triaging 80% fewer false positives across Code and Supply Chain, dramatically shrinking the backlog.


Founded in San Francisco and backed by Menlo Ventures, Felicis Ventures, Lightspeed Venture Partners, Redpoint Ventures, and Sequoia Capital, Semgrep is recognized by Gartner in Application Security Testing and is trusted by leading organizations, including Vanta, Lyft, and Dropbox. Learn more at semgrep.dev.

About the role

As a software engineering intern at Semgrep, you’ll help us build a new category of developer-focused security tools to prevent bugs and security vulnerabilities. You will be joining the team behind the widely used Semgrep. You will get to ship features that make it easier for teams to integrate Semgrep into their existing workflows or build improvements that help our services scale and remain reliable.

Along the way, you will work with a dedicated group of full-stack developers, security researchers, program analysis experts, and infrastructure engineers. You will learn from senior developers who bring experience and wisdom from Google, Facebook, and successful startups. You will work with our clients’ security teams at companies ranging from early-stage startups to social-media giants. You will have opportunities to learn about their individual security philosophies and develop ways to make their lives easier. You’ll attend lunch and learn sessions across the company - learning about everything from advanced type systems to product paradigms. As a member of our engineering team, you will get to speak directly with real customers who are using the features you build – something that makes interning at an early-stage startup so unique! We’re excited to go on this journey with you!

Perhaps the best description of this internship comes from someone who has been where you will be.

You will

  • Design and ship new features in a full-stack codebase using Python, PostgreSQL, Typescript, and React

  • Work with our users, product team, and design team to address user pain points

  • Query our aggregated metrics and run experiments to help understand and improve core Semgrep workflows

  • Collaborate with your team through code reviews, design discussions, and demos

  • Learn from a peer mentor whose job is to help you succeed, and to help you get what you want out of your internship

  • Present your work to the team at the end of your internship

You are ideal for this role if you

  • Have taken multiple college courses in computer science or equivalent experience

  • Are interested in making a career out of software or a related field

  • Have experience in a dynamic language like Python, Ruby, Javascript, or PHP

  • Are excited about software security and developer enablement

  • Are able to work in our San Francisco office 5 days/week.

  • Are you able to start on either Tuesday, May 25th, 2027 or Tuesday, June 8th, 2027

Example projects previous interns have worked on:

  • Re-design and implement a frontend web page to be more intuitive and functional

  • Build a Slack App integration for Semgrep-app with an authentication handshake

  • Build seamless VSCode and IntelliJ Semgrep integrations

  • Implement SSO authentication only onboarding

  • Build a triage workflow using PR comments

What we offer

  • $2,400 per week for our 11-week full-time internship

  • Close 1:1 mentorship from full-time engineers on the team

  • Regular feedback from your team’s manager

  • The opportunity to work in-person in our San Francisco office

  • An intern cohort of peers

What we offer (FTE only)

Our goal is to competitively and fairly compensate every Semgrep employee with a system that equally rewards those who are vocal and those who are less comfortable making demands during the final steps of the hiring process. To that end, we generate internal compensation bands that are used when discussing and negotiating salaries. We update these based on market data to make sure they’re above the average for comparable roles.

We invest in our employees’ well-being and long-term success through a competitive, market-aligned benefits program that meets or exceeds local market standards across all of the regions in which we hire. Benefits offerings vary by location to reflect local requirements and norms. For more detailed, location-specific information, please visit Semgrep Benefits.

Who we are

We bring together people from a wide range of backgrounds and disciplines—from physics and philosophy to formal methods research and full-fledged corporations. We’re new parents and new grads, dog lovers and dogfooders. We get together often to bike, bake, and meet up in parks. In our interactions, we believe respect and honesty go hand in hand, and prioritize both.

Semgrep is an equal-opportunity employer seeking a diverse range of backgrounds. We value who you are — including your cultural heritage, your socioeconomic status, your age, your race, your gender, your sexual orientation, your disabilities. We value what’s vitally important to you — your family, your religion, your politics. We value what you love in this world — your music, your weekend pursuits. We believe in welcoming varied professional backgrounds, educations, and interests. If you’re exceptional in your role, believe in Semgrep’s mission, and treat Semgrep’s values as your own, you belong here.

Please Note: For US-based roles open to remote work, we are currently able to hire employees in the following states only: Arizona, California, Colorado, Connecticut, District of Columbia, Florida, Georgia, Illinois, Maryland, Massachusetts, Michigan, Missouri, Nebraska, New Jersey, New York, North Carolina, Oregon, Tennessee, Texas, Virginia, Washington, and Wisconsin.

Interested?Software Engineer Intern at Semgrep

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Security, Python, PostgreSQL and 5 more

Interview questions for this job

For the skills the ad mentions: Security, Python, PostgreSQL, TypeScript, React, Ruby, JavaScript and PHP.

1,125 questions
  • Why Does OAuth v2 Have Both Access and Refresh Tokens?Security

    The idea of refresh tokens is that if an access token is compromised, because it is short-lived, the attacker has a limited window in which to abuse it.

    Refresh tokens, if compromised, are useless because the attacker requires the client id and secret in addition to the refresh token in order to gain an access token.

    Having said that, because every call to both the authorization server and the resource server is done over SSL - including the original client id and secret when they request the access/refresh tokens - I am unsure as to how the access token is any more "compromisable" than the long-lived refresh token and clientid/secret combination.

    This of course is different to implementations where you don't control both the authorization and resource servers.

    Here is a good thread talking about uses of refresh tokens: OAuth Archives.

    A quote from the above, talking about the security purposes of the refresh token:

    Refresh tokens... mitigates the risk of a long-lived access_token leaking (query param in a log file on an insecure resource server, beta or poorly coded resource server app, JS SDK client on a non https site that puts the access_token in a cookie, etc)

    From Stack Overflow: asked by dave mankoff, answered by catchdave (CC BY-SA 4.0)

  • Does Python have a ternary conditional operator?Python

    Yes, it was added in version 2.5. The expression syntax is:

    a if condition else b
    

    First condition is evaluated, then exactly one of either a or b is evaluated and returned based on the Boolean value of condition. If condition evaluates to True, then a is evaluated and returned but b is ignored, or else when b is evaluated and returned but a is ignored.

    This allows short-circuiting because when condition is true only a is evaluated and b is not evaluated at all, but when condition is false only b is evaluated and a is not evaluated at all.

    For example:

    >>> 'true' if True else 'false'
    'true'
    >>> 'true' if False else 'false'
    'false'
    

    Note that conditionals are an expression, not a statement. This means you can't use statements such as pass, or assignments with = (or "augmented" assignments like +=), within a conditional expression:

    >>> pass if False else pass
      File "<stdin>", line 1
        pass if False else pass
             ^
    SyntaxError: invalid syntax
    >>> # Python parses this as `x = (1 if False else y) = 2`
    >>> # The `(1 if False else x)` part is actually valid, but
    >>> # it can't be on the left-hand side of `=`.
    >>> x = 1 if False else y = 2
      File "<stdin>", line 1
    SyntaxError: cannot assign to conditional expression
    >>> # If we parenthesize it instead...
    >>> (x = 1) if False else (y = 2)
      File "<stdin>", line 1
        (x = 1) if False else (y = 2)
           ^
    SyntaxError: invalid syntax
    

    (In 3.8 and above, the := "walrus" operator allows simple assignment of values as an expression, which is then compatible with this syntax. But please don't write code like that; it will quickly become very difficult to understand.)

    Similarly, because it is an expression, the else part is mandatory:

    # Invalid syntax: we didn't specify what the value should be if the 
    # condition isn't met. It doesn't matter if we can verify that
    # ahead of time.
    a if True
    

    You can, however, use conditional expressions to assign a variable like so:

    x = a if True else b
    

    Or for example to return a value:

    # Of course we should just use the standard library `max`;
    # this is just for demonstration purposes.
    def my_max(a, b):
        return a if a > b else b
    

    Think of the conditional expression as switching between two values. We can use it when we are in a 'one value or another' situation, where we will do the same thing with the result, regardless of whether the condition is met. We use the expression to compute the value, and then do something with it. If you need to do something different depending on the condition, then use a normal if statement instead.

    Keep in mind that it's frowned upon by some Pythonistas for several reasons:

    Read the rest at the sourceFrom Stack Overflow: asked by Devoted, answered by Vinko Vrsalovic (CC BY-SA 4.0)

  • How can I change a PostgreSQL user password?PostgreSQL

    To log in without a password:

    sudo -u user_name psql db_name
    

    To reset the password if you have forgotten:

    ALTER USER user_name WITH PASSWORD 'new_password';
    

    From Stack Overflow: asked by Saad, answered by solaimuruganv (CC BY-SA 4.0)

  • Are strongly-typed functions as parameters possible in TypeScript?TypeScript

    Sure. A function's type consists of the types of its argument and its return type. Here we specify that the callback parameter's type must be "function that accepts a number and returns type any":

    class Foo {
        save(callback: (n: number) => any) : void {
            callback(42);
        }
    }
    var foo = new Foo();
    var strCallback = (result: string) : void => {
        alert(result);
    }
    var numCallback = (result: number) : void => {
        alert(result.toString());
    }
    foo.save(strCallback); // not OK
    foo.save(numCallback); // OK
    

    If you want, you can define a type alias to encapsulate this:

    type NumberCallback = (n: number) => any;
    class Foo {
        // Equivalent
        save(callback: NumberCallback) : void {
            callback(42);
        }
    }
    

    From Stack Overflow: asked by vcsjones, answered by Ryan Cavanaugh (CC BY-SA 4.0)

  • What are these three dots in React doing?React

    That's property spread notation. It was added in ES2018 (spread for arrays/iterables was earlier, ES2015), but it's been supported in React projects for a long time via transpilation (as "JSX spread attributes" even though you could do it elsewhere, too, not just attributes).

    {...this.props} spreads out the "own" enumerable properties in props as discrete properties on the Modal element you're creating. For instance, if this.props contained a: 1 and b: 2, then

    <Modal {...this.props} title='Modal heading' animation={false}>
    

    would be the same as

    <Modal a={this.props.a} b={this.props.b} title='Modal heading' animation={false}>
    

    But it's dynamic, so whatever "own" properties are in props are included.

    Since children is an "own" property in props, spread will include it. So if the component where this appears had child elements, they'll be passed on to Modal. Putting child elements between the opening tag and closing tags is just syntactic sugar — the good kind — for putting a children property in the opening tag. Example:

    class Example extends React.Component {
      render() {
        const { className, children } = this.props;
        return (
          <div className={className}>
          {children}
          </div>
        );
      }
    }
    ReactDOM.render(
      [
        <Example className="first">
          <span>Child in first</span>
        </Example>,
        <Example className="second" children={<span>Child in second</span>} />
      ],
      document.getElementById("root")
    );
    .first {
      color: green;
    }
    .second {
      color: blue;
    }
    <div id="root"></div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.6.3/umd/react.production.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.6.3/umd/react-dom.production.min.js"></script>

    Spread notation is handy not only for that use case, but for creating a new object with most (or all) of the properties of an existing object — which comes up a lot when you're updating state, since you can't modify state directly:

    this.setState(prevState => {
        return {foo: {...prevState.foo, a: "updated"}};
    });
    

    That replaces this.state.foo with a new object with all the same properties as foo except the a property, which becomes "updated":

    const obj = {
      foo: {
        a: 1,
        b: 2,
        c: 3
      }
    };
    console.log("original", obj.foo);
    // Creates a NEW object and assigns it to `obj.foo`
    obj.foo = {...obj.foo, a: "updated"};
    console.log("updated", obj.foo);
    .as-console-wrapper {
      max-height: 100% !important;
    }

    From Stack Overflow: asked by Thomas Johansen, answered by T.J. Crowder (CC BY-SA 4.0)

  • Can you tell us about a personal achievement at work?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Full-stack developer jobs in San Francisco Bay Area (141), Jobs in San Francisco Bay Area (9,193), Full-stack developer jobs in the USA (448) and Remote Full-stack developer jobs in the USA (243)