□ A01 Broken Access Control — auth checked before data access
□ A02 Cryptographic Failures — no plaintext passwords/secrets
□ A03 Injection — parameterized queries everywhere
□ A04 Insecure Design — threat model considered
□ A05 Security Misconfiguration— no debug mode in prod, no default creds
□ A06 Vulnerable Components — no known-vulnerable dependencies
□ A07 Auth/Session Failures — session invalidated on logout
□ A08 Software/Data Integrity — dependencies verified, no eval()
□ A09 Security Logging — auth failures logged, no PII in logs
□ A10 SSRF — no unvalidated URL fetching
Security Anti-Patterns
Injection (A03)
typescript
BAD: db.query(`SELECT * FROM users WHERE id = ${req.params.id}`)
BAD: db.query("SELECT * FROM users WHERE id = " + id)
GOOD: db.query('SELECT * FROM users WHERE id = $1', [id])
Broken Auth (A07)
typescript
BAD: if (req.headers['x-admin'] === 'true') { grantAdmin(); }
BAD: const user = { ...req.body, isAdmin: false }; // mass assignment — override possibleGOOD: const user = { username: req.body.username, email: req.body.email }; // explicit allowlist
Hardcoded Secrets (A02)
typescript
BAD: constJWT_SECRET = 'mysecretkey123';
GOOD: constJWT_SECRET = process.env.JWT_SECRET;
if (!JWT_SECRET) thrownewError('JWT_SECRET not set');
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/udaysharmadev/gravitas-security/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@udaysharmadev/gravitas-security@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: >
Run aipm add @udaysharmadev/gravitas-security@1.0.0 in a project that has AIPM initialized.
Supported tools
@udaysharmadev/gravitas-security@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.