Skip to content

Add a security policy#1

Merged
dymoo merged 2 commits into
mainfrom
add-security-policy
Jul 22, 2026
Merged

Add a security policy#1
dymoo merged 2 commits into
mainfrom
add-security-policy

Conversation

@dymoo

@dymoo dymoo commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Documents the threat model: what reaches the model, why pull_request_target is safe with this action and the one thing that would break that, who can spend the key, and the absence of a bundled dist/.

Also serves as the first live run of the action on a real runner.

dymoo added 2 commits July 22, 2026 15:06
States the threat model explicitly: what reaches the model, why
pull_request_target is safe here and the one thing that would make it
unsafe, who can spend the key, and that there is no dist/ to audit.
A fork PR, or a clone without LLM_API_KEY, was failing the check rather
than skipping it. The secrets context is not available in a job-level
if:, so gate the step on an env expression instead.
@dymoo
dymoo merged commit e901e0a into main Jul 22, 2026
3 checks passed
@dymoo
dymoo deleted the add-security-policy branch July 22, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant