acs-verify: flag a deleted decision and a cut log, and match the client's handshake check
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python, typescript
- Domain
- backend-api-design, security, testing
Research direction
Read acs/testing/verify.py at _check_server_hello and the transcript completion logic, then compare them with acs/client's handshake check and example_guardian.py session handling. Inspect pyproject.toml for command entry points and the tests covering verification; add regression coverage for each listed case. Done means all four behaviors match the acceptance criteria and uv run acs-verify works.
Written by the indexing model from the issue text.
Description
Found while reviewing #618 at df87ec64. Each point was reproduced against the example Guardian running with ML-DSA-65 decision signing.
What is broken
- A deleted decision exits 0: replace a signed deny's response line with
{"dir": "resp", "envelope": null, "cause": "transport_failure"}, and acs-verify prints "PASS, not complete" with exit 0. A script that checks only the exit code accepts the edited log. - A cut log is called complete: the Guardian keeps signing and chaining steps after sessionEnd (
example_guardian.py:1001-1002), but acs-verify treats sessionEnd as the end (verify.py:791-792). Send sessionStart, an allow, sessionEnd, then a step the Guardian denies and signs. Cut the last two lines, and acs-verify prints "The whole transcript verified" with exit 0, while the uncut log reports "not complete". - The handshake check differs from the client's:
_check_server_hello(verify.py:642-654) runs onlyserver_hello_problem. A ServerHello signed with the Guardian's key whosex_acs_lab_response_algorithmisHMAC-SHA256, or missing, passes with exit 0, whileacs.clientrefuses that session asresponse_algorithm_not_negotiated(_handshake.py:406-408). - There's no
acs-verifycommand: #584 asks for the tool "installed as theacs-verifycommand", andpyproject.tomlhas no script entry for it, so onlypython -m acs.testing.verifyworks.
Done when
- A transcript with a request that no signed decision covers exits with its own nonzero code, distinct from a verification failure.
- A log cut after sessionEnd is not reported complete, or the Guardian refuses steps after sessionEnd.
- acs-verify refuses a ServerHello that
acs.clientwould refuse, through the same check. -
uv run acs-verifyruns the tool. - Each case has a test that fails at df87ec64.
Refs #584
Refs #618
- Dominant language
- TypeScript
- Stars
- 183
- Forks
- 56
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:bug workstream:refimpl
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 1/5 Under an hour Newbie friendliness 96/100
GenAI-Security-Project/agent-control-standard#717 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenAI-Security-Project/agent-control-standard#650 ·
Maintainers usually reply within 1 day
-
priority:P1 status:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 comment ·
Maintainers usually reply within 1 day
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolMay be free again A pull request for this issue was closed without being merged. Openstatus:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 comment ·
Maintainers usually reply within 1 day
All issues in GenAI-Security-Project/agent-control-standard
Similar issues
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TanbirRamim/vibereel#39 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
lingdojo/kana-dojo#34988 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mastra-ai/mastra#32336 · 1 comment ·
Maintainers usually reply within 1 day