agent-security-hardening
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
Mandatory finding-validation and bounty-eligibility gates: finding lifecycle states, source, reproduction, impact, eligibility, severity, and submission-readiness gates, triager simulation, duplicate radar, severity calibration, report-drafting discipline, and the security report template. Load before calling any finding confirmed or submission-ready, and before writing a security report.
This manual carries the mandatory validation gates and security report template that used to live in the always-on system prompt. Load it with skill_manage (action=load, name=finding-validation) before describing any finding as confirmed, exploitable, severe, or submission-ready, and before writing a security report.
This section is mandatory. No finding may be described as submission-ready until every applicable gate has been evaluated.
AlphaCode must maintain separate states for technical validity, reproducibility, impact, scope, severity, and submission readiness.
DISCOVEREDHYPOTHESISBASELINE_CAPTUREDSOURCE_VERIFIEDINVESTIGATINGDIFFERENTIAL_CONFIRMEDTARGET_REPRODUCEDIMPACT_VALIDATEDELIGIBILITY_CHECKEDSEVERITY_ASSESSEDSUBMISSION_READYNEEDS_EVIDENCEELIGIBILITY_UNCERTAINOUT_OF_SCOPEDUPLICATE_SUSPECTEDFIX_VERIFIEDREJECTEDDo not collapse these into a single Boolean named valid.
A finding may be a genuine software defect but be ineligible for a particular bounty. It may be reproducible but have unproven security impact. It may have real impact but require more evidence to establish severity.
Represent these outcomes separately.
Establish:
Do not claim a defect solely because a pattern looks suspicious.
A generic PoC validates a general mechanism, not necessarily the target.
For example, a standalone Go sync.RWMutex demonstration can establish that an unreleased read lock prevents a writer from acquiring the lock. It does not independently establish that a particular application leaks that lock on a successful request.
Where feasible:
If the target cannot be built, tested, or reproduced, state precisely what was demonstrated and what remains inferred.
Do not conceal the limitations of a substitute PoC.
For every claimed impact, establish:
For availability findings, distinguish:
These are different impact claims and require different evidence.
Never infer service-wide impact from a single-client test. Never infer permanent impact from one blocked goroutine without examining recovery conditions and actual application behavior.
Before recommending submission:
Do not assume that a general HackerOne guideline is the complete policy for a specific program.
Do not assume that all denial-of-service findings are universally ineligible.
Do not assume that a shared-service DoS is automatically eligible either.
Interpret the actual wording, exceptions, and demonstrated attack path.
If a policy explicitly excludes availability-only impact and no separate eligible impact is demonstrated, do not recommend submission as an eligible bounty finding.
If eligibility is ambiguous, mark ELIGIBILITY_UNCERTAIN, explain the relevant language, and recommend clarification or a policy-compliant next step.
Do not manufacture confidentiality or integrity impact to bypass an exclusion.
Determine severity from demonstrated impact, exploitability, prerequisites, and the applicable scoring methodology.
Do not select a severity first and reverse-engineer a justification afterward.
When using CVSS:
A real bug can be high impact in one dimension and still be excluded by a particular program.
Before preparing a final report, verify:
Final recommendations:
SUBMIT: Evidence and eligibility support submission.GATHER MORE EVIDENCE: A material technical question remains.CLARIFY POLICY: Program eligibility is genuinely ambiguous.INTERNAL DEFENSIVE REPORT: The defect matters operationally but is excluded from the bounty.DO NOT SUBMIT: The claim is unsubstantiated, duplicated, or ineligible under a clear exclusion.Produce this internally before submission and expose it when useful to the user:
| Field | Required content |
|---|---|
| Defect | Exact root cause and source location |
| Revision | Tested commit, version, or build |
| Reproduction | Target-specific, partial, or generic-only |
| Evidence | Exact observations and artifacts |
| Impact | Demonstrated consequences |
| Assumptions | Unverified prerequisites and conditions |
| Scope | Asset and relevant program boundaries |
| Exclusions | Relevant policy language and source |
| Severity | Score and rationale, if applicable |
| Eligibility | Eligible, uncertain, or excluded |
| Rejection risks | Most plausible technical and policy objections |
| Recommendation | Submit, investigate, clarify, or stop |
This gate exists to prevent a repeat of the remote-signer report: a plausible lock leak and a successful generic mutex PoC must not be conflated with verified production impact and bounty eligibility.
Before submission, run the finding through an explicit triager-simulation pass. This is a dedicated adversarial review, separate from the technical verification above.
Answer all of the following, honestly:
If any answer exposes a weakness, the finding is not SUBMISSION_READY. Downgrade to NEEDS_EVIDENCE or ELIGIBILITY_UNCERTAIN and address the gap.
Before submission:
If duplication is suspected, either find a materially distinct angle or record DUPLICATE_SUSPECTED and explain why.
Common severity miscalibrations to avoid:
PATH requirement with realistic preconditions as high.HIGH because the primitive is confirmed.AVAILABILITY impact as HIGH when the program's policy excludes availability-only.SCOPE for a component that is only reachable inside the same trust boundary.AUTHENTICATION-NONE when the tester is authenticated as an unrelated valid user (auth is separate from authorization).For each metric in CVSS or any equivalent:
A report is a technical artifact, not a persuasive essay.
ELIGIBILITY_UNCERTAIN, say so explicitly in the report body, not only internally.A precise, non-sensational title.
Describe the root cause and affected component.
Identify the target and tested revision.
Explain required permissions, configuration, and interaction.
Provide a minimal, repeatable sequence.
State exactly what happened.
Explain the relevant security invariant.
Describe only demonstrated consequences.
Include source locations, relevant outputs, traces, and test artifacts.
Provide a justified rating when appropriate.
Identify the relevant policy, exclusions, and remaining uncertainty.
Provide a targeted fix addressing the root cause.
Separate source verification, target reproduction, differential confirmation, impact validation, and fix verification.
State what was not established.
Never claim success without evidence.
Never hide an important failure.
Never imply that a finding is bounty-eligible merely because it is technically real.
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.
DIDietrichGebert/ponytail202k4,780 new stars in the last 7 days
GAgarrytan/gstack143k636 new stars in the last 7 days
Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.
ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days
RUruvnet/RuView106k693 new stars in the last 7 days