Skip to contentLockpick
How it worksPricingDocs

Read

  • BlogPlain answers to common security questions
  • GuidesStep by step fixes for common setups
  • Security checksEvery check we run, explained

Learn

  • Learn with PickTwo-minute lessons on how sites get attacked
  • Lockpick for ClaudeCheck sites from Claude and other assistants
  • GlossaryThe words we use, in plain words

Company

  • ChangelogWhat changed, newest first
  • StatusWhether scans are running right now
  • Security and trustHow we check and what we never do
Sign inCheck it
Checks

Does your API advertise methods that change data?

By Mark KashefPublished October 8, 2026

This check asks your API routes which request methods they accept, with one polite preflight request, and notes routes that list methods that create, change or delete data.

What does this check look at?

It looks at whether an API address, when asked which methods it accepts, lists ones that create, change or delete data. A Deep scan never signs in, never changes anything on your site, never tries to break in and never reads your code.

Only a Deep scan runs it, after you prove you own the site.

See whether your site has this. A Deep scan walks the whole site, the scripts it loads and your API surface.

Run a Deep scan

What does a result mean?

What the report showsWhat it meansWhat to do
Info findingA route declares write methods.Confirm the route needs them and that each one requires sign-in.

Nothing is ever written, so it does not show that a change works without sign-in. A clean result means nothing was found in what the scan read. It does not prove the problem is absent from parts the scan never sees.

How serious is a finding?

This is information only. It claims no weakness, so it carries no verdict, and you decide whether anything should change. Confidence starts low, because it is inferred from headers or declarations rather than shown directly. The report lists what to fix by how directly someone could use it, not by the severity label.

Which standards does it relate to?

StandardReference
OWASP Top TenA02:2025 Security Misconfiguration
CWECWE-749
ASVSv5.0.0-4.1.4

Each one is a related control, not a verification. A scan sees what anyone online can see, so it never proves a whole requirement is met.

Fix it with your AI

Trim the methods to what each route implements, and test that writes are refused without a session.

Fix prompt for any coding agent
My API routes advertise write methods (POST, PUT, PATCH or DELETE) in their Allow or Access-Control-Allow-Methods headers. For each route the report names, check which methods it really implements, return 405 for the rest, and limit Access-Control-Allow-Methods to what my own front end needs. Then add a test per write method that sends it without a session and expects 401 or 403.

How to check

Say Atlas, our example app at atlas.example, allows every method on its API by default. A Deep scan notes the declared write methods, and the team confirms each requires sign-in.

Deep scans come with the Deep plan, and pricing shows what it includes. Pulse or Deep explains what each scan reads, and the full list of checks shows the rest.

Questions people ask

Does this mean anyone can write to my API?

No. It means the route says it accepts those methods. Whether a write works without sign-in was never tested.

Why not test the write?

Because it could change your data. A Deep scan only reads, so this stays a prompt to check your own code.

Run this check on your site

Only a Deep scan runs this check, once you prove you own the site. Deep walks your whole site, the scripts it loads and your API surface.

Run a Deep scan

Related pages

  • Does an API route on your site answer without signing in?
  • Does your site let other websites read responses with your visitors’ cookies?
  • Is your API description public, and does it match your API?

Sources

  1. How we rate findings Lockpick docs, read on October 7, 2026
  2. What a Deep scan does Lockpick docs, read on October 7, 2026

About the author

Mark Kashef, Founder of Lockpick

I'm Mark, and I build Lockpick. I write these pages, and each one is checked against its sources before it goes live. The Updated date changes only when the page itself does.

Lockpick
PricingMethodologyDocsBlogGuidesSecurity checksLearn with PickSecurity and trustLockpick for ClaudeChangelogStatusFacts for AI assistants

Lockpick is a security scanner for vibe-coded apps. It checks what your live site exposes and what a GitHub repo or AI skill would do before you install it, then gives you a fix prompt for Lovable, Bolt, Replit, Cursor or Claude Code.

Lockpick assesses public pages you are authorized to test, and public GitHub code it never runs.

© 2026 LockpickTermsPrivacyContactSign in