1 points · by vikas123456789 · 1d ago · 4 comments
Remember that code is cheap now. Have your agents write unit tests on all logic. When it's done move on to property testing. Once property testing is done you can do heavy fuzzing nightly. Then move on to mutation testing. Mutation testing is another form of coverage and your agent will recommend a mix of new coverage and suppression.
A last line of defense are canary tokens (https://canarytokens.org/) on all backend systems and dev machines. This could give you precious time to rotate keys and lock down customer data if someone breaks into your site through the front door or compromises you with a supply chain attack.
Another user mentioned WAF, but they don't hinder offensive agents in my experience. Agents can move like users, and WAFs have to be permissive of user actions. If you have a business behind your website my company builds a self-serve agentic pentesting platform that you might be interested in (see profile).
Many on-site and off-site tested verified backups. Knowledge of at least 9 sea shanties.
Bonus points: Challenge your pen-testing friends to get shell access in exchange for a case of their favorite alcoholic beverage. Add stipulations as this can get very expensive.
Extra bonus points: Download, validate, pen-test all 3rd party CDN resources. Fork to remove bloat and insecure features. Name/URL version after legal reviews and approves, deploy to your own CDN account. Remove all 3rd party dependencies where feasible to do so. Create and validate Subresource Integrity files [3].
[1] - https://ncp.nist.gov/checklist/1072
[2] - https://ncp.nist.gov/repository
[3] - https://developer.mozilla.org/en-US/docs/Web/Security/Defens...