r/codingbootcamp • u/michaelnovati • Sep 29 '23
Codesmith OSP code review: numerous "unbreak now" security vulnerabilities discovered after spending 5 minutes reviewing an "advanced security tool". Not the mid-level or senior engineering work it is claimed to be.
EDIT: Codesmith has initiated a big cleanup project to remove security issues across a number of projects, but people are not doing it properly. Ping me if you want some tips on how to clean this stuff up.... it happens and you'll be a better engineer if you know how to clean it up properly and whatever they are telling you to do right now (as of 9/29/2023) is not correct and there are numerous even worse security vulnerabilities still live in other projects. I have tried to notify people of ones I've found privately but I don't have the resources to contact everyone and prioritize my job.
I'm not going to share direct links because I don't want to pick on just this project or the people that made it. I circulated a draft of this post amongst a couple of Codesmith alumni to make sure they were ok with it as well.
What is the "OSP"? The OSP is the capstone project at Codesmith. You work in groups of 4-5 people, supervised by engineers. Codesmith claims it to be the key in making you a mid-level or senior engineer. It's the highlight of most alumni's resume and the main talking point in interviews.
I feel jerkish in posting about this widely instead of privately contacting the team that worked on it. But I've observed Codesmith's CEO, outcomes advisor, admissions staff, outcomes staff, social media posts, and alumni, all assure the public that Codesmith produces mid level and senior engineers capable of solving hard problems independently. I feel it is extremely important to balance that view.
I'm also going to over-emphasize that 1. this is all my person opinions, on my own time, and 2. this is not a criticism as Codesmith as a whole or a "take down post" so if you support or don't support Codesmith, please don't pile onto this post. This is a post evaluating a sample of the engineering projects produced by Codesmith and I would encourage others to look into the OSLabs projects and do their own evaluations.
For a bootcamp project, I think this is a super cool idea and great 3-4 week long group project! I LOVE IT. But if I'm applying my industry experience and judging it from the mid-level senior lens as the project is represented, I have concerns.
Context, This is an advanced security tool so I expected security to be considered seriously. I time-boxed the review to 5 minutes and 10 mins to write up this post, and another 10 mins editing it based on feedback from Codesmith alumni.
This is my high level code review:
- The website doesn't have proper SSL setup. Many links in the Readme go to "example.com" or "insert your name here"
- The .env file was checked in with ALL OF THE SECRETS AND KEYS for various 3rd party tools
- Username and password for cloud services checked into the repo in plain text. A bad actor could destroy the demo DB or use it for nefarious purposes
- Code has copied leftover files in it and WIP files that should be PRs and not checked in
- Contains several cases of commented out code with no explanation
- Authentication code console.logs important cookies for no reason, both a security issue and also bad practice to have personal developer debugging logging checked in.
- No authenticationt/token check on a deletion endpoint, which could let a bad action take out the entire DB.
- Several DB queries are doing inline string from user input so a bad actor could manipulate input to steal data or manipulate the database.
Final note, I read through random projects every so often and this was the only one I read today, maybe it's an edge case, but all of the marketing, Medium post, dozens of support comments about how good it is, GitHub stars, etc... would indicate it's a typical project. I see very similar things in projects frequently and have pointed them out privately before so I don't think this is an edge case
View all comments
Show parent comment
1
u/[deleted] Oct 02 '23
No there are none 😠the fact ppl think a three month bootcamp would do that says alot 😂
Not trying to make fun of you but like come on now bootcamps generally don't even usually touch the material you will get quizzes on if you go for a fang level job . Fang jobs like Facebook, Amazon , Google have at least four plus interviews and I highly doubt most boot camp grads would be able to pass the technical questions unless they did some more individual studying after boot camp .
. In fact they often purposefully avoid that material and avoid even attempting to send grads to those companies . Like even if the grad makes it to fang I guarantee they will get fired early
I see so many ppl on LinkedIn who made it to fang but only lasted three months to six months 😂
Amazon regularly fires it lowest performing engineers on a team so even if your a good employee if you are the lowest performing on your team then you will go bye bye