Fuck JavaScript
News
Welcome to the News community!
Rules:
1. Be civil
Attack the argument, not the person or their instance. No racism/sexism/bigotry. Good faith argumentation only. This includes accusing another user of being a bot or paid actor. Trolling is uncivil and is grounds for removal and/or a community ban. Do not respond to rule-breaking content; report it and move on. Keep on-topic
2. All posts should contain a source (url) that is as reliable and unbiased as possible and must only contain one link.
Obvious biased sources will be removed at the mods’ discretion. Supporting links can be added in comments or posted separately but not to the post body. Sources may be checked for reliability using Wikipedia, MBFC, AdFontes, GroundNews, etc.
3. No bots, spam or self-promotion.
Only approved bots, which follow the guidelines for bots set by the instance, are allowed.
4. Post titles should be the same as the article used as source. Clickbait titles may be removed.
Posts which titles don’t match the source may be removed. If the site changed their headline, we may ask you to update the post title. Clickbait titles use hyperbolic language and do not accurately describe the article content. When necessary, post titles may be edited, clearly marked with [brackets], but may never be used to editorialize or comment on the content.
5. Only recent news is allowed.
Posts must be news from the most recent 30 days.
6. All posts must be news articles.
No opinion pieces, Listicles, editorials, videos, press releases, or celebrity gossip will be allowed. All posts will be judged on a case-by-case basis. Mods may use discretion to pre-approve videos or press releases from highly credible sources that provide unique, newsworthy content not available or possible in another format.
7. No duplicate posts.
If an article has already been posted, it will be removed. Different articles reporting on the same subject are permitted. If the post that matches your post is very old, we refer you to rule 5.
8. Misinformation is prohibited.
Misinformation / propaganda is strictly prohibited. Any comment or post containing or linking to misinformation will be removed. If you feel that your post has been removed in error, credible sources must be provided.
9. No link shorteners or news aggregators.
All posts must link to original article sources. You may include archival links in the post description. News aggregators such as Yahoo, Google, Hacker News, etc. should be avoided in favor of the original source link. Newswire services such as AP, Reuters, or AFP, are frequently republished and may be shared from other credible sources.
10. Don't copy entire article in your post body
For copyright reasons, you are not allowed to copy an entire article into your post body. This is an instance wide rule, that is strictly enforced in this community.
"There's just no way to prevent this" says only programming language where this regularly happens
be me, "senior full-stack engineer" (now 10 months experience)
Framework 5.0 dropped
npm install framework@latest
12,000 packages
all I wanted was a button
one of those packages hasn't been touched in years
maintainer has long since moved on, probably lives on a farm now
nobody's watching it
except the guy who just hijacked it
On November 3, attackers published runtime loaders in 12 releases across 10 hijacked npm packages, some of which had gone years without an update.
mfw one of them is in my tree
mfw I don't know which one
mfw I don't know what's in my tree
the malware needs its next stage
where does it fetch it from?
a normal server? a paste site?
no
It uses Ethereum to fetch the next stage.
my button now has a blockchain dependency
I did not choose this
I chose "latest"
meanwhile the rest of the registry is also on fire
ChainDrop, a variant of the Shai-Hulud worm, infected over 400 packages with over 2 billion downloads.
Attackers used stolen developer credentials to publish the malicious versions.
the worm steals the credentials of whoever installs it
then uses them to infect more packages
my laptop is now a recruiter for the worm
check my
.envfile
AWS keys
Stripe keys
my ex's Netflix password
a note that says "TODO: rotate these"
dated 2023
Slack lights up
"hey, is anyone else seeing weird outbound traffic?"
"yeah, from your machine"
"mine??"
"you've been shipping 4GB to a wallet address since breakfast"
security team schedules an "urgent sync"
I join late
I'm still waiting for
npm auditto finish
npm audit: 1,847 vulnerabilities (212 critical)
npm audit fix --force
it upgrades to Framework 6.0
new vulnerabilities
CTO asks "who approved this dependency?"
I say "the registry did"
he says "the registry doesn't have a login"
I say "exactly, no accountability"
he is not laughing
he is typing in all caps
rotate every secret by hand
rebuild every machine
pin every version for the first time in my life
lockfile finally committed
take a screenshot, post it on LinkedIn: "Excited to share what I learned this week 🚀"
2,000 likes
all from other devs who also don't know what's in their node_modules
tfw Framework 7.0 comes out tomorrow
tfw I know I'll install it
Thank god Trump is president he’ll get to the bottom of what’s going….fuck you…
This is every day. Not even close to news.
We'll be fine.