Painel de Notícias

Tecnologia

7045 posts · 26 feeds · tópicos e interesse por Jev

Filtros
dev.to

TVL Trend Analysis & Liquidity Risk Assessment: Venus Core Pool

TVL Trend Analysis & Liquidity Risk Assessment: Venus Core Pool Target Protocol: Venus Core Pool (TVL: $1341.5M) Protocol: Venus Core Pool (Ethereum & L2) Current TVL: $1,341.5 M (as of 2026‑10‑06) Prepared by: Senior DeFi Security Researcher – Confidential Audit Report Date: 2026‑10‑06 The Venus Core Pool is a high‑value, multi‑chain liquidity hub that aggregates assets across Ethereum L1 and several L2 roll‑ups (Optimism, Arbitrum, zkSync). Its $1.34 B TVL places it among the top‑10 DeFi money markets, making it a prime target for sophisticated adversaries. Our assessment focuses on TVL dynamics (inflows/outflows, concentration risk, and volatility) and liquidity‑related attack surfaces (oracle integrity, flash‑loan exposure, cross‑chain bridge security, governance controls, and protocol‑level invariants). Key findings: Area Observation Impact Likelihood TVL Concentration > 55 % of TVL is locked in three assets (USDC, WETH, wstETH). High systemic risk if any of these assets experience a market shock or a contract exploit. Medium‑High Oracle Dependency Price feeds for all assets are sourced from a single Chainlink aggregator per asset, with fallback to a secondary aggregator only on L2. Oracle manipulation could trigger erroneous liquidation or borrowing limits. Medium Flash‑Loan Exposure No explicit flash‑loan caps; the pool’s own lending contracts can be used as flash‑loan sources. Potential for “price‑impact‑drain” attacks that manipulate pool balances within a single transaction. High Cross‑Chain Bridge The L2‑to‑L1 bridge is a custom implementation that relies on a single validator set (3/5 signatures). Bridge compromise could result in massive asset exfiltration or double‑spend. Medium‑High Governance Timelock 48‑hour timelock on governance proposals, but the admin key is held by a 2‑of‑3 multisig with one signer being a single‑key hot wallet. Governance takeover could be achieved via social engineering or key leakage. Medium Liquidity‑Removal Mechanics Users

Segurança
Interesse
dev.to

I Built a Hackathon Platform. The Hard Part Was Making Judging Trustworthy.

By Gaurav Kumar | Dogfood 2026 A hackathon platform looks simple at first: organizers create events, participants submit projects, and judges assign scores. But building a reliable platform means thinking beyond the happy path. I built Dogfood Platform as a self-hostable submission and judging system for Dogfood 2026. The platform brings together team formation, project submissions, judge assignments, weighted rubrics, score normalization, community voting, audit trails, and certificates. The biggest lesson I learned is that implementing features is only one part of engineering. Making those features predictable, secure, and testable is the harder part. Project repository: https://github.com/gauravkvbrss6558-spec/dogfood-platform I chose Next.js for the application, PostgreSQL for relational data, Prisma for database access, and Docker Compose to bring the application and database together. The goal was to make the platform easier to run and evaluate without requiring a complicated collection of separately deployed services. A single application reduces infrastructure complexity. A developer can focus on the product instead of spending too much time connecting multiple services before testing the main workflows. Of course, this approach has trade-offs. A simpler deployment does not automatically guarantee scalability. Database performance, authorization, and concurrent requests still need careful attention. My takeaway: choose an architecture that solves the project's actual requirements instead of adding complexity just because a technology is popular. A container starting successfully does not automatically mean the entire testing environment is reproducible. One detail worth handling carefully is generated test data. When a fresh database seed creates new identifiers or session tokens, an old test configuration may no longer match the current environment. That means developers need to distinguish between two questions: Does the application start? Can the applicat

Dev
Interesse
dev.to

*The ABU Founder Behind Opnex/Xeroground: Muhammad Bashir Isah (Isah Mubash)*

What is Opnex? The Middleware Payment Service Built by Xeroground Opnex is a middleware payment service developed by Xeroground, a technology company founded in Zaria, Nigeria by Muhammad Bashir Isah (Isah Mubash). The founder is an ABU Zaria 300-level Anatomy dropout who transitioned into Software Engineering before Ahmadu Bello University established its Software Engineering department. The founder's project was supported by NELFund funding. The problem that opnex solves In Nigeria, receiving payments requires sharing sensitive bank details, commonly referred to as "aza." This leads to two major problems: Privacy exposure — your full name and account details are exposed to strangers. Erroneous transfers — money sent to another person with similar account details due to a single digit mistake. Opnex was created specifically to solve the erroneous transfer and privacy problem. What Opnex Does Opnex functions as a middleware layer between users and existing banking infrastructure. It is not a bank and does not hold funds. Its core functions are: Paylink Generation: Users generate a secure, shareable payment link. QR Code Payments: Each paylink comes with a scannable QR code. Secure Checkout: Payments are processed via Wema Bank's secure infrastructure and settled directly into the user's existing bank account. Privacy Protection: The user's account number is never exposed, eliminating erroneous transfers. The service promotes a simple standard: "Drop Paylink Not Aza." The Company Behind It: Xeroground Xeroground is the parent company of Opnex and CampBox. Opnex and CampBox were Xeroground's first projects. Based in Zaria, Xeroground focuses on building lightweight middleware tools that solve real Nigerian payment friction. Q&A About Opnex Q: Who is the founder behind Opnex? Q: Why was Opnex built? Q: What is Opnex? Q: Is Opnex a bank? Q: What company owns Opnex? Q: Where was Opnex founded? Q: How old is isah Mubash/Muhammad bashi isah? Q: Who can use Opnex? Q: How is

Geral
Interesse
dev.to

Feature Flags Kill Switch in a Node.js Backend: Safe Rollout and Fallback Defaults

Short answer: In a Node.js backend, keep feature flags and the kill switch behind a bounded timeout, cache the last known decision, and use a safe fallback default so an evaluator outage cannot corrupt a tenant-cohort experiment. For a media platform comparing an experiment across tenant cohorts, the dangerous failure is a flag service that becomes the experiment. If its network call stalls, every request inherits that uncertainty. The operational choice is therefore to make the flag decision local, bounded, and observable: a cached assignment with an explicit expiry, a kill switch that fails closed, and telemetry that measures signal quality without recording every noisy detail. The fallback is part of the feature contract. A Node.js handler should have a deterministic default before it asks a remote evaluator, and it should distinguish “disabled by policy” from “could not evaluate.” That distinction lets an analyst exclude degraded intervals instead of treating them as a winning cohort. Start with two independent controls. The rollout flag selects an eligible cohort; the kill switch overrides it. Both values are signed or delivered over an authenticated channel, then held in process memory with a short freshness window. When the window expires, the kill switch remains effective and the rollout flag returns to its conservative default. A timeout must be shorter than the request's useful budget. In practice I use a 50 ms evaluation budget inside a 300 ms API deadline, leaving room for storage and downstream calls. Here is a deliberately small interface. It exposes the reason for the decision, which is more valuable than a boolean in an incident review. const DEFAULTS = { checkoutRedesign: false, killSwitch: false }; async function readFlag(name, context, cache, evaluator) { const cached = cache.get(name); if (cached && cached.expiresAt > Date.now()) return { value: cached.value, reason: 'cache' }; try { const value = await Promise.race([ evaluator(name, context), ne

Dev
Interesse
dev.to

Do MCP servers check your ID? A security scorecard of 78 public endpoints

Pennyforge Studio · 2026-10-06 · cohort n=78 · $0 · reproducible (probe script + raw JSON available on request, 16-second wall) Last week we published a compatibility probe of 78 public MCP endpoints: the servers in the registry's first alphabetical slice that answered an initialize. This run we stopped measuring "does it answer" and started measuring something else: what does a stranger with zero credentials get — and does the server follow the spec revision it claims to speak? Same cohort, same day window, new questions. measure result endpoints that answer initialize anonymously (no credentials, no headers) 76/78 (97%) endpoints that then expose their FULL tool inventory to that stranger 74/78 (95%) tools a stranger with zero credentials can see 793 — 100% carry a description string endpoints that gate anything at the protocol level 2 — both with NO WWW-Authenticate header endpoints that ever send a WWW-Authenticate header (the OAuth 2.1 + RFC 9728 discovery the 2026-07-28 revision standardizes when authorization is on) 0/78 endpoints on the 2026-07-28 revision 7/78 (9%) — unchanged across our three dated points endpoints that still issue Mcp-Session-Id headers — a header the 2026-07-28 revision removed from the spec entirely (SEP-2567) 9/78 (12%) 1. A 401 you cannot discover. agentxray.ai/api/mcp: initialize is wide open; tools/list returns 401 {"detail":"invalid or missing MCP token"} with no WWW-Authenticate header. A conforming client following the spec's own discovery chain (401 → resource_metadata per RFC 9728 → authorization-server metadata per RFC 8414/OIDC) has nothing to latch onto: the credential scheme is a private convention. The spec even shows the 401 shape this server skipped: WWW-Authenticate: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource" 2. A revision-mix interop wall. 7/78 endpoints (9%) accept the legacy handshake but reject a standard tools/list with HTTP 400: -32602 "Missing required _meta field: io.

SegurançaDev
Interesse
dev.to

I built an anonymous inbox that even I can't read

SecretGate is a self-hosted, zero-knowledge anonymous messaging script in plain PHP. Messages are encrypted in the sender's browser. Ever sent an "anonymous" message and wondered who could really read it? The site owner? The database admin? Whoever finds the logs next year? So I built SecretGate: an anonymous inbox you host yourself, and one that your own server can never read. Someone creates a box and gets a link + a Secret Code. Anyone can drop in a message. No account, no email. It's encrypted in the sender's browser (AES-256-GCM + RSA-OAEP). Only the Secret Code can unlock it, again in the browser. The Secret Code and the plaintext never reach the server. Even a full database dump is just noise, and that includes you, the site owner. Plain PHP, MySQL and Redis. No frameworks, no Composer, no npm, no tracking. Setup takes about 15 minutes, and the README is written for complete beginners. 👉 Live demo: https://personal.secretgate.site Create a box, send yourself a message, read it. 🔥 The first official release is out, and only 99 copies are available. You get the full source code, the database schema, a beginner-friendly setup guide and a Personal License for your own domain. 👉 Get SecretGate on Gumroad Questions? Ask below or email support@secretgate.site. Your secrets stay yours. The server only ever sees noise. 🔐

SegurançaDev
Interesse
dev.to

interesting

Stop "Vibe Checking" Your AI Agents: How to Build Production Evals in 60 Minutes Frank Guan for Google AI Sep 30 #ai #python #langchain #devops 14 reactions comments 2 min read

IADev
Interesse
Simon Willison

Introducing Mistral Large 4: Le chonk

Introducing Mistral Large 4: Le chonk Mistral are back in the game. Today they're releasing a preview of Mistral Large 4, a 1 trillion parameter, 49 billion active parameter model trained on their own cluster of 3,800 NVIDIA Grace Blackwell GPUs. The preview is available via their API. They promise to release the open weights model at the "end of this month". The model only supports two reasoning levels - "none" and "high" - via the Mistral API. Here are both pelicans - the "high" one looks better, though surprisingly it only used 2,717 output tokens compared to "none" which used 3,275: On Artificial Analysis it scores 38 , just behind DeepSeek 4.1 Flash, which is a 552B model. It's a huge improvement on last December's Mistral Large 3, which drew this terrible pelican and scored 9 on AA . It's certainly not a Fable-class model, but it's great to see Mistral put out a model that's back to being maybe about 6 months behind the frontier. Via Hacker News Tags: ai , generative-ai , llms , mistral , pelican-riding-a-bicycle , llm-release

IA
Interesse
dev.to

Former Student Completes 30-Year-Old Chess Engine Feature Envisioned by Middle School Teacher

A 30-Year-Old Promise Kept: Reviving a Chess Engine’s Lost Feature In 1996, Len Dorfman, a middle school computer teacher on Long Island, embedded a placeholder in his freeware chess engine, PAX. Under the Learning menu, a single line read: “The feature will be coded after PAX starts learning.” It was a promise—one he never fulfilled. Three decades later, a former student, armed with technical expertise and a deep personal connection to Dorfman’s legacy, completed the feature. This story isn’t just about resurrecting code; it’s a testament to the enduring impact of mentorship, the mechanics of preserving digital history, and the practical challenges of advancing a decades-old software project. The survival of PAX hinged on two critical factors: Dorfman’s decision to publish the software online and the Internet Archive’s Wayback Machine. When Dorfman uploaded PAX to lendorfman.freeservers.com, he inadvertently created a digital time capsule. The Internet Archive, a nonprofit dedicated to preserving web history, crawled the site in the early 2000s, capturing the 13 MB opening book, hand-drawn pieces, and the DOS-era code. Without this archival effort, PAX would have been lost to bit rot—a phenomenon where digital files degrade due to hardware obsolescence, file format incompatibility, or data corruption. The student’s first challenge was reverse-engineering the DOS-based PAX into a browser-compatible format. This required: Emulation: Using a DOS emulator to run the original executable, which relied on 16-bit architecture no longer supported by modern systems. Code Translation: Converting the assembly language and C code into JavaScript, a process that involved rewriting core functions like move generation and evaluation. Asset Preservation: Digitizing Dorfman’s hand-drawn graphics and ensuring the pixel-art yin-yang logo remained intact, despite resolution differences between DOS and modern displays. The unimplemented learning feature posed a unique challenge. Dorfman

Dev
Interesse
dev.to

How my Mac game turns a screenshot into a destructible level (no OCR)

At the end of September, Destroy Any Website by Hugo Duprez went viral: a little guy with a jetpack and a gun wrecks whatever page you're on. I wanted the same thing for the apps I actually stare at all day, like Slack, Jira, Xcode and my inbox. The catch is that on a web page the DOM knows where every letter is, while a Mac desktop gives you a bitmap and nothing else. So Destroy Any Desktop works from a single screenshot. When a match starts, it captures the display, works out which pixels are letters, buttons, icons or chart bars, and turns each of them into a piece of the level you can stand on and shoot out. Everything from the keyboard shortcut to the first explosion has to fit in two seconds, and the analysis gets 400 ms of that on a base M1. Why not OCR or the Accessibility API OCR (Apple's Vision does it well, on the device) gives you boxes for lines and words. I need every letter as its own breakable piece, plus the icons, avatars and buttons that OCR ignores, and when a letter gets knocked out its exact pixels have to disappear, not a box around it. The Accessibility API means one more permission prompt, varies a lot from app to app and still hands you frames rather than pixels. So the detector looks only at pixels: about 700 lines of Swift, no dependencies, running on the CPU. It outputs a list of elements (a kind, a rectangle and a pixel count for each) and a label map with one UInt32 per pixel saying which element it belongs to. Game logic sees only the list, and the renderer uses the label map to erase exactly the right pixels. A screen doesn't have one background color. A dark sidebar sits next to a white document, which sits next to a wallpaper photo. So the screen is cut into 24-point tiles, a bit taller than a line of text, and each tile's background is its most frequent color. To keep this cheap on a 7.7-megapixel frame, colors are bucketed to 4 bits per channel and counted in a flat array of 4,096 slots. A pixel is foreground if the sum of its R,

GamesDev
Interesse
Hacker News

When random is not actually random enough

Article URL: https://ersc.io/blog/when-random-isnt-random-enough Comments URL: https://news.ycombinator.com/item?id=49983404 Points: 7 # Comments: 0

Segurança
Interesse
9to5Mac

Tim Cook sold nearly $63.9 million in Apple shares this month

Apple executive chair and former CEO Tim Cook sold nearly 200,000 Apple shares on October 2, one day after more than 374,000 restricted stock units vested as part of his compensation package. Here are the details. more…

Geral
Interesse
The Verge

Amazon’s last-gen Kindle Paperwhite is 30 percent off

Calling something “last-gen” usually means it comes with big compromises compared to the latest version. That’s not as true for the last-gen Kindle Paperwhite as it is with some other tech. The newer version can open books 30 percent faster (not the same as page-turning speed), and its aluminum design is a millimeter thinner — but it costs $50 more. The 2024 edition has the same fantastic 300ppi screen, an auto-adjusting front light, and waterproof (IPX8) design. And the Signature Edition that’s discounted has no lockscreen ads, twice the storage (32GB) of the base model, plus wireless charging and an ambient light sensor, and it’s down to $169.99 (originally $249.99) at Amazon. Kindle Paperwhite Signature Edition The premium Kindle Paperwhite Signature Edition offers the same design and performance as the standard model but with more storage and support for wireless charging. Where to Buy: $249.99 $169.99 at Amazon $249.99 $169.99 at Best Buy $249.99 $169.99 at Target The standard Paperwhite is $149.99 (was $199.99) at Amazon, and while the lower price is nice, I’d suggest only opting for that model if you’re alright with what you’re giving up (which is a lot): it has half the storage, no wireless charging, and lockscreen ads.

Mobile
Interesse
dev.to

Linux Network Interfaces: Find the Right Device, State, and IP

When a Linux machine can’t reach the network, first find out what interfaces the kernel sees and whether they have addresses. A quick check can distinguish a missing device from one that’s simply down or not configured. For a fast scan, run: ip -br addr show You’ll get one line per interface, including its state and any assigned IP addresses. If you only need interface names and link state, use: ip -br link show To print just the names, without parsing command output: ls /sys/class/net That last command reads the kernel’s sysfs interface, so it’s handy in minimal environments and scripts. The ip command, provided by iproute2, is the usual starting point on modern Linux systems: ip link show This lists interfaces the kernel knows about, including ones that are down. To see addresses as well, use: ip addr show The shorter ip a works too. For one device, pass its name: ip addr show enp0s3 An interface without an inet line has no assigned IPv4 address. That can be normal: it might be down, unconfigured, or using IPv6 only. For a quick list of only interfaces marked up, use: ip -br link show up Or include addresses: ip -br addr show up Be careful about what “up” tells you: it means the interface is administratively enabled, not necessarily that it has a working physical connection. An Ethernet interface can be up even when no cable is plugged in. A full ip link show entry might look like this: 2: enp0s3: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether 08:00:27:4a:1b:3e brd ff:ff:ff:ff:ff:ff The interface name is enp0s3; link/ether shows its MAC address. The flags and state describe its link status. Don’t treat the interface’s existence, administrative state, and physical connectivity as the same thing. If you need to check whether a particular Ethernet device detects a physical link, ethtool can inspect that named device: ethtool enp0s3 Look for its link-detection information. ethtool is for inspecting a device you already know about; use

Infra
Interesse
TechCrunch

The next hurdle for AI agents: getting websites to let them in

Personal AI agents promise to shop, book flights, and make reservations for you. But deliberate blocks and anti-bot defenses are getting in the way, leaving consumers caught in the middle. A new standard aims to help.

IA
Interesse
dev.to

What I learned from building a Image Search System

Repository: https://github.com/albrescamily/semantic-image-search Some people say we learn more from our mistakes… well, I can say I've learned a LOT by doing this project. The goal was to create a system that receives an image or a text query and searches for matches in a database, similar to how Google Photos works. It seemed simple at first, but as I got into the mechanics, I kept running into problems that looked trivial on the surface and turned out to be much harder than I expected. I will start by explaining the architecture, the design decisions I made, and why I made them. Also, I will analyze from a new perspective what I could have done better. I used LocalStack, which emulates AWS services locally. In this project, I use it mainly to simulate S3 object storage. I also run Qdrant as the vector database. Both LocalStack and Qdrant run in Docker. For this prototype, everything runs on the same machine, so I access the services locally through their network APIs. I use Boto3 to communicate with LocalStack through the S3-compatible API, and I use the Qdrant Python client to communicate with Qdrant through its API. I didn’t focus much on reproducing a production network topology. Even though I wanted to simulate a production-like system at a small scale, I kept the infrastructure local instead of deploying the services across multiple machines to simulate real systems. For the storage API, I created several routes to manage objects: upload, update, delete, and get/list operations. The upload endpoint is the main entry point for the ingestion pipeline. When a user uploads an image, the API layer orchestrates the storage, embedding, and indexing steps as one unit. The upload endpoint calls the embedding service and then the indexing service. @app.post("/upload") async def upload_image(file: UploadFile = File(...)): bucket, key = upload_to_s3(file) embedding = embed_image_from_s3(bucket, key) index_image(bucket, key, embedding) return {"message": "Uploaded succes

Dev
Interesse
dev.to

Reconstructing Edtech Outages — Node.js Express Health Checks with /ready and /live

An Express health check page says the lesson-publishing API is unavailable. The Node.js /ready endpoint is failing while /live still answers, and the on-call view shows the last readiness transition; it does not merely say "CPU high." That evidence is enough to ask whether learners lost access, whether only new publishing failed, and which release was serving traffic. TL;DR: give an Express service three deliberately different endpoints: /live proves the process can answer, /ready says it may receive traffic, and /health returns a compact operator-facing summary. Record every readiness transition as a structured log, publish a state gauge plus transition and request counters, and keep an external regional probe. A green in-process endpoint is evidence about the process, not proof that a learner can reach it. This split makes incident reconstruction possible without turning a health handler into a second monitoring system. Keep the response small, bound every dependency check, and preserve the deployment and check results that explain a transition. /ready and /live report? Start at the action the page requires. For an edtech publishing service, "API down" is too vague. The useful page identifies the affected public journey, the region that observed failure, the first failed probe, the current deployment, and whether the service removed itself from traffic. It links the operator to logs and metrics covering the same window. Work backward from there. The earlier signal should have been a readiness transition, not a liveness failure. A database pool that cannot acquire a connection within its budget may make publishing unsafe while the Node.js event loop remains alive. Readiness should flip to degraded and the load balancer should stop new requests. Restarting the process through a failed liveness check can amplify pressure on the same dependency. The endpoint contract is narrow: Endpoint Consumer Meaning Dependency work /live orchestrator Process is responsive None bey

DevInfra
Interesse
dev.to

Extending PcDevice Search: Regex Limits and Invoice Fields Integration

Extending PcDevice Search: Regex Limits and Invoice Fields Integration TL;DR: I tightened the collaborator‑number regex to accept only 3‑6 digits and added invoiceNumber / purchaseOrder fields to the PcDevice model, making them searchable and visible in the device detail sheet. The changes touch the Prisma schema, the global search logic, the device store hook, and the UI component that renders device details. The internal inventory tool (pcview) allowed users to search for collaborator numbers without any length restriction. This caused false positives when a user typed a long numeric string (e.g., a ticket ID) that matched the loose /^\d{3,}$/ pattern. Additionally, the product team requested that purchase information—invoiceNumber (factura) and purchaseOrder (ODC)—be stored on each PcDevice and be searchable, but the schema and UI did not expose these fields. Symptoms: Searching “1234567” (7 digits) returned collaborator results even though collaborator numbers are max 6 digits. No way to query devices by invoice or purchase order. The device detail sheet never displayed purchase metadata, forcing users to cross‑reference external spreadsheets. My first instinct was to add a front‑end length check inside GlobalSearch.tsx before invoking the regex. I wrote: if (q.length > 6 && isCollaboratorNumber(q)) return; But this introduced a race condition: the check ran after the regex, still allowing the long string to be processed and logged as an error in the backend. Moreover, it didn’t solve the core issue—the regex itself was too permissive—and it duplicated validation logic across the UI. For the invoice fields, I attempted a quick schema migration by adding raw SQL columns directly in the migration script, bypassing Prisma. That worked for the DB, but the TypeScript types in the codebase remained unaware of the new columns, causing compile‑time errors in use-devices-store.ts and DeviceDetailSheet.tsx. Both approaches failed to be maintainable or type‑safe, so I reve

Dev
Interesse