StackVet

your-decisions.md, as a page.

Your decisions: Notes with users

Produced by sv 0.3.0 (commit 7cb7878b2ec7) on 2026-11-22 03:24:15 UTC, run 90bae36f9345.

This file: The questions only you can answer and the checks only you can make, from compliance.md. For: You. The end of report.html lists every file in this folder and who each is for.

This page is one part of the report, cut whole from it: it credits nothing on its own, and the counts stay in compliance.md. Like every file in this folder it is sealed with the report, so sv can tell whether it is the page it wrote.

What only you can check

49 of the requirements that apply cannot be settled by any tool: they ask what your rules are, how the app is built, or what is true of it in production. Each one below says what doing something about it involves. None of them is counted as met — doing the thing is what would change that, not reading it here.

A further 53 are the Secure by Design and AISVS design-review controls, which are not listed one by one: those standards are checklists already, and repeating them here would be another wall of text. They are in the table above, and in the standards themselves.

requirementwhat to dohow
V2.1.1 — What counts as valid inputtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)For each thing people type into the app (a name, an email address, a date, an amount), what does a good one look like, how long may it be, and what should the app do with one that is wrong? In the standard's words: For each kind of information people type into the app (names, email addresses, dates, amounts, free text), write down the validation rules: what a valid value looks like, how long it may be, and what the app does with one that is not valid. Where to look: Go through every form and every field an API accepts, and for each one write what a good value looks like. The quickest way to find them all is to open each page that has a form and list its inputs.
V2.1.2 — Data items that must make sense combinedtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)Which things people enter have to make sense together (a start date before an end date, say), and how does the app check them? In the standard's words: Where two or more data items have to agree with each other once combined (a start date before an end date, a city that matches the ZIP code), write down which combinations matter and how the app checks that logical consistency. Where to look: Open each form that takes more than one value and list the pairs that have to agree — two dates, a country and a postal code, a quantity and a maximum. For each, try the combination that should be impossible and see whether the app takes it.
V2.1.3 — Business limitstell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)How many of something may one person make or do, and in how long? And is there any limit for the whole app, such as a total per day? In the standard's words: Write down the business logic limits: how many of something one person may create or do, and in how long (per user), and any limits across the whole app (globally), such as a daily total. Where to look: Go through the app as a user and note everything somebody could do repeatedly: create a record, send an invitation, start an export. For each, decide the number that would be too many in a day, and write that down.
V5.1.1 — What files people may uploadtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)Where people can upload a file: which kinds of file are allowed, how big may one be (unpacked, for a zip), and what does the app do with a file that looks dangerous? In the standard's words: For each place people can upload a file: the permitted file types and extensions, the maximum size (including once unpacked, for a zip), and how the app makes a file safe to download again, including what happens when a file looks malicious. Where to look: Open each place the app takes a file and look at what the code accepts today: the extensions it allows, the size limit if there is one, and where the file ends up. Write down what it should be, which may not be what it is.
V6.1.1 — How sign-in is protected against guessingtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)After how many wrong passwords in a row does the app slow down or lock the account, and for how long? And how does it stop somebody locking a real person out on purpose? (Say the numbers you want, even if the app does not do it yet.) In the standard's words: How the app defends against someone trying many passwords (password brute force) or leaked email and password pairs (credential stuffing): rate limiting, delays, or lockout, and the numbers, such as five failed attempts in fifteen minutes. Say how these controls are configured, and how the app stops an attacker locking a real person out on purpose (malicious account lockout). Where to look: Look in your sign-in code for anything that counts failures — a rate limiter, a lockout, a delay. If you find nothing, that is the answer, and the number to write down is the one you want rather than the one you have.
V6.1.2 — Words not allowed in passwordstell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)Which words should nobody be allowed to use in a password here, because they are the first anyone would guess (the app's name, your organization's name, your products)? In the standard's words: A list of context-specific words people may not use in their passwords: the app's name, the organization's name, product names, and other words someone would guess first. Where to look: Start from the names somebody could guess without knowing you: the app, your organization, your product, the town you are in. Add the obvious variations with numbers on the end.
V6.1.3 — Every way to sign intell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)What are all the ways someone can sign in (a password, a Google or Microsoft account, a code by email, a key for programs), and are they all protected as well as each other? In the standard's words: If there is more than one way to sign in (a password, a Google or Microsoft account, a code by email, an API key), list all these authentication pathways, and say which security controls apply to each, so they are enforced consistently and one is not weaker than the others. Where to look: Open the sign-in page and list every button on it, then search the code for anywhere else a session is created — an API key check, a magic link, a mobile app, an admin back door. Each one is a pathway, and they should all be as strong as each other.
V7.1.1 — How long someone stays signed intell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)How long may someone be away before they have to sign in again, how long may anyone stay signed in at most, and why are those times right for this app? In the standard's words: The session inactivity timeout (how long someone can be away before signing in again) and the absolute maximum session lifetime (how long any session lasts at most), and why those times are right for this app. If they are longer than NIST SP 800-63B suggests, say why. Where to look: Find the two numbers in your app's configuration: how long an idle session lasts, and how long any session lasts at most. If you cannot find them, the answer is whatever your framework does by default, and that is the number to write down and then reconsider.
V7.1.2 — Signed in on several devices at oncetell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)How many devices may one person be signed in on at once, and what happens when they sign in on one more? In the standard's words: How many concurrent sessions one account may have at once (a phone and a laptop, say), and what the app does when someone reaches the maximum: sign out the oldest, refuse the new one, or tell the person. Where to look: Sign in to the same account from two browsers and see whether both keep working. That tells you what the app does today; write down what it should do.
V8.1.1 — Who may do whattell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)Who may do what in the app: which kinds of people may use which features, and whose records may each one see or change? In the standard's words: The authorization rules: which kinds of users may use which functions (function-level: only administrators may open the admin page), and which records each may see or change (data-specific: a person may only open their own notes). Where to look: List the kinds of user the app has, then walk through the app as each one and note what they can reach. The pages that only some people should see, and the records that belong to one person, are what these rules are about. In the code, comparisons and queries of a record's owner or user id, where the app may keep a person to their own records; places that refuse a request with a 403 (Forbidden), whether the answer is sent, returned, or raised: app.py, line 245; app.py, line 213; app.py, line 320; and 1 more. These are where to look, not evidence: StackVet found them by their names or their shape (a 403 sent, a query by owner) and did not read what they do.
V8.1.2 — Who may see or change each fieldtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)Where some parts of a record are more private than the rest: who may see each part, who may change it, and does that change once the record is, say, published? In the standard's words: Where some fields of a record are more restricted than the record itself, the field-level access rules: who may read and who may write each field, and whether that depends on the record's state or status (a published order's total can no longer be changed). Where to look: Take a record with a field not everybody should see — a price, a note, an internal status. Write down who may read it and who may change it, and whether that depends on the record's state.
V11.1.1 — How keys are looked aftertell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)For each secret key the app uses: where is it kept, who can get to it, how often is it replaced, and what happens if it may have leaked? In the standard's words: The policy for cryptographic keys: where each key is kept, who can reach it, how often it is replaced, and what happens when one may have leaked, following a key management standard such as NIST SP 800-57 through each key's lifecycle. Where to look: List every key the app uses: session signing, encryption at rest, the TLS certificate, anything a provider gave you. For each, write where it lives, who can read it, and what you would do tomorrow if it leaked.
V11.1.2 — Every key, algorithm, and certificatetell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)What is every key, kind of encryption, and certificate the app uses, and what may each one be used for? In the standard's words: A cryptographic inventory: every key, algorithm, and certificate the app uses, where each key may and may not be used, and what data each may and may not protect. Keep it updated when one is added or replaced. Where to look: Look in your .env and your host's secret store, at the certificate on the live site, and at whatever the code calls to hash or encrypt. That is the inventory; write down which data each protects and where it may not be used.
V13.1.1 — Everything the app talks totell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)What does the app connect to outside itself (payments, email, AI services, other programs), and why? And can anyone using the app give it an address that it will then visit itself? In the standard's words: All the communication needs of the app: every external service it connects to (payment providers, email, AI services, other APIs) and why, and any place where someone using the app can give it an address that the app will then connect to itself. Where to look: Look at your dependency list for anything that calls out — payment, email, AI, maps, analytics — and at the report's own list of outside services. Then add the places where somebody using the app can give it an address it will fetch.
V14.1.2 — How each kind of sensitive data is protectedtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)For each kind of private information the app keeps: is it encrypted, how long is it kept, may it appear in logs, who can see it, and what does the privacy law you follow require? In the standard's words: For each kind of sensitive data the app holds, its protection requirements: whether it is encrypted, how long it is kept (retention), whether and how it may appear in logs, who can see it, and anything the privacy law you follow requires. Where to look: Take each kind of data from the list you made for V14.1.1 and decide four things for it: encrypted or not, kept for how long, allowed in logs or not, and who may see it.
V15.1.1 — How quickly outdated libraries are updatedtell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)When a library the app uses turns out to have a security hole, how soon must it be updated, by how serious the hole is (critical within a week, say)? And how often are libraries updated anyway? In the standard's words: Time frames for remediation: how soon a third-party library with a known vulnerability is updated, by how serious the vulnerability is (for example, critical within a week), and how often libraries are updated in general. Where to look: Decide the number of days you would accept between a vulnerability being published and it being fixed, for each level of severity. Start from how bad it would be for this app rather than from what other people write down. Then put the same numbers in stackvet.toml as [policy] fix-within-days, so sv audit can hold the app's packages to them.
V15.1.3 — Slow or heavy featurestell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)Which features are slow or heavy (big exports, reports, AI requests, image processing), and what stops one person's heavy use from making the app unavailable to everyone else? In the standard's words: Which functionality is time-consuming or resource-demanding (large exports, report generation, AI requests, image processing), and how the app prevents a loss of availability from overusing it: queues, limits per user, timeouts. Where to look: Time the slow things: an export, a report, a search over everything, an AI request, anything that resizes an image. Anything a person notices waiting for is what this asks about. In the code, work that can be slow or heavy: password hashing, images and PDFs, archives, exports, calls to an AI model, and files uploaded: app.py, line 49. These are where to look, not evidence: StackVet found them by their names or their shape (a 403 sent, a query by owner) and did not read what they do.
V16.1.1 — What the app logstell your AI coding tool your answer, and it writes it in security-notes.md (at a terminal, sv notes makes the file)What does the app write in its logs, where are they kept, who can read them, what are they for, and how long are they kept? In the standard's words: An inventory of the logging: which events are logged, in what format, where the logs are stored, who can read them (access), what they are used for, and how long they are kept. Where to look: Find where the app's output actually goes — the console, a file, your host's logging, an outside service — and what it writes at each level. Then say who can read it and how long it is kept.
V8.3.1 — Authorization rules are enforced at a trusted service layertell your AI coding tool your answer, and it records it in the [design] section of stackvet.tomlWhen somebody tries to open a page or do something they are not allowed to, is it the server that stops them, or only a button that is hidden? In the standard's words: Does the application enforce its authorization rules at a trusted service layer — the server — rather than relying on controls an untrusted consumer could manipulate, such as a hidden button or a disabled field in the browser? Hiding a link is not a rule: anyone can request the address directly. Where to look: Take a page or an action only some people should reach, and find the code that stops everybody else. If the only thing you find is the button being hidden in the template, that is the answer. In the code, comparisons and queries of a record's owner or user id, where the app may keep a person to their own records; places that refuse a request with a 403 (Forbidden), whether the answer is sent, returned, or raised: app.py, line 245; app.py, line 213; app.py, line 320; and 1 more. These are where to look, not evidence: StackVet found them by their names or their shape (a 403 sent, a query by owner) and did not read what they do.
V4.2.1 — Everything in front of the app agrees where a request endstell your AI coding tool your answer, and it records it in the [design] section of stackvet.tomlIf a request passes through other machines before reaching the app (a load balancer, a firewall), do they all agree on where one request ends and the next begins? In the standard's words: Do all the components a request passes through — load balancers, firewalls, and the application server — agree on where one HTTP message ends and the next begins? When they disagree, somebody can hide a second request inside the first. Where to look: Find what sits in front of the app — a load balancer, a reverse proxy, your host's edge. Check whether each one and the app agree on request size limits, chunked encoding, and duplicate headers. If you run nothing in front of the app, say so: that is the answer. Why StackVet cannot check it: The machines in front of the app, such as a load balancer, a reverse proxy, or your host's edge, are not in the app's folder, and StackVet runs the app on its own, with nothing in front of it. Sending the app a request built to be read two ways would test only the app's own server, and would say nothing about what is in front of it once the app is live.
V14.2.2 — Sensitive data is not left in a cachetell your AI coding tool your answer, and it records it in the [design] section of stackvet.tomlIs private information kept out of the caches the app does not control (your host's edge, a content delivery network), or protected when it is stored there? In the standard's words: Does the application prevent sensitive data from being kept in caches it does not own — a load balancer, a content delivery network, or an application cache — or make sure anything kept there is protected? Where to look: List every cache a response passes through: your host's edge or CDN, a reverse proxy, the browser. Then look at what a private page sends back in Cache-Control. Anything sensitive without no-store is the answer to this one.
V16.4.3 — Logs are sent somewhere separatetell your AI coding tool your answer, and it records it in the [design] section of stackvet.tomlAre the app's logs sent to a separate place, so someone who took over the app could not quietly delete them? In the standard's words: Are logs sent to a separate system, so that somebody who takes over the application cannot quietly delete the record of what they did? Where to look: Find where the logs end up. If the answer is a file on the same machine the app runs on, then somebody who takes over the app can edit them, and this is not done.
V2.3.1 — Steps cannot be skipped or done out of ordercheck it by hand; nothing here canTake a flow with more than one step — checkout, sign-up with a confirmation, anything with a "next" button. Write down the address of the last step. Start the flow again, and go straight to that address without doing the steps before it. It should refuse. Then try the steps in the wrong order, and try the same step twice. Describing the flow in stackvet.toml as flow under [stack.run.users] lets sv report --run try two skips, one wrong order, and one repeated step for you; other orders, and the last step sent again after the flow finished, are still yours.
V12.2.2 — The certificate on the live site is one browsers trustcheck it by hand; nothing here canOpen the live site in a browser and click the padlock. It should show a certificate issued by a public authority, with a date that has not passed, and the name should match the address. A warning page, or a certificate the app generated for itself, means no visitor can tell your site from an impostor.
V15.2.1 — Nothing is past the update deadline you setcheck it by hand; nothing here canWrite the time frames from your security notes into stackvet.toml as [policy] fix-within-days, one number of days per severity, then run sv report --advisories DIR (or sv audit) against a local advisory database. It lists the packages with a known vulnerability and puts the ones past your time frame first. Those are the answer to this one. Without the numbers it counts every known vulnerability as late, whatever its age.
V2.3.2 — The business limits you wrote down are the ones the app enforcescheck it by hand; nothing here canTake each limit from your security notes — so many of something per person, so many per day — and try to go past it in the app. Try it slowly and then quickly, and from two accounts at once if the limit is meant to be global.
V2.3.4 — Two people cannot book the same thingcheck it by hand; nothing here canOnly where something is limited in number: a seat, a slot, the last item in stock. Open the app in two browsers, get both to the moment of booking the same one, and confirm both as close together as you can. Exactly one should succeed.
V6.2.11 — The banned word list is actually usedcheck it by hand; nothing here canTake a word from the list you wrote down — the app's name, your organization's name — and try to register an account using it as the password, or with it inside a longer password. It should be refused. Listing the words in stackvet.toml under [policy] as context-words lets sv report --run try the first one for you, through the app's own sign-up.
V6.2.12 — Passwords from known breaches are refusedcheck it by hand; nothing here canTry to register with a password known to have been breached. Password123! and qwerty123456 will do; haveibeenpwned.com/Passwords lists more. The app should refuse it and say why, without telling the person anything about other accounts. sv report --run tries one such password through the app's own sign-up, but one refusal only supports this: it does not show the whole list is checked.
V6.3.3 — Getting in needs more than a passwordcheck it by hand; nothing here canSign in and note everything you were asked for. A password alone is a single factor. A code from an app or a security key is a second one. If there is only a password, that is the answer to this one; if you have decided a password alone is enough, ASVS asks for the reasoning to be written down.
V6.3.4 — There is no forgotten way incheck it by hand; nothing here canList every way somebody can become signed in: the password form, any "sign in with" button, magic links by email, API keys, an admin back door, an old mobile app. Compare that with the list in your security notes. Anything not on the list is what this asks about, and each way in should be as strong as the others.
V6.4.4 — Losing a second factor does not become the easy way incheck it by hand; nothing here canOnly where people sign in with a second factor. Go through losing it as a person would: what does support ask for before restoring access? If the answer is less than what was asked when the account was set up, the recovery path is now the weakest way in.
V7.3.1 — Being away signs you outcheck it by hand; nothing here canSign in, then leave the app alone for longer than the idle timeout you wrote down, without clicking anything. Come back and reload a private page. You should be asked to sign in again.
V7.3.2 — A session does not last forevercheck it by hand; nothing here canSign in and keep using the app past the maximum lifetime you wrote down. Staying active must not keep it alive forever — at the limit you should be asked to sign in again even mid-use.
V13.3.1 — Secrets live in something built to hold themcheck it by hand; nothing here canList where each password, key, and token the app needs actually comes from: a key vault or your host's secret store, an environment variable, or a file in the code. Say who can read each one, and how you would replace one if it leaked. A secret nobody can rotate is the answer to this one.
V13.4.5 — Nothing internal is reachable from outsidecheck it by hand; nothing here canFrom a browser that is not signed in, and ideally not on your network, try the addresses that exist for you rather than for visitors: /docs, /swagger, /metrics, /health, /debug, /admin, /.git. Each should either refuse or not exist.
V14.1.1 — You know which of your data is sensitivecheck it by hand; nothing here canList every kind of information the app stores, including what it writes to logs and what it keeps in backups. Mark each with how much it would matter if it got out. Anything you cannot place is the thing to look at, and remember that encoded is not the same as protected.
V14.2.3 — Nothing sensitive is handed to an outside servicecheck it by hand; nothing here canOpen the app in a browser with the network panel recording, sign in, and use it normally. Look at every request going somewhere that is not your own address — analytics, error reporting, fonts, chat widgets. Check what is in each, including the address of the page, which often carries names or record numbers. With browser under [stack.run.users], sv report --run looks through what the signed-in pages send to other sites for the test account's email address, password, and session cookie; but code a page loads from another site cannot run inside the fence, so what analytics and chat widgets send is still yours to look at.
V14.2.4 — Sensitive data is handled the way your notes saycheck it by hand; nothing here canTake each protection you wrote down — encrypted, kept for so long, never in logs — and check the app against it. Search the logs for the data that should never appear there, and confirm that something really deletes records when their time is up.
V15.2.2 — Time-consuming features cannot cause a loss of availabilitycheck it by hand; nothing here canTake each time-consuming or resource-demanding feature you documented — an export, a report, an AI request, image processing. Start several at once from one account and see whether the rest of the application stays usable. The defenses you wrote down should stop any one person causing a loss of availability for everybody else. In the code, work that can be slow or heavy: password hashing, images and PDFs, archives, exports, calls to an AI model, and files uploaded: app.py, line 49. These are where to look, not evidence: StackVet found them by their names or their shape (a 403 sent, a query by owner) and did not read what they do.
V16.2.3 — Logs go only where your inventory sayscheck it by hand; nothing here canCompare the log destinations in your inventory with where they really go: files on the server, your host's logging, any outside service, and anything printed to the console. A destination nobody wrote down is one nobody is watching or protecting.
V16.3.3 — The events you said would be logged really arecheck it by hand; nothing here canDo each thing your notes say gets logged — a failed sign-in, a permission refused, a record deleted — then look in the logs and confirm each one is there with enough detail to tell who and when. Then try something that should be refused, such as posting a form with a field the app does not expect, and check that the refusal was logged too.
V5.4.3 — Uploaded files are scanned for virusescheck it by hand; nothing here canFind where a file someone uploads is stored before anyone downloads it, and check whether it is scanned by antivirus software on the way in: your host's upload service may offer this, or a scanner such as ClamAV can be added. Try uploading the harmless EICAR test file, which every antivirus scanner recognizes. If the app accepts it and serves it back, known malicious content would be served too.
C7.2.1 — The app judges how reliable each AI answer ischeck it by hand; nothing here canAsk your AI coding tool to show you where the app decides how confident it is in an answer the model generated, before showing it. Look for a score or a check, not just the model's text passed straight through. If the answer is shown whatever the model said, the reliability of generated answers is not being assessed.
C7.2.2 — A doubtful AI answer is blocked or replacedcheck it by hand; nothing here canWith the confidence check from the item above, find the threshold below which an answer is not shown, and what the app shows instead: a fallback message such as "I'm not sure, please contact us". Try asking the AI something it cannot know about your business. It should fall back rather than invent an answer.
C12.2.2 — Unusual behavior toward the AI is spottedcheck it by hand; nothing here canCheck whether the app watches for conversations that look like probing: the same question retried many times with small changes, excessive retry attempts, or one visitor trying many different tricks in a row. Try it yourself and look for whether anything was flagged or anyone told.
C12.2.3 — Jailbreak and prompt-injection attempts are recognizedcheck it by hand; nothing here canList the rules the app uses to recognize attacks aimed at the AI: jailbreak phrasings, prompt injection hidden in documents it reads, attempts to extract its system prompt. Try a few coordinated attempts from two accounts at once, and check whether the rules catch them and something is recorded.
AC.4.1 — A person reviews the code the AI wrotecheck it by hand; nothing here canLook at how changes to the app get in: check that every change your AI coding tool wrote is read and approved by a qualified person before it goes live, and that the reviewer is not the same person who asked the AI for the code. The AI agent does not count as the human reviewer. If changes go straight from the AI to the live app, the answer is no.
AC.6.3 — The AI coding tools themselves are attacked on purpose, on a schedulecheck it by hand; nothing here canCheck whether anyone regularly tries to trick the AI tools that help build the app: a pull request, issue, or comment with a hidden instruction, a known jailbreak, or a request to add a harmful package. Write down when this was last done and what it found, and whether each finding was tracked until fixed. If it has never been done, schedule the first red-team exercise.

Requirements nobody has placed

Each of these applies or not depending on an answer only you can give. Answer it in stackvet.toml, or with your AI coding tool, and write the report again.