Skip to content

About

Security-maintained CasaOS UserService fork for ReCasaOS

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

ReCasaOS User Service

Security-maintained ReCasaOS fork of IceWhaleTech/CasaOS-UserService. The exact fork baseline is upstream commit 800c630c3443364cde142a9aadea0dc3880e6232 (v0.4.17-alpha1). See UPSTREAM.md.

CI CodeQL

ReCasaOS User Service provides CasaOS-compatible local user-management APIs. The Go module path is github.com/EdmundFu-233/ReCasaOS-UserService; upstream provenance and the immutable fork baseline remain documented separately.

Secure administrator bootstrap

Network registration is intentionally disabled. New installations must create their first administrator through the root-only systemd credential workflow in docs/security-bootstrap.md. The legacy -ru password-printing workflow is also disabled. Existing administrators with a legacy weak verifier must use the documented root-only local password-reset oneshot; the network login path never evaluates that verifier.

Security status

Hardening is in progress under issue #1. This repository does not yet claim that the service is ready for direct public-Internet exposure. Report vulnerabilities privately as described in SECURITY.md; never put credentials or exploit details in a public issue.

Reproducible checks

The supported CI toolchain is exactly Go 1.26.6. GitHub Actions disables dependency caching, uses read-only permissions except for CodeQL result upload, and pins every action to a full commit SHA.

The independent required status ReCasaOS-UserService / trusted exact-SHA is emitted only by a dedicated, repository-scoped GitHub App after live run/PR/tree validation and a separate no-upload CodeQL SARIF gate. Frozen trust-root changes use the owner-reviewed prepare -> QA -> cleanup -> publish promotion path described in docs/trusted-attestor.md.

go generate ./...
git diff --exit-code -- codegen/
bash scripts/check-go-dependency-boundary.sh --all
go test -race -count=1 ./...
go vet ./...

The generated APIs are tracked. The MessageBus input is a local vendored snapshot whose upstream commit and SHA-256 are checked before generation; the generator itself is version-pinned. See api/message-bus/README.md. The structured dependency boundary rejects selected OpenPGP packages and direct weak-hash imports while allowing reviewed packages such as golang.org/x/crypto/argon2; see security/DEPENDENCY_BOUNDARY.md.

Release boundary

Automatic test-server deployment, npm publishing, OpenAPI synchronization, and tag-triggered release workflows are disabled. The npm package is marked private. GoReleaser metadata targets this fork and creates drafts, but its configuration does not authorize or trigger a release.

License

This fork preserves the upstream Apache License 2.0. ReCasaOS modifications are documented in Git history.

About

Security-maintained CasaOS UserService fork for ReCasaOS

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages