SShortSingh.
Back to feed

How DeepGyre tests whether a crypto token can be sold without sending a transaction

0
·3 views

A honeypot is a token that can be bought but not sold, and DeepGyre, a token scanner developed by its builders, uses a sell test to detect them. The test runs on eth_simulateV1 over a real block, simulating a buy through the chain's main V2 router, an approval, and a sale from an address holding no private key, so nothing is signed or broadcast. To avoid mistaking anti-bot delays for honeypots, the sale is simulated five blocks and 72 seconds after the buy, and if a full sale fails the test retries with half and then a tenth of the amount. In a first study of 55 tokens from September 2026, one Base token failed every simulated sell although a reference check rated it safe, and on-chain history matched the simulation: 42,536 addresses had received it and none had ever sent any back. The check applies only to Ethereum, BNB Chain and Base, and only when a token has a V2 pool against the chain's wrapped native coin. The developers note that a pass reflects a single moment, since an owner can change a token's rules later.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Python tutorial shows how to scrape German marketplaces Kleinanzeigen, OBI and reichelt via one API

A developer guide explains how to collect listings and prices from German e-commerce sites such as Kleinanzeigen, OBI and reichelt using a single realtime web data API instead of building a separate scraper for each site. The tutorial walks through setting up Python with the requests library and an API key, then shows how to search Kleinanzeigen ads by keyword, location, radius and price range. It also covers tracking product prices at OBI and reichelt and logging them to a CSV file, with the aim of building a simple price-drop alert. The author notes that the API returns seller types but not seller names, and that reichelt prices include VAT.

0
ProgrammingDEV Community ·

Claude's 5-minute prompt cache expiry can drive up agent costs during idle pauses

A vendor analysis of 30 days of coding-agent traffic claims that 23.1% of Claude spending went toward rebuilding prompt caches that lapsed while developers were away. Pauses of 5 to 10 minutes alone accounted for 8.0% of the bill, exceeding the share from breaks longer than an hour, due to Claude's default 5-minute cache lifetime. Anthropic's documented pricing explains the effect: a cache rewrite costs far more than a read, so a single pause can multiply the cost of one turn many times over. The author notes the data comes from one vendor and could not be independently verified, though the pricing mechanics match Anthropic's documentation. Suggested mitigations include measuring pause-related cache misses in usage data, adjusting the cache TTL setting by session type, and pre-warming caches for custom harnesses.

0
ProgrammingDEV Community ·

Developer Releases AegisLLM, Open-Source Python Proxy for LLM Security and Cost Control

Aman Kumar built AegisLLM, an MIT-licensed, self-hosted proxy written in Python, to address data leakage, prompt injection, and unbounded spending in production LLM applications. The tool is OpenAI-compatible, so teams can adopt it by changing a single base URL in their existing SDK code. Each request passes through a per-tenant budget gate, a prompt-injection firewall with deterministic rules, and a PII and secret redactor before reaching the upstream provider. Spending is tracked in a thread-safe SQLite ledger, and requests exceeding a tenant's budget receive an HTTP 429 response. The author chose a self-hosted design because routing unredacted sensitive prompts through a third-party gateway would undermine the security goals of many teams.

0
ProgrammingDEV Community ·

Developer Builds Cloud-Native Observability Platform for Microservices on Kubernetes

A platform engineering learner documented a capstone project that constructed a cloud-native observability platform for a microservices application. The system runs three FastAPI-based services (API Gateway, Order Service, and Payment Service) deployed on Kubernetes via Minikube. The platform integrates monitoring, centralized logging, distributed tracing, alerting, CI/CD pipelines, and image security scanning using tools such as Prometheus, Grafana, Loki, Tempo, and Trivy. The author's aim was to address operational challenges like slow responses, failing requests, and vulnerable container images, rather than focusing solely on deployment.