Buscar

Objetos taggeado con: appsec

60-second Supabase check. Paste this in the SQL Editor:

select relname from pg_class where relnamespace = 'public'::regnamespace and relkind = 'r' and not relrowsecurity;

Every table it lists has RLS off. If anon still has its grants (the default on older projects), anyone with your public key can read, insert, update and delete rows.

Fix: alter table public.x enable row level security; then add policies scoped to auth.uid().

#Supabase #PostgreSQL #Postgres #RLS #vibecoding #AppSec #webdev

Common one in AI-built apps: an RLS error shows up, the agent swaps in the service_role key in the API route, the error goes away.

That key skips RLS. Now /api/orders/[id] returns whatever id it's given, to anyone signed in.

Fix: filter by id AND user_id from the server-side session (never from the request body), or create the Supabase client with the user's session so your policies apply.

#Supabase #AppSec #infosec #nextjs #postgres #RLS #vibecoding #webdev #IDOR

Unpopular-ish opinion: an MCP server listing its tools without auth is usually not the scary part. Ours does it on purpose (one read-only tool, rate limited).

The scary part is a tool like get_invoice that queries with a service role key and trusts the model to pass the right user id. Signed in is not the same as allowed. Check the caller's permission inside every tool, same rule as an RLS policy.

#MCP #AIagents #Supabase #AppSec #infosec #devtools #vibecoding #webdev #Postgres #LLM

60-second Supabase check, SQL Editor:

select tablename, policyname, cmd, qual from pg_policies where qual ilike '%auth.role()%' or qual ilike '%auth.uid() is not null%' or qual = 'true';

Each row is a policy that only checks "is someone signed in" (or nothing at all). On profiles, orders, messages or uploads, swap it for (select auth.uid()) = user_id.

#Supabase #Postgres #PostgreSQL #SQL #RLS #AppSec #vibecoding #webdev #infosec #security #buildinpublic #indiehackers #Lovable #Bolt #Cursor

A Supabase RLS policy written as "to authenticated using (true)", or using (auth.role() = 'authenticated'), doesn't mean "the right user". It means anyone with an account.

And with "Allow new users to sign up" on (the default), anyone can make one with the public key in your JS. Anonymous sign-ins get the authenticated role too.

One query to find these, and the auth.uid() fix: abbilabs.xyz/guides/supabase-authenticated-role-any-signed-up-user

#Supabase #RLS #vibecoding #AppSec #Postgres #webdev #buildinpublic #indiehackers #infosec

Question for anyone with Supabase anonymous sign-ins turned on: did you go back through your policies?

Anonymous users use the same authenticated Postgres role as real accounts. So "to authenticated using (true)" now means anyone who opens the app, no email needed.

auth.jwt()->>'is_anonymous' is how you tell them apart in a policy.

#Supabase #RLS #PostgreSQL #Postgres #AppSec #vibecoding #webdev #auth #SQL #infosec #database #Lovable

The media in this post is not displayed to visitors. To view it, please go to the original post.

If anyone pitches you "non-repudiable" AI agent logs backed by a shared secret, ask who else holds the key.

Proud to co-lead the OWASP GenAI Agent Control Standard (ACS) 0.1.5 release. We’re bringing honest cryptographic specs, experimental ML-DSA-65 decision signing, and fail-closed Guardian adapters for Claude Code, Cursor, and NVIDIA NAT.

Dive into the release: github.com/GenAI-Security-Project/agent-control-standard/releases/tag/v0.1.5

#AISecurity #OWASP #AppSec #GenAI #OpenSource

The media in this post is not displayed to visitors. To view it, please go to the original post.

SIGSHIP just went live on Startup Fame 🚀

A free, MIT-licensed launch check for AI-built apps (Lovable, Cursor, Bolt, Replit, Claude Code). 17 checks: exposed keys, open databases, unverified payment webhooks, unlimited AI usage. Runs fully offline — no code uploaded.

npx sigship
startupfa.me/s/sigship

#OpenSource #AppSec #VibeCoding #DevTools

The media in this post is not displayed to visitors. To view it, please go to the original post.

💀 Black Friday has entered the Village!

From hoodies to mugs and everything in between, enjoy 20% OFF everything in the AppSec Village shop!

Deets:
Use code BLACKFRIDAY20
No minimum spend
Ends November 30 at 11:59 PM Pacific

Ready to stock up on some fresh gear for the next conference?

👉 shop.appsecvillage.com/

Discount applies to products only. Shipping excluded.

#AppSecVillage #BlackFriday #AppSec #CyberSecurity

DW TV (Germany): BIML on AI Control, Security, Safety and Regulation of Public Frontier Model Companies (Anthropic IPO)
#MLsec #ML #AI #infosec #swsec #appsec

berryvilleiml.com/2026/11/20/biml-on-ai-control-security-safety-and-regulation-of-public-frontier-mo…

The media in this post is not displayed to visitors. To view it, please go to the original post.

🔒 How well does PVS-Studio detect #security vulnerabilities?

For over a year, PVS-Studio for Java has detected vulnerabilities in 9 of 10 OWASP Top Ten categories.
We tested PVS-Studio 8.02 against the OWASP Benchmark.

The analyzer detected 86% of security defects with an 8% false positive rate.

#OWASP #AppSec #Java

One extra byte in Ruby can be reached before anyone logs in to a default Rails app (Ruby2Shell, CVE-2026-132825).

What happened, who is affected, and the fix (upgrade, restart, rebuild images):
youtu.be/sgRTvE9oLMY

#Ruby #Rails #AppSec #infosec

Supabase tip: got a view over a table you locked down with RLS? By default Postgres runs a view with its creator's rights, on Supabase usually the postgres role, which skips RLS. So the view can hand every row to anyone with your anon key.

The Security Advisor flags it as "Security Definer View". Fix on Postgres 15+:
alter view your_view set (security_invoker = true);

abbilabs.xyz/tips/supabase-views-bypass-rls

#Supabase #PostgreSQL #Postgres #RLS #SQL #AppSec #infosec #vibecoding

Built a live chat on Supabase Realtime? Check two permission systems.

Postgres Changes follows your table's RLS select policies, so a using (true) policy streams every new row to anyone holding your anon key.

Broadcast and Presence only check realtime.messages policies on channels joined with private: true, and only once "Allow public access" is off.

Queries + a signed-out test:
abbilabs.xyz/guides/supabase-realtime-authorization-private-channels

#Supabase #Realtime #PostgreSQL #RLS #vibecoding #webdev #AppSec

France24 (English) interviews Brookings Inst. expert, a former Obama admin #CyperSecurity czar, about the multiple recent network outages that hit the FAA, airlines, banks, Microsoft, even the NSA. This is a good, thorough discussion in a ten minute brief. Worth watching. The TL;dr is #AI has made exploiting software vulnerabilities much easier and faster - giving offensive hackers an edge. The final question remains, will the defense be able to handle the offense, or will lots of the software we use daily suddenly become unusable? #ArtificialIntelligence #OpSec #AppSec #security #IT

youtube.com/watch?v=x70CiWBG_Ps&is=oEFIvnMhIvnEv92F

60-second check before work: open your OpenAI project's spend limit settings.

Is "Enforce a hard limit" on? OpenAI's docs say alerts alone don't stop traffic, and even the hard limit isn't instant. If a key leaks, the cap is what stops the bill growing overnight.

Also: one project and key per app, and the key lives on your server, never in browser code.

#OpenAI #AI #LLM #GenAI #APIsecurity #vibecoding #webdev #AppSec #security

The media in this post is not displayed to visitors. To view it, please go to the original post.

CVE-2026-40976: in Spring Boot 4.0.0–4.0.5 a specific dependency mix (Actuator auto-config without the health module) left the default filter chain with no authorization rule. Every endpoint reachable unauthenticated, app boots normally, unit tests green.

Test it: boot the packaged artifact per module combo, probe routes unauthenticated, fail CI if no explicit authz policy.

#springboot #java #appsec #cicd

acetrum.com?utm_source=mastodon&utm_medium=social

The media in this post is not displayed to visitors. To view it, please go to the original post.

A deep-link handler validated its return URL with returnUrl.endsWith("example.com"), then handed over the session cookie. That suffix also ends evil-example.com and example.com.attacker.net.

Parse, then compare: new URL(input), reject unless protocol is https: and hostname is in an exact Set. Subdomains: host === base || host.endsWith("." + base). The leading dot is the defense.

#appsec #javascript #webdev #oauth

acetrum.com/blog/suffix-checks-not-origin-validation-host-allowlists?utm_source=mastodon&utm_medium=…

60 second check before work.

Open your live site, view source, copy the URL of any .js file and add .map to the end. If a file downloads, anyone can read your original source, comments, file names and all.

Usually it's one setting: productionBrowserSourceMaps in Next.js, build.sourcemap in Vite. Turn it off (or upload maps to your error tracker privately) and redeploy.

#webdev #javascript #nextjs #vite #react #vibecoding #appsec #security #cybersecurity #devtools #buildinpublic

en respuesta a Steve Herman

THEY WERE CAUSED BY BAD SOFTWARE

you simply "turn on the lights" and the cockroaches skitter

#swsec #appsec