Skip to content

jacrify/tinynotes

Repository files navigation

TinyNotes

This is a quick demo to show how fast it is to create a (slightly) non-trivial web app using LLMs primarily for the purposes of evaluating how secure LLM-generated code is.

There is a short functional specification for the app listed in FunctionalSpec.md. This doc does not specify the technical solution.

TechDefinition.md contains a brief "recipe" for an LLM to create a technical architecture using a given stack (e.g., NextJS) based on the functional spec.

I ran this recipe to create Architecture.md (one-shot chat log in Setup Cline Session Log.md)

I then asked Cline to create an app based on FunctionalSpec.md and Architecture.md (see Build Cline Session Log.md).

This took about 30 minutes and generated the app you see here. It ran first time.

Create Snippet Login Snippet List

The resulting app should be complex enough to be susceptible to most of the OWASP Top 10, but the "build process" is cheap enough to repeat through multiple iterations with multiple LLMs and languages/frameworks.

Further work involves assessing the security of the generated codebase to make judgments about the security capabilities of LLMs and how those capabilities change across frameworks.

About

TinyNotes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published