SkillAgentSearch skills...

codeguard-0-mobile-apps

Mobile app security (iOS/Android): storage, transport, code integrity, biometrics, permissions

Install / Use

npx skills add cisco-ai-defense/skill-scanner

Installs into whichever agent you are using.

About this skill
📐

Cursor Rules

Cursor IDE rules (v2)

Quality Score

80/100

Category

Security

Supported Platforms

Cursor

Our assessment of codeguard-0-mobile-apps

codeguard-0-mobile-apps scores 80/100 on our quality scale, 1005th of 1,108 Security skills we index.

Its Cursor Rules is 4.8 KB long, well organised into 11 sections and no code examples: a solid amount of guidance for an agent.

With 2,549 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
13/20
Description
12/15
Adoption
14/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so codeguard-0-mobile-apps is actively maintained.
  • Our last check on 2026-11-08 found the source still online.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-10-01. Automated pattern scan on 2026-10-01. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

codeguard-0-mobile-apps compared with similar skills

All 4 of these similar skills score higher than codeguard-0-mobile-apps; compare them before choosing.

SkillScoreStarsUpdatedFormat
codeguard-0-mobile-apps (this skill)by cisco-ai-defense802.5k53d agoCursor Rules
taste-skillby Leonxlnx100116.8k8d agoCLAUDE.md
Claude-Code-Game-Studiosby Donchitos10039.7k7d agoCLAUDE.md
designby nextlevelbuilder100149.0k6d agoSKILL.md
ui-ux-pro-maxby nextlevelbuilder100149.0k6d agoSKILL.md

Frequently asked questions

How do I install codeguard-0-mobile-apps?
Run npx skills add cisco-ai-defense/skill-scanner. The install tabs above show the steps for each supported agent.
Which AI agents does codeguard-0-mobile-apps work with?
It is written for Cursor, as a Cursor Rules file. Other agents that read the same format can often use it too.
Is codeguard-0-mobile-apps safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is codeguard-0-mobile-apps still maintained?
The repository was last updated about 2 months ago, so codeguard-0-mobile-apps is actively maintained.

description: 'Mobile app security (iOS/Android): storage, transport, code integrity, biometrics, permissions' globs: /*.java,/.js,**/.jsx,/*.kt,/.kts,**/.m,/*.mjs,/.pl,**/.pm,/*.swift,/.wsdl,**/.xml,/*.xsd,/*.xslt version: 1.0.1

rule_id: codeguard-0-mobile-apps

Mobile Application Security Guidelines

Essential security practices for developing secure mobile applications across iOS and Android platforms.

Architecture and Design

Implement secure design principles from the start:

  • Follow least privilege and defense in depth principles
  • Use standard secure authentication protocols (OAuth2, JWT)
  • Perform all authentication and authorization checks server-side
  • Request only necessary permissions for app and backend services
  • Establish security controls for app updates, patches, and releases
  • Use only trusted and validated third-party libraries and components

Authentication and Authorization

Never trust the client for security decisions:

  • Perform authentication/authorization server-side only
  • Do not store user passwords on device; use revocable access tokens
  • Avoid hardcoding credentials in the mobile app
  • Encrypt credentials in transmission
  • Use platform-specific secure storage (iOS Keychain, Android Keystore)
  • Require password complexity and avoid short PINs (4 digits)
  • Implement session timeouts and remote logout functionality
  • Require re-authentication for sensitive operations
  • Use platform-supported biometric authentication with secure fallbacks

Data Storage and Privacy

Protect sensitive data at rest and in transit:

  • Encrypt sensitive data using platform APIs; avoid custom encryption
  • Leverage hardware-based security features (Secure Enclave, Strongbox)
  • Store private data on device's internal storage only
  • Minimize PII collection to necessity and implement automatic expiration
  • Avoid caching, logging, or background snapshots of sensitive data
  • Always use HTTPS for network communications

Network Communication

Assume all network communication is insecure:

  • Use HTTPS for all network communication
  • Do not override SSL certificate validation for self-signed certificates
  • Use strong, industry standard cipher suites with appropriate key lengths
  • Use certificates signed by trusted CA providers
  • Consider certificate pinning for additional security
  • Encrypt data even if sent over SSL
  • Avoid sending sensitive data via SMS

Code Quality and Integrity

Maintain application security throughout development:

  • Use static analysis tools to identify vulnerabilities
  • Make security a focal point during code reviews
  • Keep all libraries up to date to patch known vulnerabilities
  • Disable debugging in production builds
  • Include code to validate integrity of application code
  • Obfuscate the app binary
  • Implement runtime anti-tampering controls:
    • Check for debugging, hooking, or code injection
    • Detect emulator or rooted/jailbroken devices
    • Verify app signatures at runtime

Platform-Specific Security

Android Security

  • Use Android's ProGuard for code obfuscation
  • Avoid storing sensitive data in SharedPreferences
  • Disable backup mode to prevent sensitive data in backups
  • Use Android Keystore with hardware backing (TEE or StrongBox)
  • Implement Google's Play Integrity API for device and app integrity checks

iOS Security

  • Configure Shortcuts permissions to require device unlock for sensitive actions
  • Set Siri intent requiresUserAuthentication to true for sensitive functionality
  • Implement authentication checks on deep link endpoints
  • Use conditional logic to mask sensitive widget content on lock screen
  • Store sensitive data in iOS Keychain, not plist files
  • Use Secure Enclave for cryptographic key storage
  • Implement App Attest API for app integrity validation
  • Use DeviceCheck API for persistent device state tracking

Testing and Monitoring

Validate security controls through comprehensive testing:

  • Perform penetration testing including cryptographic vulnerability assessment
  • Leverage automated tests to ensure security features work as expected
  • Ensure security features do not harm usability
  • Use real-time monitoring to detect and respond to threats
  • Have a clear incident response plan in place
  • Plan for regular updates and implement forced update mechanisms when necessary

Input and Output Validation

Prevent injection and execution attacks:

  • Validate and sanitize all user input
  • Validate and sanitize output to prevent injection attacks
  • Mask sensitive information on UI fields to prevent shoulder surfing
  • Inform users about security-related activities (logins from new devices)

By following these practices derived from the OWASP Mobile Application Security framework, you can significantly improve the security posture of your mobile applications across both development and operational phases.

Related Skills

View on GitHub
GitHub Stars2.5k
CategorySecurity
Updated1mo ago
Forks322

Languages

Python

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium