
Security News
Packagist Urges Immediate Composer Update After GitHub Actions Token Leak
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.
@kydev/verification-code
Advanced tools
// 获取验证码信息 - 接口返回.
result: {
bg: "https://cdn-public.knowyourself.cc/2022/03/01/621d9167a9ee4.png",
dg: "https://cdn-public.knowyourself.cc/2022/03/01/621d9167d977b.png",
id: "628dbab0a3d4a",
y: 396,
}
// 提交验证码信息.
// 参数.
params: {
x: "",
y: "",
id: "" 验证码id
}
// 返回结果.
result: {
code: "" // 继续进行下一步的校验.
}
import verificationCode from "@kydev/verification-code"
// el根节点
const verification = new verificationCode(el, {
getUrl: "", // 获取验证码信息 接口URL.
postUrl: "", // 提交验证码信息 接口URL.
api: axios // 接口请求方式.
})
//verification_code 验证成功返回的code 如果为空则校验失败
console.log(verification.verification_code)
FAQs
The npm package @kydev/verification-code receives a total of 68 weekly downloads. As such, @kydev/verification-code popularity was classified as not popular.
We found that @kydev/verification-code demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.