SShortSingh.
Back to feed

LeanPort Brings Formally Verified Lean 4 Decision Logic Into Go Applications

0
·1 views

LeanPort is a small tool that lets developers write decision logic and proofs in Lean 4 and then consume the result from Go as an ordinary package. It targets small but consequential functions, such as authorization checks, whose edge cases tests may miss, since formal proofs cover every input in the modeled domain. The workflow splits into a maintainer path that checks proofs and generates a C/cgo bridge with an idiomatic Go API, and a consumer path where downstream builds need only Go and a C toolchain. The generated files are committed to the repository and treated as build output rather than hand-edited code. The project's example is an authorization policy for a command-line tool, where access depends on facts like authentication, admin status, and resource ownership.

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
ProgrammingHacker News ·

Oracle Issues Security Alert Advisory for CVE-2026-91403

Oracle has published a security alert advisory for the vulnerability identified as CVE-2026-91403. The advisory is hosted on Oracle's official security alerts page. The source article provides only the advisory link and a small Hacker News discussion thread with 12 points and 2 comments. Specific technical details about the affected products and severity are not included in the available text. Readers are directed to Oracle's advisory for full information.

0
ProgrammingHacker News ·

Railway Discloses Security Issue, Details Available in Company Blog Post

Railway, a cloud deployment platform, has published a security disclosure on its blog dated Wednesday, October 21st. The post was shared on Hacker News, where it gathered 63 points and 14 comments. The available source material contains only the link and discussion metadata, so the specific nature of the vulnerability, its impact, and any remediation steps cannot be confirmed here. Readers are directed to the original blog post for full technical details.

0
ProgrammingDEV Community ·

Nuclei: 20 Commands for Template-Driven Vulnerability Scanning

Nuclei, an open-source template-based vulnerability scanner from ProjectDiscovery, uses YAML templates to define detection signatures instead of custom scripts. The community-maintained repository offers over 11,000 templates, including coverage for 1,496 known exploited vulnerabilities. A guide outlines twenty practical commands explaining what each does and when to apply it during a security assessment. Examples cover scanning single or multiple targets, filtering by severity, selecting or excluding tags and templates, and limiting request rates. The approach aims to help security professionals move from broad discovery to targeted exploitation checks.

0
ProgrammingDEV Community ·

Eventbrite, Meetup and Luma Events Now Available Through One Scraper

Eventbrite closed its public event search endpoint in 2020, Meetup now requires an OAuth app for its GraphQL API, and Luma offers no public search API, leaving developers to combine three separate sources. The author presents an Apify-hosted scraper that gathers listings from all three platforms without requiring API keys or logins. Each event is returned in a consistent format with fields such as title, dates, venue, pricing and organizer details, with unpublished fields left null. The tool can be run through a web interface or code, and the author suggests uses like building a weekly AI-written events newsletter, generating organizer lead lists and conducting market research. The author discloses that they built the scraper and that usage is billed per event saved.