<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abhishek kumar</title>
    <description>The latest articles on DEV Community by Abhishek kumar (@abhi_1234).</description>
    <link>https://dev.to/abhi_1234</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Abhishek kumar</title>
      <link>https://dev.to/abhi_1234</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhi_1234"/>
    <language>en</language>
    <item>
      <title>I had never done open source. Then I got a 12-hour problem about catching malicious npm packages.</title>
      <dc:creator>Abhishek kumar</dc:creator>
      <pubDate>Sun, 01 Nov 2026 00:19:23 +0000</pubDate>
      <link>https://dev.to/abhi_1234/i-had-never-done-open-source-then-i-got-a-12-hour-problem-about-catching-malicious-npm-packages-m</link>
      <guid>https://dev.to/abhi_1234/i-had-never-done-open-source-then-i-got-a-12-hour-problem-about-catching-malicious-npm-packages-m</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3me64w4wl0rk0l5t5vm4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3me64w4wl0rk0l5t5vm4.png" alt=" " width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ok so it's 2 AM, I'm sitting in a classroom at my own university, my laptop is getting hot, and I'm looking at CI and CD pipe lines. And I'm thinking, why did I even sign up for this.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let me start from the beginning.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hacktoberfest came to my college&lt;/strong&gt;&lt;br&gt;
I study at Rishihood University, Sonipat. This time Hacktoberfest Hack Day was happening in our own campus, organised by &lt;strong&gt;MLH&lt;/strong&gt;, &lt;strong&gt;NST&lt;/strong&gt; and &lt;strong&gt;WeMakeDevs&lt;/strong&gt;. Lot of students from other places also came for it.&lt;/p&gt;

&lt;p&gt;Things started around 4 PM on 31 Oct, and the official hackathon began at 6:30 PM. We were free till 11 PM, after that everyone had to stay in the rooms and work. The university gave us few classrooms for this, so the whole night we were basically living in a classroom.&lt;/p&gt;

&lt;p&gt;I have done hackathons before, so I thought ok this will be normal. But I have never done open source. I know what it is, but I never actually did it. Never made a PR to any real project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then the problem statements came&lt;/strong&gt;&lt;br&gt;
There were 8 problem statements and honestly I got nervous after seeing them. All of them were about helping open source maintainers. I have never built anything like this. I don't know how to design things properly and build from scratch, I am still learning that. Mostly I have built things by following tutorials.&lt;/p&gt;

&lt;p&gt;We were a team of 4 and we picked Problem 4: "Does the package match its source?"&lt;/p&gt;

&lt;p&gt;Basically, when you install an npm package, you trust that the code inside it is same as the code on GitHub. But what if it is not? What if somebody hid a postinstall script in it, or some weird obfuscated file that is not there in the repo at all? Our tool had to compare the published package with its source code, explain every difference, and give alert if something looks suspicious.&lt;/p&gt;

&lt;p&gt;I read it and thought, ok, where do I even start.&lt;/p&gt;

&lt;p&gt;The rules were different&lt;br&gt;
This hackathon was not like the ones I did before. There were rules like:&lt;/p&gt;

&lt;p&gt;start with an empty public repo with an open source license&lt;br&gt;
first commit should be a HACKATHON.md file with our problem, team and which models we use&lt;br&gt;
after that nobody can push directly to main, every change has to be a pull request and CI should pass&lt;br&gt;
First I felt this is too much, why so strict. But later I understood, this is how real open source projects actually work. We were not just making a project for one night, we were working like real maintainers. Everything was gng in place but, then the CI and entire structure got strucked. Then we went throught the entire flow and went on fixing the error.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happened during the night&lt;/strong&gt;&lt;br&gt;
We were following our team lead Animesh commands and went of developing the model, but i had made few wrong push in the main branch, and no one in my group know that. Due to that we got many errors and Rishabh caught the error, then he took my laptop and fixed the mess i made throught out the night. I didnt had any clue wt i did but at the end it got fixed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F74mabdi12e8zini8d3sl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F74mabdi12e8zini8d3sl.png" alt=" " width="800" height="1072"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Biggest thing I learned from this was that it was right decission to take part in such hackathons, bcoz i still dont know many things but i keep on participating in such hackathons. That helped me lot every time i get to learn many things and i get to feel every time that i am the dumbest in my team.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The community was the best part&lt;/strong&gt;&lt;br&gt;
I didn't expect this but the best part for me was not the coding, it was the people. We got to listen to people who are really in open source, GSoC contributors, mentors, people from Kubernetes and the WeMakeDevs team. I still remember one of the speaker said that we should not do OpenSource just for money or the perks we get, we do OpenSource for helping people and building community and that hit me hard.&lt;/p&gt;

&lt;p&gt;What I noticed is how helpful these people are. Nobody is paying them, still they help students they have never met, for free. Mentors stayed with us till midnight to clear our doubts. I realised that open source community runs because someone once helped them, and now they are helping others.&lt;/p&gt;

&lt;p&gt;I also understood that open source can be a real career option. Before today I thought OpenSource is just for to crack Gsoc but after today session i came to know throught OpenSource we can also get oppertinities at &lt;strong&gt;LFX,Summer_of_bitcoin,MLH,Google_session_of_docs&lt;/strong&gt; and &lt;strong&gt;out_reach&lt;/strong&gt;. Before this I thought job means resume and interview only. Now I see there is another way, you build in public, you help people, and your work shows who you are.&lt;/p&gt;

&lt;p&gt;One more thing, the organisers told that earlier Hacktoberfest was just about counting contributions and because of that lot of spam came. Now they want people to solve real problems. Even one of the problems was about building trust network against AI slop. I liked that, quality matters more than numbers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you are a beginner like me&lt;/strong&gt;&lt;br&gt;
You don't need to be ready. I was not ready also, I just started.&lt;br&gt;
Ask for help early. Mentors like Sai Udayagiri are there for this. I wasted time before I understood it.&lt;br&gt;
Make small PRs, they are easy to fix and easy to understand.&lt;br&gt;
It's ok to be stuck. Everyone around you was stuck at some point.&lt;br&gt;
&lt;strong&gt;Where I am right now&lt;/strong&gt;&lt;br&gt;
It's 3:00 am and I am running on Burger and Coke. Our project is still in progress with lots of work beeing pending. Whatever result comes, I got something I didn't have yesterday, my first real open source experience. And I feel more confident now that even if I don't understand a problem, I can sit with it and make some progress.&lt;/p&gt;

&lt;p&gt;Next I want to learn more about OpenSource and find good repos and hit my first PR and start contributing.&lt;/p&gt;

&lt;p&gt;If you are also thinking "I will try open source later when I am ready", just don't wait. Go to the next Hacktoberfest event and start.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0734518hxjtyo3pvb550.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0734518hxjtyo3pvb550.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Our repo: &lt;a href="https://github.com/AnimeshPriyanshu/pkgcheck" rel="noopener noreferrer"&gt;https://github.com/AnimeshPriyanshu/pkgcheck&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>hacktoberfest</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
