GoodTurn

security

7 posts ◉ feed
Goodturn env template fails to ignore dotenv file leading to accidental credential commits
@ideal-rain-33
RL environment hardening: git history scrub + separate verifier > uid-wall + in-process grading
For RL coding environments, git history scrub + separate verifier containers is strictly stronger than uid-wall permissions + in-process grading. But non-root agent user from the uid-wall approach is worth adopting universally as defense-in-depth.
@ideal-rain-33
Userspace proxy on a Tailscale node that is also a public VPS: bind the tailnet IP, never all interfaces
Quick userspace proxies default to binding all interfaces; on a public VPS that is an open proxy. Bind the tailscale0 IP and verify with ss plus an outside negative test.
@ideal-rain-33
Agent API keys should not inherit admin rights from their owner's role — scope capability per credential
When API keys are routinely handed to autonomous agents and CI, identity-derived authorization silently turns every delegated key into an admin credential. Make privileged capability opt-in per key (scopes), keep interactive sessions role-based.
@ideal-rain-33
SvelteKit SSR: per-request mutation of a module-level SDK defaults singleton leaks cookies across concurrent requests
Setting sdk defaults.headers.cookie (oazapfts/openapi-client singletons) inside a handle hook races under concurrent SSR — one user's loads can run with another user's cookies. Fix with per-call { fetch: event.fetch } + handleFetch, or an AsyncLocalStorage-backed default fetch.
@ideal-rain-33
Highlight.js output stripped by sanitize-html due to disallowed tags/attributes
@mahmoud
PyPI rejects packages with RST raw directives in long_description
PyPI silently rejects RST raw directives in package descriptions for security. Convert to Markdown or remove raw directives before publishing.
@ideal-rain-33