How software works · Guide for product managers

Security for product managers

Most security incidents in small and mid-size products are not sophisticated attacks. They are ordinary mistakes — a leaked key, a missing permission check, an open database — that nobody thought to ask about. This guide gives you the questions that catch them early, especially when code is written by AI.

Guide 6 of 13 in the technical PM path

11 min read · Updated · By the TechPMer team

Why a PM should care

You are not expected to be a security engineer. You are expected to make security part of the definition of done.

1. Secrets must stay secret

API keys, database passwords and tokens give access to paid services and data. The rules:

2. Authorization on every request

Checking that a user is logged in is not enough; the server must check that they are allowed to access this specific record. The classic failure: changing /invoices/1042 to /invoices/1043 shows another customer's invoice. Hiding buttons in the UI does not count — permissions must be enforced on the server or in database rules. See authentication and authorization for product managers.

3. Never trust input

Anything that comes from users — form fields, URLs, uploaded files, API requests — can be malicious.

4. Sessions and CSRF

CSRF (cross-site request forgery) tricks a logged-in user's browser into sending a request they did not intend — for example, from a malicious page. Modern defaults (SameSite cookies, token-based APIs, CSRF tokens) handle most cases; the PM question is simply whether sensitive actions (changing email, deleting data, payments) are protected and sometimes require re-confirmation.

5. Rate limiting and abuse

Anything free, public or expensive will be abused: sign-up forms, login, password reset, AI features, email sending. Rate limits (for example, 5 login attempts per minute) and quotas protect both security and your cloud bill.

6. Dependencies

Modern apps use hundreds of open-source packages. Vulnerabilities are found in them regularly. Teams should use automated tools (such as GitHub Dependabot or npm audit) to keep them updated — and think twice before adding a new package for a small feature.

7. Privacy by design

The AI-generated code checklist

AI coding agents write working code fast — and commonly make these mistakes:

After any significant AI-built feature, ask the agent: "Review this change for security issues: secrets, authorization, input validation, injection, XSS, rate limiting and data exposure. List concrete problems with file and line." Then verify the top items yourself.

What engineers may tell you

Questions a good technical PM asks

  1. What data does this feature touch, and who is allowed to see or change it?
  2. Where is that permission enforced?
  3. Are any secrets involved, and where do they live?
  4. What happens if someone sends 10,000 requests to this endpoint?
  5. What personal data do we store or send to third parties, and for how long?
  6. How would we know if this was being abused?

Security in acceptance criteria

Add lines like these to your stories:

Try it yourself

Pick one feature and walk through the list above in 15 minutes with your tech lead. You will almost always find one gap — and fixing it before launch is far cheaper than after.

In the TechPMer course, week 7 covers data security rules and week 9 (“Testing, Debugging & Reviewing AI Code”) includes a security review of your own AI-built project.

Start with week 1 — free

No credit card. Open the first week as a guest, create a free account to save progress and unlock week 2 and the AI mentor.

Start learning Compare plans