惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
C
Check Point Blog
雷峰网
雷峰网
小众软件
小众软件
GbyAI
GbyAI
美团技术团队
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
MyScale Blog
MyScale Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
Jina AI
Jina AI
爱范儿
爱范儿
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
The enterprise AI control that is still missing: code pro...
Praveen · 2026-05-31 · via DEV Community

Praveen

Enterprise AI governance keeps getting framed as a policy problem. Write acceptable-use rules. Turn on SSO. Add RBAC. Review risky PRs more carefully. That is all useful, but it still misses the one thing auditors, security teams, and incident responders actually need when AI-generated code reaches production: provenance.

Not “did someone use AI.” Not “did the vendor log usage.” Provenance.

When a critical bug lands in production, the question is not theoretical. Someone has to answer:

What was generated?
What was asked?
Which model produced it?
Which file did it land in?
Who accepted it?
Was it reviewed?
Can we trace that decision later?

Git blame does not answer those questions. Vendor audit logs usually do not either. In most enterprise setups, you end up with three separate blind spots:

A commit history that shows authorship, not generation.
A Copilot-style usage log that only covers one tool.
A pile of PR comments and comments in code that rely on human discipline.

That is not an audit trail. It is a loose collection of hints.

The missing control is code provenance.

LineageLens is built around that gap. It records the prompt, the model, the tool, the target file, the inserted code, and whether the edit was accepted or rejected. It does that in a self-hosted way, so the provenance stays inside your infrastructure instead of becoming another SaaS data trail.
This is also where most generic logging strategies break down. Datadog and Splunk are excellent when you already know what to instrument. They are not purpose-built for AI provenance. If you want them to solve this problem, you have to build custom instrumentation, define your own schema, and keep that instrumentation working across multiple coding tools as their protocols change.

That is why I do not think the enterprise answer is “use your observability stack.” Observability tells you what happened at runtime. Provenance tells you how code entered the repository.

That distinction matters more as AI coding becomes normal.

If your team uses one tool, maybe you can tolerate a partial log. If your team uses Cursor in the morning, Claude Code for refactors, and Copilot in the editor, partial logging becomes a governance gap. The risk is not just productivity drift. It is that nobody can later say, with evidence, how the code got there.

LineageLens is not a static analysis scanner and it is not a compliance certification product. It does not replace review, SAST, or policy enforcement. It does one narrower job: it records the provenance trail that those systems need but do not create.

That is why the product has multiple deployment modes. Base is local and offline. Lite is a single Docker container with SQLite. Plus adds PostgreSQL, semantic search, team visibility, and governance. Max adds graph lineage for teams that need ancestry across tools and sessions. Different orgs need different operational weight, but the underlying question is the same: can you prove where AI-generated code came from?

For enterprise teams, I think this is the right way to frame the conversation:

If the code is not provenance-tagged, then your review process is partly guesswork.
If the prompt is missing, then your audit trail is incomplete.
If the record is not self-hosted, then your governance data lives somewhere else.
If you only track one vendor, then you are not tracking the team.

That is the argument I would want to make in a security review.
If you want the deeper technical breakdown, I wrote a longer companion post for Hashnode and the product overview is on lineagelens-website.vercel.app.

Tags: ai, security, devops, opensource

End question: What is your team using today to prove that AI-generated code is actually traceable six months later?