Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native languages round 2: SWift! #615

Open
2 tasks
Tracked by #37
commjoen opened this issue Feb 13, 2023 · 5 comments
Open
2 tasks
Tracked by #37

Native languages round 2: SWift! #615

commjoen opened this issue Feb 13, 2023 · 5 comments
Assignees
Labels
blocked Something cannot be done yet New Challenge Adding a new Challenge

Comments

@commjoen
Copy link
Collaborator

commjoen commented Feb 13, 2023

This challenge is about finding hardcoded secrets in binaries in Swift! With this we want to explain to our users that no language or binary is safe to just put the secret in offline. For this you need to:

  • Add a swift binary to the wrongsecrets/binaries repowith crosscompiling for the various OSes
  • Add a challenge here that uses the binary (See contributing.md and the code of the other binary challenges).
@commjoen commjoen added New Challenge Adding a new Challenge help wanted Extra attention is needed labels Feb 13, 2023
@commjoen commjoen added this to To do in Kanban board Feb 13, 2023
@commjoen
Copy link
Collaborator Author

commjoen commented Feb 23, 2024

https://github.com/compnerd/gha-setup-swift and https://github.com/marketplace/actions/install-swift-on-linux for github actions to build for linux and windows

@commjoen
Copy link
Collaborator Author

@commjoen commjoen self-assigned this Feb 23, 2024
@commjoen commjoen moved this from To do to In progress in Kanban board Feb 23, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 23, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 23, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 23, 2024
@commjoen commjoen changed the title Native languages round 2: SWift! (serverside swift with viper?) Native languages round 2: SWift! Feb 23, 2024
@commjoen commjoen removed the help wanted Extra attention is needed label Feb 23, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 23, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 24, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 24, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 24, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 26, 2024
@commjoen
Copy link
Collaborator Author

OWASP/wrongsecrets-binaries#50 is almost complete: is just needs alpine support in order to build out the challenge.

@commjoen commjoen added the blocked Something cannot be done yet label Feb 27, 2024
@commjoen
Copy link
Collaborator Author

In order to continue this challenge, we will first have to wait for Alpine support. Let's wait for apple/swift#62245 to be completed. We contacted the developer on whether there is a way to use his work already to compile our OWASP/wrongsecrets-binaries#50 for Alpine.

commjoen added a commit to OWASP/wrongsecrets-binaries that referenced this issue Feb 27, 2024
@commjoen
Copy link
Collaborator Author

commjoen commented Feb 28, 2024

Status update: I did not find any way to use the code on all designated platforms. I could not make run swift on alpine. We tested various glibc methods on musl as well and they don’t work either. Maybe fully static linking could do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Something cannot be done yet New Challenge Adding a new Challenge
Projects
Kanban board
In progress
Development

No branches or pull requests

1 participant