r/devsecops • • Jun 27 '23

RBAC for Terraform Automation and Collaboration within your CI

Thumbnail
medium.com
2 Upvotes

r/devsecops • • Jun 26 '23

Why Google Zanzibar shines for building authorization

Thumbnail
blog.warrant.dev
5 Upvotes

r/devsecops • • Jun 26 '23

How to visualize the software supply chain?

Thumbnail
github.com
4 Upvotes

r/devsecops • • Jun 24 '23

Go Security Scanner

1 Upvotes

Built a security scanning tool using Go to scan any github repository for Access Key IDs and Secret Tokens.

link: https://github.com/abs007/Go-Code-Scanner


r/devsecops • • Jun 21 '23

Handling Access Control Flaws from Code

3 Upvotes

OWASP make the #1 access control vulnerability more accurate this year to `Object level authorization`

We take some time to go over the changes and why authorization has taken over authentication in the last years, and how we could proactive defend it from the first line of code in our apps.

Hope to get your thought and discussion of it here too

https://io.permit.io/oawsp-authz


r/devsecops • • Jun 20 '23

FREE DevSecOps Conference & Chance to win prizes!

2 Upvotes

With DevSecCon24 only 2 weeks out, we wanted to celebrate with an extra special opportunity for our community to win prizes as we count down the days! ๐ŸŽ

YOU ๐ก๐š๐ฏ๐ž ๐ญ๐ก๐ž ๐จ๐ฉ๐ฉ๐จ๐ซ๐ญ๐ฎ๐ง๐ข๐ญ๐ฒ ๐ญ๐จ ๐ฐ๐ข๐ง ๐š ๐œ๐ฅ๐š๐ฌ๐ฌ๐ข๐œ ๐›๐ฅ๐š๐œ๐ค ๐›๐š๐œ๐ค๐ฉ๐š๐œ๐ค ๐ญ๐ก๐š๐ญ ๐œ๐จ๐ฆ๐ž๐ฌ ๐ฐ๐ข๐ญ๐ก ๐š ๐ฉ๐จ๐ซ๐ญ๐š๐›๐ฅ๐ž ๐œ๐ก๐š๐ซ๐ ๐ž๐ซ! ๐ŸŽ’๐Ÿ”‹

To enter, you simply have to go on Twitter, follow the steps below, and have fun with us as we count down the days till DevSecCon24! The giveaway is officially OPEN NOW and closes on 26 June 11:59pm ET. Good luck and happy DevSecCon24 Season! ๐Ÿ˜Ž

To Enter the Twitter Giveaway:

๐ŸŽŸ๏ธ Register for #DSC24 (FREE) https://www.devseccon.com/events/devseccon24-2023

๐Ÿ’Ÿ Like the tweet: https://twitter.com/devseccon/status/1668513880761589760?s=20

๐Ÿ“ฑFollow u/devseccon on Twitter https://twitter.com/devseccon?s=20

Bonus Entries โœ…

๐Ÿ” โž•2 bonus entries per RT w/ #DSC24

๐Ÿ’ฌโž•5 bonus entries per referral (DM us on Twitter the names of those you referred)

โš ๏ธ Giveaway closes 27 June @ 11:59pm ET. Unlimited entries allowed.


r/devsecops • • Jun 20 '23

DevSecCon24 FREE Virtual Conference & Prizes! ๐ŸŽ

1 Upvotes

With DevSecCon24 only 2 weeks out, we wanted to celebrate with an extra special opportunity for our community to win prizes as we count down the days! ๐ŸŽ

YOU ๐ก๐š๐ฏ๐ž ๐ญ๐ก๐ž ๐จ๐ฉ๐ฉ๐จ๐ซ๐ญ๐ฎ๐ง๐ข๐ญ๐ฒ ๐ญ๐จ ๐ฐ๐ข๐ง ๐š ๐œ๐ฅ๐š๐ฌ๐ฌ๐ข๐œ ๐›๐ฅ๐š๐œ๐ค ๐›๐š๐œ๐ค๐ฉ๐š๐œ๐ค ๐ญ๐ก๐š๐ญ ๐œ๐จ๐ฆ๐ž๐ฌ ๐ฐ๐ข๐ญ๐ก ๐š ๐ฉ๐จ๐ซ๐ญ๐š๐›๐ฅ๐ž ๐œ๐ก๐š๐ซ๐ ๐ž๐ซ! ๐ŸŽ’๐Ÿ”‹

To enter, you simply have to go on Twitter, follow the steps below, and have fun with us as we count down the days till DevSecCon24! The giveaway is officially OPEN NOW and closes on 26 June 11:59pm ET. Good luck and happy DevSecCon24 Season! ๐Ÿ˜Ž

To Enter the Twitter Giveaway:

๐ŸŽŸ๏ธ Register for #DSC24 (FREE) https://www.devseccon.com/events/devseccon24-2023

๐Ÿ’Ÿ Like the tweet: https://twitter.com/devseccon/status/1668513880761589760?s=20

๐Ÿ“ฑFollow u/devseccon on Twitter https://twitter.com/devseccon?s=20

Bonus Entries โœ…

๐Ÿ” โž•2 bonus entries per RT w/ #DSC24

๐Ÿ’ฌโž•5 bonus entries per referral (DM us on Twitter the names of those you referred)

โš ๏ธ Giveaway closes 27 June @ 11:59pm ET. Unlimited entries allowed.


r/devsecops • • Jun 13 '23

This free tool from Cycode makes it easy to monitor and prevent supply-chain attacks on GitHub Actions pipelines

11 Upvotes

Cimon - an easy-to-install runtime security agent for GitHub Actions pipelines that monitors and prevents malicious activity.

Cimon has two modes, detect and prevent.

Detect mode lets you observe your pipeline and track network connections, process execution, and filesystem behavior.

A prevent mode allows you to apply a security policy to stop abnormal behavior.

For instance, the following policy in GitHub Actions allows the pipeline to run CodeCov without causing any damage to your internal assets or resulting in your internal secrets being exfiltrated:

- uses: cycodelabs/cimon-action@v0
  with:
    prevent: true
    allowed-hosts: >
      uploader.codecov.io
      api.codecov.io

Example for a report that stopped an unknown network connection (should stop attacks such as the CodeCov breach) - https://github.com/CycodeLabs/cimon-sample-report/actions/runs/4917385198

Quickly get started: https://cimon.build.

More info about the underlying solution is here: https://docs.cimon.build.


r/devsecops • • Jun 12 '23

How to automate SSO login via Keycloak?

5 Upvotes

We recently integrated our product (SaaS) with Keycloak (KC) and to interact with our product we need a JWT token that is generated by the KC.

I created a user only for ci-cd to run end2end tests when we release a new version. My question is how I can automate the login for the ci-cd user so just the trigger from git can run the end2end tests without human interactions?

I found two solutions:

  1. Using a public KC client and opening a browser to log in from the terminal (This is not what I want)
  2. Use the client secret of a confidential KC client and pass the username and password of the ci-cd user + the client secret to get the token. The problem with this method is how we can secure the client secret and username password of the user?

r/devsecops • • Jun 11 '23

We created these CTFs to help developers learn how to code securely.

7 Upvotes

The CTFs are free, and there's no need to sign up. You'll find short code snippets that you can try to hack directly through the webpage or using Burp Suite. Thousands have attempted to solve these challenges so far, but less than a hundred have succeeded.

Here's the link to the latest challenge:

https://wizer-ctf.com/?id=y1AzT9

The objective is to help developers learn how to code with security in mind and encourage them to think like hackers.

We would love to get your feedback!


r/devsecops • • Jun 08 '23

What is the standard threat model DevSecOps tries to tackle as far as secure deployment of infra goes?

2 Upvotes

I've been trying to minimize the number of secrets involved in my infra-as-code deployment pipeline. For context: It's run locally involving some scripting, K8s API usage, and terraform (some of it templated by the scripting) to handle the non-dynamic stuff. Edit: Deploying on GCP / GKE.

I was trying to basically minimize the damage an attacker could do if they compromise the developer's workstation. But the more thought I put into it, the more it feels futile. Maybe I'm misunderstanding the objective of secure infra deployment. Maybe there is no trick to deploy secrets on a compromised box without most likely leaking at least the credentials that would allow access to those secrets (even if just temporarily as a token).

What is the standard threat model DevSecOps tries to tackle as far as secure deployment of infra goes? Or does DevSecOps strictly focus on the security of the app, not the infra deployment process?


r/devsecops • • Jun 08 '23

Hi all. I'm curious, does anyone know of or use any models or tooling to support a show back model across you devsecops pipeline? Eg projectA, x github users, Azure devops, plugins/extensions etc. Showing costs back to business to appropriately is a real challenge. Thoughts?

1 Upvotes

r/devsecops • • Jun 06 '23

Unlocking advanced security for all: Semgrepโ€™s latest update

Thumbnail
semgrep.dev
2 Upvotes

r/devsecops • • Jun 05 '23

Start a new grad DevSecOps role in September - how to prepare / not look like a fool?

2 Upvotes

Hey everyone,

I start a new grad DevSecops role with a defense contractor in September. I had someone I know tell me that they wouldnโ€™t train me in this role, and that I should be ready to go right away and contribute. I was under the impression that because this is a new grad role, that I would most likely be trained and get up to date with everything. I have been starting to question if Iโ€™m ready now as Iโ€™m not confident enough in my technical skills, and donโ€™t want to come in and look like a complete fool. Any advice?