사람에게는
웹 대시보드
Needs attention
javascript.sequelize.security.audit.sequelize-injection-express.express-sequelize-injectionroutes/search.ts · L23Priority #8 of 83 in master · c9f9922Ranked by Runtime reproduced · Default conditions · Injection
AutoProof가 모든 SAST finding을 검증하고, 증거와 함께 판정합니다. 팀이 finding을 분류하는 데 쓰는 시간이 줄어듭니다.
대시보드를 열어보거나, 코딩 에이전트가 API로 AutoProof를 직접 쓰게 하세요. 시간이 오래 걸리는 분류는 저희가 맡겠습니다. 팀은 사람만 할 수 있는 일에 집중하실 수 있습니다.
웹 대시보드
Needs attention
javascript.sequelize.security.audit.sequelize-injection-express.express-sequelize-injectionroutes/search.ts · L23Priority #8 of 83 in master · c9f9922Ranked by Runtime reproduced · Default conditions · Injection
API
이 저장소를 AutoProof로 검사하고 공격 가능한 것을 보여줘
https://api.autoproof.io/v2X-API-Key: ak_...
POST/repositories
POST/repositories/{id}/scans
GET…/scans/{commit_sha}/events
GET/repositories/{id}/verifications?final_classification=
routes/search.ts
GET/verifications/{id}/poc.py
finding을 열기 전에 조사는 이미 끝나 있습니다.
1finding 열기
2증명 읽기
3고칠 방법 정하기
판정과 증거를 보고 정합니다.
발견스캐너가 찾은 finding의 규칙과 파일, 지목된 코드 줄에서 시작합니다.
routes/search.tsLine 23| Item | Details |
|---|---|
| File | routes/search.ts |
| SAST Flagged Line | Line 23 – 23 |
| Exploitability | Exploitable |
| Exploit evidence | Runtime reproduced |
| Confidence | High |
Rulejavascript.sequelize.security.audit.sequelize-injection-express.express-sequelize-injection
AutoProof · OWASP Juice Shop · routes/search.ts
| Item | Details |
|---|---|
| File | routes/search.ts |
| SAST Flagged Line | Line 23 – 23 |
| Exploitability | Exploitable |
| Exploit evidence | Runtime reproduced |
| Confidence | High |
javascript.sequelize.security.audit.sequelize-injection-express.express-sequelize-injectionThe search handler treats the caller-controlled q value as part of the SQL program: length truncation leaves SQL syntax intact, and direct interpolation lets SQLite parse a UNION that selects from Users. The handler then serializes the full result set into the HTTP response, with no binding or SQL-neutralizing validation between the request value and the raw query.
routes/search.ts:19-22A client controls q on GET /rest/products/search. The handler assigns req.query.q to criteria and only truncates it, and the API test's UNION input fits within that bound.
server.ts:641The normal Express configuration registers the public GET endpoint to searchProducts, and the service startup configures the app and binds its HTTP listener. The API test invokes the endpoint without an authorization header and expects a 200 response.
routes/search.ts:23The interpolated criteria reaches models.sequelize.query. The included API test specifies a successful UNION from Users, and the handler returns the query result as JSON.
routes/search.ts:21-23No SQL parameter binding, escaping, or character allowlist is applied to criteria before the sink; limiting its length to 200 characters does not prevent the tested SQL syntax. The route itself has no route-specific authorization middleware.
A single bounded request uses the repository API test's UNION payload against the supplied service URL.
GET /rest/products/search?q=')) union select id,'2','3',email,password,'6','7','8','9','10' from users--HTTP 200; Content-Type: application/json; charset=utf-8. Parsed JSON contained 81 data rows, including 24 rows matching the injected UNION markers with an email-like price field and non-empty password-hash field. Credential values were not emitted.
HTTP_STATUS=200
JSON_DATA_ROWS=81
SENSITIVE_VALUES_REDACTED=True
SECURITY_IMPACT_OBSERVED=True
IMPACT=Users-table email and stored password-hash fields were returned in JSON through UNION injectionThe SQL injection was reproduced against the current matched Juice Shop service: an unauthenticated search request returned Users-table email and stored password-hash fields in JSON, and the runtime recorded the User Credentials challenge as solved.
Bind the search pattern as a SQL parameter (for example, pass %${criteria}% as a bound value) instead of interpolating criteria into the query string; validate q as a string and keep the length cap only as a secondary resource control.
팀마다 스캐너와 AI 도구로 finding을 분류합니다. 그래도 결과를 하나씩 열어 확인하고 판단하는 일은 사람이 합니다.
2026년의 한 산업 연구에서 엔지니어들은 정적 분석 경고 하나를 검토하는 데 10–20분이 걸린다고 답했습니다.1
건수는 교육용 앱 OWASP Juice Shop에서 AutoProof를 한 번 실행한 결과입니다(finding 280건).
3분 · 소리 없음
AutoProof의 내장 스캔을 쓰거나, 이미 가진 finding을 가져오세요.
무료 Starter로 시작하세요. Pro는 1개월 동안 무료로 써볼 수 있고, 이후에는 월 $100입니다.