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

8 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/coderbot007 9d 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 9d 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 6d 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!