Repository security
Code security
Review source-level findings in Go, JavaScript, and TypeScript, down to the rule, file, and revision.
Discuss your assessment- Source
- Repository · main
- Observation
- TLS verification disabled
- Location
- src/client.ts · line 18
- Decision
- Restore certificate validation
Review a change or a revision
Use the GitHub Action to review the additions in a pull request. For a wider assessment, select a repository and branch, tag, or commit. The repository run records the resolved revision so a reviewer can return to the same version.
Read the finding in context
Checks cover selected patterns in supported languages, including TLS configuration and flows within a file. Each result identifies the matched rule, its version, and the affected location. Skipped files, unsupported languages, and missing context appear in coverage.
Verify the change
Link the patch and run a later assessment that covers the affected file and rule. A reviewer can then use that result to verify the finding. A pull request diff alone gives only a partial view of the surrounding program.
Inspect example code findings
Secrets belong outside your code.
Highconfig/integrations.ts
export const integration = { token: "DEMO_NOT_A_REAL_SECRET",};
Rotate the exposed credential. Load its replacement from your secret manager, then check the repository history.
Keep the trust check switched on.
Mediumsrc/clients/payments.ts
const agent = new https.Agent({ rejectUnauthorized: false,});
Restore certificate verification. Configure a trusted CA when needed and test that invalid certificates are rejected.
Useful logs. Less sensitive data.
Lowsrc/middleware/request-log.ts
app.use((req, res, next) => { logger.debug(req.body); next();
Log an allowlist of safe fields. Redact tokens and personal data, then verify the output with a sample request.