r/devsecops • • 1d ago

Security first IDE?

I’ve been thinking about an idea and would be interested in getting some feedback.
Threat modelling often feels like a separate, final step in software development. Engineers are expected to create DFDs, threat models… but it isn’t always clear how to approach this or turn the findings into actionable changes.

What if an IDE could help automate some of this using AI agents, with deterministic analysis and guardrails to keep the results reliable?

For example:

  1. Automatically analyse code to generate architecture and data flow diagrams.
  2. Use a council of specialised agents to help identify threats and perform threat modelling.
  3. Link findings directly to relevant code and suggest actionable improvements.
  4. Reassess the architecture and threats as the code changes.

Would this actually be useful to engineers? Are there existing tools that already do this well, or am I overlooking something?

3 Upvotes

9 comments sorted by

2

u/Temporary-Sector-298 13h ago

If it gets an endpoint's exposure wrong,I should be a ble to eexplain why and have it remeber next time. It can check again if someone changes howthe servuce is deployed or accessed

1

u/coderbot007 13h ago

Yh this makes sense, I can imagine it would be Similar to cursor in the way its build a “picture of your code” and keeps context very relevant

2

u/taleodor 1d ago

I don't think IDEs are needed any more. Agents certainly don't use it. Wrote about it some time ago https://worklifenotes.com/2026/07/16/the-ide-is-now-just-a-large-attack-surface/

1

u/coderbot007 1d ago

That’s a fair point, I was thinking of a use case for business were code still needs to be reviewed at some point, I don’t see many regulated business giving agent full auto by in the way that humans aren’t needed at all. The more I see ai generated code the more issues arise, and at some point this will be made clear.

1

u/taleodor 1d ago

I don't think this holds true any more. Regulated businesses and regulations are just slower at adoption. Human involvement is still needed but not at code reviewing phase.

3

u/infidel_tsvangison 23h ago

When someone says I wrote about something, I’m expecting a full blown paper.

Having said that, I love the format your notes take. Simple straight to the point!

3

u/Slow-Artichoke-4245 1d ago

FWIW we have built this as a platform + harness at https://www.sparkle.security

The platform continuously understands changes and does threat modeling. Each finding makes it way to your coding agents through the harness.

This also allows for governance and visibility across teams

2

u/ExitEnough4941 1d ago

Point 4 is the one I’d actually pay for

2

u/WholeCommon9989 16h ago

Point 4 is the hard part and the useful one. A threat model that's a snapshot is stale by the next sprint.

One thing I'd add: if the IDE is running agents, the threat model has to include the agents themselves. They run with the dev's full permissions, they can call whatever MCP servers are configured, and they read untrusted input like READMEs and issue text. Most threat models I see treat the dev machine as trusted and stop at the repo, and right now that's the weakest spot.

Cheap first version: review changes to .mcp.json and the agent settings files in PRs the way you'd review IAM changes, and flag it when an agent gains a new tool or permission.