progmune-runtime
Progmune-AI Trust Decision Engine — verify AI-generated code before it reaches production 让 AI 生成的代码可信任、可审计、可投产
Install / Use
claude mcp add shenlian19831109 -- npx -y github:shenlian19831109/progmune-runtimeIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of progmune-runtime
progmune-runtime scores 76/100 on our quality scale, 3675th of 4,619 Development & Engineering skills we index.
Its MCP Server is 6.8 KB long, well organised into 21 sections with 3 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 11 days ago, so progmune-runtime is actively maintained.
- Our last check on 2026-10-19 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
progmune-runtime compared with similar skills
All 4 of these similar skills score higher than progmune-runtime; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| progmune-runtime (this skill)by shenlian19831109 | 76 | 3 | 11d ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 111.2k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 70.1k | 1d ago | CLAUDE.md |
Frequently asked questions
- How do I install progmune-runtime?
- Run
claude mcp add shenlian19831109 -- npx -y github:shenlian19831109/progmune-runtime. The install tabs above show the steps for each supported agent. - Which AI agents does progmune-runtime work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is progmune-runtime safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is progmune-runtime still maintained?
- The repository was last updated 11 days ago, so progmune-runtime is actively maintained.
Skill content
View source on GitHubProgmune
AI Trust Decision Engine for AI-generated software.
Verify AI-generated code before it reaches production. Progmune checks whether your AI-generated code follows correct protocol lifecycles — TLS handshakes, auth flows, payment integrity, resource management — violations that SAST and SCA tools cannot see because they span sequences of function calls, not single statements.
Progmune doesn't trust what the model says. It verifies what the program actually does.
One Command
npm run sdk src/server.ts --explain
Output: APPROVED / NEEDS_REVIEW / BLOCKED — with Trust Score, evidence, and repair suggestions.
What Progmune Detects
AI code generators produce syntactically valid code that often violates protocol lifecycles — the correct sequence of operations like open→read→close or auth→validate→respond. These violations are invisible to traditional static analysis.
| Category | Example violations detected | |----------|---------------------------| | TLS / SSL | Handshake without certificate verification, missing hostname validation | | Auth | Token without expiry, session without timeout, missing rate limiting | | Payment | Order without verification, refund without authorization, webhook without signature check | | Resource | File opened but not closed, connection without cleanup, malloc without free | | Data Integrity | Mutation without audit trail, missing input validation |
Quick Start
npm install progmune-runtime
# Verify a file — get a Trust Decision
npm run sdk src/server.ts
# Full explanation with evidence and repair suggestions
npm run sdk src/server.ts --explain
# Trust check (CI-ready JSON output)
npm run trust -- --project . --json
# Run benchmark suite
npm run precision:all
The Trust Decision
Progmune's output is a decision backed by evidence, not a raw list of findings:
| Output | Meaning |
|--------|---------|
| Trust Score (0–100) | Quantified trust level across 4 dimensions |
| Decision | APPROVED / NEEDS_REVIEW / BLOCKED |
| Confidence | HIGH / MEDIUM / LOW / UNCERTAIN |
| Evidence | Each violation traced to code location + RFC reference + fix suggestion |
Critical violations → hard BLOCK regardless of score. Enterprises care about "can I deploy?" not "is my score 58 or 61."
Coverage
Progmune is honest about what it can and cannot verify.
| Language | Status | Evidence |
|----------|--------|----------|
| TypeScript / JavaScript | ✅ Production | Blind benchmark: P=86.8%, R=83.6%, F1=85.2% (432 sequences, 10 projects) |
| C | ⚠️ Research | Gold benchmark: curl F1=45.7%, libssh F1=46.2%. L3 cross-function experiment terminated — L4 (pointer/CFG) needed. |
| Python | 🔨 IR only | IR extractor exists (extract-ir-python.ts), no verification rules yet |
| Go, Java | ❌ None | Planned |
Framework adapters: 0/13. Express, Next.js, NestJS, Fastify, Django, FastAPI — none have dedicated adapters yet. Rules use generic \w* prefix patterns. Framework adaptation is the #1 product gap.
Benchmarks
Public, reproducible precision data. All numbers measured against gold-annotated benchmarks.
TypeScript (Blind Benchmark v6)
| Metric | Value | |--------|-------| | Precision | 86.8% | | Recall | 83.6% | | F1 | 85.2% | | Projects | 10 (ecommerce, blog, chat, crm, forum, wiki, issuetracker, filestorage, todo, scheduler) |
C (Gold Benchmark v7)
| Repo | Precision | Recall | F1 | Samples | |------|-----------|--------|-----|---------| | curl | 30.9% | 87.5% | 45.7% | 85 | | libssh | 36.0% | 64.3% | 46.2% | 47 | | nginx | — | — | 0 FP | 50 | | redis | — | — | 0 FP | 50 |
P0-P3 Rule Injection (2026-08)
- +19 new detections across 10 TS projects, 0 false positives across 6 C repos + PostgreSQL
- Bootstrapping deadlock broken: all 21 protocol namespaces now have rule vocabulary
excludePatterns+languagesarchitecture for FP management
→ Two-Hump Report · P0-P3 Final Report
Architecture
SDK (src/sdk.ts) verify() → APPROVED / NEEDS_REVIEW / BLOCKED
└─ Trust Engine 4-dimension scoring → Decision
├─ Policy Engine Enterprise policy enforcement (ALLOW/WARN/BLOCK)
├─ SSG Validator Protocol state machine verification
├─ Protocol Detector Regex-based protocol step detection (22 detectors)
├─ IR Extractor TypeScript AST → function IR (ts-morph)
├─ Repair Executor detect → plan → fix → validate → commit/rollback
└─ Knowledge Base 31 domains, 140 rules, evidence chains
Interfaces
| Interface | Purpose |
|-----------|---------|
| SDK (verify()) | One-call API for developers |
| CLI (npm run trust) | Command-line trust checks |
| MCP Server | Claude Code integration (progmune_check, progmune_trust_check) |
| GitHub Action | CI/CD gate — blocks unverified AI code at PR |
| Trust API | POST /trust/check — machine-to-machine |
Scientific Foundation
Progmune is built on the premise that LLM outputs are statistical performances, not reasoning (Kambhampati et al., ICML 2026). Rather than trusting what the model says about code, Progmune verifies what the program actually does — using protocol state machines, IR extraction, and evidence-backed decision chains.
Recent work applies Sergei Gukov's "Two-Hump Problem" framework to understand and systematically close detection capability gaps.
Contributing
See CLAUDE.md for architecture and code conventions, and CONTRIBUTING.md for the development workflow.
High-impact contribution areas:
- Framework adapters (Express, Next.js, FastAPI) — the #1 product gap
- Python verification rules — extend beyond TypeScript
- Bug fixes for existing detectors and safeguards
Status
- Runtime Pipeline: Detect → Explain → Repair → Validate (L1–L4)
- Trust Engine: 4-dimension scoring with binary explainability gate
- Tests: 92 passing
- Knowledge Base: 31 domains, 140 protocol rules, 22 detectors, 26 safeguards
- Corpus: 2,500+ trajectories across 6+ repositories
- Current focus: Framework adaptation + enterprise PoC validation
License
MIT — LICENSE
Related Skills
taste-skill
111.2kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
70.1kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
