AI Models Write Code with Security Flaws 18–50% of the Time
Postedabout 2 months agoActiveabout 2 months ago
medium.comTechstory
calmneutral
Debate
20/100
AICode SecuritySoftware Development
Key topics
AI
Code Security
Software Development
A study found that AI models write code with security flaws 18-50% of the time, prompting discussion on how this compares to human-written code.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
26m
Peak period
1
0-1h
Avg / period
1
Key moments
- 01Story posted
Nov 5, 2025 at 7:01 AM EST
about 2 months ago
Step 01 - 02First comment
Nov 5, 2025 at 7:27 AM EST
26m after posting
Step 02 - 03Peak activity
1 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Nov 5, 2025 at 7:27 AM EST
about 2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Discussion (1 comments)
Showing 1 comments
aregue
about 2 months ago
What is the rate of security flaws in code written by humans? Difficult to asses the results without a base rate for comparison.
View full discussion on Hacker News
ID: 45821927Type: storyLast synced: 11/17/2025, 7:53:20 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.