TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

CircleCI security alert: Rotate any secrets stored in CircleCI

304 pointsby j_kaoover 2 years ago

20 comments

bamboozledover 2 years ago
<i>&gt; We wanted to make you aware that we are currently investigating a security incident, and that our investigation is ongoing. We will provide you updates about this incident, and our response, as they become available. At this point, we are confident that there are no unauthorized actors active in our systems; however, out of an abundance of caution, we want to ensure that all customers take certain preventative measures to protect your data as well.</i><p>Is anyone else a little annoyed by the messaging here, I read it as, &quot;We think something bad happened to your ultra secret data, but we don&#x27;t know, so we&#x27;re asking teams to spend potentially hours or days fixing things while we aren&#x27;t really able to tell you if your stuff was actually compromised&quot;?<p>What I find more troubling is, if they don&#x27;t quite know what happened, or aren&#x27;t telling us, and we do the work to change everything, how do they know it won&#x27;t just happen again in the next day or so and people are still accessing our systems, where is the details?<p><i>&gt; At this point, we are confident that there are no unauthorized actors active in our systems.</i><p>Confident isn&#x27;t really a good enough word to use here in my opinion. We&#x27;ve just blocked Circle CI from all our systems for now until we hear more, likely start to move to another build system.<p>I know accidents happen but this is likely the beginning of the end for our teams relationship with Circle CI. Trust has been broken.
评论 #34257774 未加载
评论 #34257389 未加载
arkadiytover 2 years ago
Great reminder for folks to switch any AWS actions you perform from CI&#x2F;CD to use OIDC role assumption instead of static IAM user credentials. Then even if an attacker stole all your secrets they can&#x27;t do anything in your AWS account.
评论 #34255627 未加载
评论 #34255493 未加载
评论 #34264382 未加载
评论 #34256287 未加载
sickmateover 2 years ago
<a href="https:&#x2F;&#x2F;twitter.com&#x2F;sanitybit&#x2F;status&#x2F;1610829345676996609" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;sanitybit&#x2F;status&#x2F;1610829345676996609</a><p>&gt;I&#x27;ve been investigating the use of a @ThinkstCanary AWS token that was improperly accessed on December 27th and suspected as much.
woodruffwover 2 years ago
Perhaps just unfortunate timing, but of note: this comes approximately a month after CircleCI reduced their staff by about 17%[1].<p>[1]: <a href="https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;ceo-jim-rose-email-to-circleci-employees&#x2F;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;ceo-jim-rose-email-to-circleci-emp...</a>
评论 #34256737 未加载
nixgeekover 2 years ago
What&#x27;s tricky is this is not the first interesting recent post from Rob, he previously posted on &quot;An Update on CirclCI Reliability&quot; (Dec &#x27;22) [1] and &quot;CircleCI remains secure; be vigilant and aware of phishing attempts for your credentials&quot; (Nov &#x27;22) [2]. Overall, CircleCI has had a rough run of it lately.<p>[1] <a href="https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;an-update-on-circleci-reliability&#x2F;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;an-update-on-circleci-reliability&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;circleci-security-update&#x2F;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;circleci-security-update&#x2F;</a>
chubsover 2 years ago
Someone please correct me if i&#x27;m wrong... but there was a kerfuffle in 2017 about Circle using third-party JS which could be an attack vector: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15442636" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15442636</a><p>To give credence to this, a gitlabber spoke up in that thread, said it was a serious thing and they deliberately had no third-party stuff on their site for that reason.<p>And I just logged into Circle today, and use the Safari network inspector to see what JS it loads... and it&#x27;s still plenty of third party stuff that I can see:<p>* Amplitude * Segment * cci-growth-utils * Statuspage * DataDog * HotJar * Pusher<p>Not sure if this is an issue, but it doesn&#x27;t make me comfortable.
throwaway892238over 2 years ago
@dang this is currently #198 off the front page, yet this is basically an emergency (literally every customer&#x27;s secrets are exposed?)... either circleci has no more customers, or people are very calm about this...<p>we need to rotate:<p><pre><code> - secrets in context environment variables - secrets in project environment variables - project deploy keys - circleci api tokens </code></pre> then we have to go back and look at all audit logs for... basically everything... and try to find something that looks weird. :&#x2F;
评论 #34271792 未加载
herpderperatorover 2 years ago
No email? I found out about this from a random HN post?
评论 #34255873 未加载
评论 #34256408 未加载
评论 #34275964 未加载
评论 #34255746 未加载
评论 #34255890 未加载
atymicover 2 years ago
Had one legacy app still on CircleCI and figured may as well move it over to GH actions if we&#x27;re already rotating tokens anyway. Really hard to recommend anything else these days.
评论 #34257284 未加载
评论 #34256924 未加载
ryanisnanover 2 years ago
I legitimately don&#x27;t understand how the ranking on HN works sometimes. How is it that there are older, less-commented posts ranking higher than this story? @dang?<p>edit: I sincerely think this should be bumped, given how many folks don&#x27;t seem to be getting the news here in a timely fashion.
rektideover 2 years ago
Our hodgepodge of microservices- developed over more than a decade- never got coordinated env variables, so now we&#x27;ve got to go through like ~50 services &amp; libraries, one by one, updating secrets. Yuck.<p>If you do your shit right, you can just dump most of your secrets into some Contexts- containers of env variables- and apply them. Then when this stuff roles around, it&#x27;s easy to update everything centrally; change the context &amp; everyone sees it. We, alas, can&#x27;t easily do that, since we have so many differing env var names. New Year, new fun!
评论 #34256336 未加载
评论 #34258051 未加载
评论 #34255851 未加载
评论 #34255815 未加载
ab-dmover 2 years ago
Why on earth haven&#x27;t I received an email from Circle about this??<p>I guess the answer is, why on earth am I still using Circle CI....<p>Thankfully all of my secrets&#x2F;env variables are just dummy data for tests, and already using OIDC
评论 #34256275 未加载
评论 #34256214 未加载
rupert-m-aover 2 years ago
I&#x27;ve created a tool due to this incident to help you find your secrets in CircleCi.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;rupert-madden-abbott&#x2F;circleci-audit">https:&#x2F;&#x2F;github.com&#x2F;rupert-madden-abbott&#x2F;circleci-audit</a><p>It can: * List env vars attached to your repos and contexts * List SSH keys attached to your repos * List which repos are configured with Jira (a secret that might need rotating)
评论 #34273651 未加载
theogravityover 2 years ago
Does this also include deploy SSH keys?
评论 #34256667 未加载
评论 #34255785 未加载
评论 #34269062 未加载
评论 #34255783 未加载
nixgeekover 2 years ago
Another thread which may need merging to this: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34255189" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34255189</a>
mjmasnover 2 years ago
PSA: Seems like deleting deploy keys on the CircleCI end doesn&#x27;t actually delete them from Github, so you need to do it on both ends.
bencedover 2 years ago
You have to trust a CI provider almost as much as your production host. Circle has not earned the same trust as organizations like AWS.
shdhover 2 years ago
Subpar product, never enjoyed using it. Constant downtime and incidents.
jgaaover 2 years ago
I really don&#x27;t understand why you use someones else&#x27;s computer to compile and test your stuff.<p>When their computers are compromised, by internal or external crooks, the crooks have full access to your code, and - in some cases - your data. If they wanted, they could inject their own shit into your binaries, totally ruining <i>your</i> reputation.<p>As a bonus, you get to pay a premium!<p>I still compile and test my code on my own machines, in my own network. It&#x27;s <i>much</i> faster than CircleCI, cheaper, and it&#x27;s ∞ safer.
评论 #34269637 未加载
评论 #34258638 未加载
评论 #34257287 未加载
p-e-wover 2 years ago
I want the following option in my account settings for all critical services:<p><pre><code> [X] In case of a &quot;security incident&quot;, lock down my account until I take action. </code></pre> I understand why they can&#x27;t do that by default, but it&#x27;s crazy that every time this happens, I have to run in order to secure my assets when in many cases, I&#x27;d be perfectly fine with things just shutting down until I have time to take care of them.<p>Better yet, also give me a button that does this even when there&#x27;s no official incident reported. That means disabling all access tokens, resetting the password, halting any scheduled jobs, and revoking access for any connected OAuth services until I manually re-enable them.
评论 #34255901 未加载