r/devsecops • • 7d 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?

NEW---->

So I got a bit trigger-happy with Claude and spun up a demo video of what I’ve done so far. It would be interesting to see if this type of thing is even worth it, or if it's just not worth it. I tried to get part 4 to work and it works for certain things; naturally, as you build it out it can be better, but for an MVP idea, I think it's okay.

Would really appreciate some feedback on what DevSecOps/security engineers would like from something like this, as it might just not be worth it, or it might be something worth the work.

7 Upvotes

11 comments sorted by

2

u/Temporary-Sector-298 6d 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 6d 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

3

u/Slow-Artichoke-4245 7d 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

1

u/taleodor 7d 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 7d 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 7d 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.

1

u/coderbot007 5d ago

I do get where you're coming from that humans don't write code manually, which is completely true. I was coming from the angle of someone who knows that people doing this usually don't have the foresight to add or think about security. Even if they mention something briefly to the agent, it's not going to do a proper deep dive into it. So ultimately, when it comes to pentests or other teams needing to test things, having the ability to have those checks ready and review them in that environment could be beneficial. Also, I agree with u/infidel_tsvangison your paper was a good read!

3

u/infidel_tsvangison 7d 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!

2

u/ExitEnough4941 7d ago

Point 4 is the one I’d actually pay for

2

u/WholeCommon9989 6d 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.